complete system crash
Thu, 2008-12-25 19:02
hello
I compiled hedgewars 0.9.7 on a debian system.
cmake . and make and make install went perfectly well !
I can launch the game. Create my team, change options, etc...
Then, for example, I choose player vs player, choose team, and when I click to start the game, my system (xorg) crash, and I'm at the command line. Error is something like "x received signal 11 : aborting".
It seems that when I start an hedgewars game, it kills my x system.
Any ideas why ?
thanks for your help
Some X server problem... probably drivers
?
Every other games (opengl, 2d, whatever) are working perfectly... Even games emulated with wine and using 3D.
I have the proprietary nvidia driver installed and they are working fine.
Are there any way to have some verbose output or some log from hedgewars ?
Post the file debug0.txt located in directory .hedgewars in your home directory
Come to the dark side, we have cookies... - V
Hedgewars script for ubuntu is here...but maybe I have to update it first
That won't help, I guess. It's definately some problem in your OS configuration. Hedgewars doesn't use any special functions, only common ones, as it's multiplatform application.
0: Console write: Init SDL...
0: Console write: ok
0: Console write: Init SDL_ttf...
0: Console write: ok
0: ParseCommand "fullscr 1"
0: Prepare to change video parameters...
0: Freeing old primary surface...
It seems that the problem happen when the game try to change some video parameters.
unCORr: because it's multiplatform doesn't mean it won't crash under certains circonstances (??!!)....
Anyway, that game looks great
good work to all the dev... I hope I'll be able to play it some day...
Perhaps if there is a more verbose debug mode, I can try it to see what function is called before the crash ?
SDL_FreeSurface and SDL_SetVideoMode are called, if it helps
according to my log file posted before, does that mean the "change video parameters" is working but not the "freeing surface" thing ?
Don't know if it helps, but I just tried wormux and fullscreen or not, it's working... I think they use sdl too ? does that mean it's not my video drivers.... ?
They don't use OpenGL. Well... hedgewars seem to crash before setting opengl up... so it's SDL which crashes... and most probable reason is videodrivers
it's working !
I update the nvidia drivers. It seems that the gcc version used to compile hedgewars was "too new" than the one used to compile my kernel/nvidia driver.
I recompiled nvidia driver and now it's ok.
The only mystery remaining is : why does it crashed only with hedgwars :p anyway, it works.