complete system crash

9 replies [Last post]
cmoi
User offline. Last seen 15 years 16 weeks ago. Offline
Joined: 2008-12-25
Posts: 6

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 Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 1 year 3 weeks ago. Offline
Joined: 2006-11-27
Posts: 576

Some X server problem... probably drivers

cmoi
User offline. Last seen 15 years 16 weeks ago. Offline
Joined: 2008-12-25
Posts: 6

unC0Rr allegedly wrote:

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 ?

daimadoshi85
daimadoshi85's picture
User offline. Last seen 13 years 6 weeks ago. Offline
Joined: 2008-05-04
Posts: 372

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 Smile

unC0Rr
unC0Rr's picture
User offline. Last seen 1 year 3 weeks ago. Offline
Joined: 2006-11-27
Posts: 576

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.

cmoi
User offline. Last seen 15 years 16 weeks ago. Offline
Joined: 2008-12-25
Posts: 6

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 Smile 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 ?

unC0Rr
unC0Rr's picture
User offline. Last seen 1 year 3 weeks ago. Offline
Joined: 2006-11-27
Posts: 576

SDL_FreeSurface and SDL_SetVideoMode are called, if it helps

cmoi
User offline. Last seen 15 years 16 weeks ago. Offline
Joined: 2008-12-25
Posts: 6

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.... ?

unC0Rr
unC0Rr's picture
User offline. Last seen 1 year 3 weeks ago. Offline
Joined: 2006-11-27
Posts: 576

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

cmoi
User offline. Last seen 15 years 16 weeks ago. Offline
Joined: 2008-12-25
Posts: 6

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.

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]