Crash on exit [Mac OS X]
Posted: Thu Oct 20, 2011 8:21 pm
Hi everybody
I think it's an already well known bug, but I just wanted to ask, whether my workaround I found for this is legal or not.
So, the problem is, that Orxonox crashes on Mac OS X every time you want to end it the normal way (via menu) and not with Command-Q.
As I run through this with the debugger I found out, that it somehow hangs up, while performing the alutExit() command.
So I asked my friend google what the problem could be and I found out that alutInit and alutExit aren't really necessary, if you handle the initialization yourself (what's being done in Orxonox).
After removing alutInitWithoutContext(NULL, NULL) and alutExit() in the SoundManager.cc file, it didn't crash anymore and I could exit the game with the menu.
So, is it legal to remove these functions or is there anything else that could make alutExit crash?
Thx for your reply
Teddy
I think it's an already well known bug, but I just wanted to ask, whether my workaround I found for this is legal or not.
So, the problem is, that Orxonox crashes on Mac OS X every time you want to end it the normal way (via menu) and not with Command-Q.
As I run through this with the debugger I found out, that it somehow hangs up, while performing the alutExit() command.
So I asked my friend google what the problem could be and I found out that alutInit and alutExit aren't really necessary, if you handle the initialization yourself (what's being done in Orxonox).
After removing alutInitWithoutContext(NULL, NULL) and alutExit() in the SoundManager.cc file, it didn't crash anymore and I could exit the game with the menu.
So, is it legal to remove these functions or is there anything else that could make alutExit crash?
Thx for your reply
Teddy