Walking along a wall on the platform with a border wall in the tutorial makes Blocks crash.
The output was:
"parse XML - complete
calculate vertices - complete
terminate called after throwing an instance of 'Iex::OverflowExc'
what(): GL matrix overflow"
Using GDB, I noticed that the variable 'm', in frame 6; and the variable 'lightProjection' in frame 7 are full of NaNs.
In frame 7, the variable 'frustum._right' and 'frustum._bottom' both equal "NaN".
The variables 'box.max.x' and 'box.max.z' both equal "inf".
Division by zero happens at line 199 since box.min.y equals 0.
To reproduce this:
1. Start Blocks
2. Start the tutorial
3. Go left at the first intersection
4. Go to the other side
5. Walk clockwise along the wall until you reach the first corner.
6. Move the view as much as possible.
Sometimes, it crashes during step 5.
The game doesn't crash if it says "Problem" only once.
It crashes if it says "Problem" either twice or three times.