z0w0 / helm

A functionally reactive game engine, with headgear to protect you from the headache of game development provided.
http://helm-engine.org/
MIT License
599 stars 69 forks source link

Investigate segfault when sending SIGINT to a running game #9

Closed z0w0 closed 11 years ago

z0w0 commented 11 years ago

Seems to segfault occasionally when I CTRL^C inside a terminal running a game using the engine. From a quick GDB session it seems to be a crash in Cairo's pixel management library, so it's probably something to do with the SDL surface being invalidated so the Cairo library panics (as it depends on the SDL surface's pixel data to render into). Also, there's no proper code to handle signals (cross-platform) in place anyway.

z0w0 commented 11 years ago

It's not happening anymore.