Closed robhshu closed 6 years ago
In the samples\01-physics
demo there is a similar error for the physics event type.
But this is a buffer overflow as the event type is 0x3F800000
which is a float value of 1.0f!
Cannot reproduce this. I tested with both VS2017 and MinGW in debug mode.
This only occurs with the "win32" platform. It does not occur on "x64".
Some locals:
size = 32 read = 16 (eh) = 0x0f24e510 {type=27 size=0 }
Note the size is 0, so the event is skipped
Thanks.
The physics event processing will also need this - see:
On 20 February 2018 at 23:57, Daniele Bartolini notifications@github.com wrote:
This should do it: b58824c https://github.com/dbartolini/crown/commit/b58824c3618654c999ef0952a98b81b96bb67ab6
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dbartolini/crown/issues/78#issuecomment-367163960, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkWyFsxLzdV5EwJ8WNxdCdXoD9Nlhuoks5tW1vbgaJpZM4SMn4t .
Right, thank you. :)
(This was the last hurdle to run on Windows!)
In
World::update_scene
when updating the animation events, and EventHeader with a type of27
appears.This is currently unhandled in the switch statement, and throws this fatal error (debug mode):
This can be ignored to continue running, perhaps downgrade this warning to a log?