crash with planet textures

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
ArkanoiD
---- E L I T E ----
---- E L I T E ----
Posts: 452
Joined: Mon Mar 13, 2006 5:46 pm
Location: St Petersburg, Russia
Contact:

crash with planet textures

Post by ArkanoiD »

2006-08-10 21:42:32.186 oolite[5045] OPENGL_DEBUG GL_ERROR (1280) 'invalid enumerant' in: Universe before doing anything
2006-08-10 21:42:46.982 oolite[5045] genning texture for land_fraction 0.43000
Fatal signal: Segmentation Fault (SDL Parachute Deployed)

1.65-703
Linux x86 (rhel4), radeon 9000, proprietary driver

happens on Maises in Gal1, other planets ok. and savegame only - when i jumped into the system no crash occured.
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Very odd. Could you send me the save-file please?
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
ArkanoiD
---- E L I T E ----
---- E L I T E ----
Posts: 452
Joined: Mon Mar 13, 2006 5:46 pm
Location: St Petersburg, Russia
Contact:

Post by ArkanoiD »

aegidian wrote:
Very odd. Could you send me the save-file please?
Sent.
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Mmm. It's not crashing here, so I guess it might be an SDL problem or a divide-by-zero problem. Until we can get more data on the crash I won't know.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
ArkanoiD
---- E L I T E ----
---- E L I T E ----
Posts: 452
Joined: Mon Mar 13, 2006 5:46 pm
Location: St Petersburg, Russia
Contact:

Post by ArkanoiD »

aegidian wrote:
Mmm. It's not crashing here, so I guess it might be an SDL problem or a divide-by-zero problem. Until we can get more data on the crash I won't know.
How can i get more data?

Another problem whith that version: no "yellow" text messages (about bounty, cargo scooped, whitchjumps etc etc, at the bottom) are shown. "blue" ones (at the top, communication log) are ok.
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

ArkanoiD wrote:
Another problem whith that version: no "yellow" text messages (about bounty, cargo scooped, whitchjumps etc etc, at the bottom) are shown. "blue" ones (at the top, communication log) are ok.
Known and fixed.

As to more data I'm not sure how crash reports are handled with Linux/SDL.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
winston
Pirate
Pirate
Posts: 731
Joined: Mon Sep 27, 2004 10:21 pm
Location: Port St. Mary, Isle of Man
Contact:

Post by winston »

Generally, you need a core dump (you need to turn core dumps on, and I think there was some SDL configuration also - I don't remember what, but it's been discussed in the past). If I find a reproducible crash I just usually run in the debugger!
ArkanoiD
---- E L I T E ----
---- E L I T E ----
Posts: 452
Joined: Mon Mar 13, 2006 5:46 pm
Location: St Petersburg, Russia
Contact:

Post by ArkanoiD »

winston wrote:
Generally, you need a core dump (you need to turn core dumps on, and I think there was some SDL configuration also - I don't remember what, but it's been discussed in the past). If I find a reproducible crash I just usually run in the debugger!
Will SDL crash produce coredump if i just ulimit -c some size?
magamo
Competent
Competent
Posts: 45
Joined: Sat Feb 25, 2006 7:07 pm

Post by magamo »

Another way of getting some (limited) information from a Segfault crash is to run 'strace' on the application when you start up (man strace will give some options)

'strace oolite' should get it going. It will make your console log go nuts compared to normal. ;) look at the last several lines before strace tells you 'caught signal: SEGSEV' something similar.
Post Reply