UFO:Alien Invasion

Technical support => Feature Requests => Topic started by: Board Certified UFOlogist on July 16, 2008, 03:13:52 am

Title: Two recurrent crashes, probably unrelated.
Post by: Board Certified UFOlogist on July 16, 2008, 03:13:52 am
Hello everyone. I've tried searching for both of these crashes and haven't found anything so here goes. The first one is a simple failure to launch. I click on the icon and the screen blinks but returns to the desktop. The game does not appear in the running process list. After restarting the computer the game launches fine. I can't seem to link this to any other running processes, etc.

The second crash I'm getting seems unrelated to the first. I've played the game for several hours and have been given the mission "Somewhere in Antarctica". I launch my dropship (from either of my two bases) and it flies to the scene successfully. I'm given the "Cancel/Enter" dialog and when I click "Enter" the game crashes to the desktop every single time. I've even been given other missions in the meantime that I can successfully enter and complete. By now I suspect everyone in Antarctica is dead.  :P

Any ideas?

My rig:
P4 2.4 GHz Northwood
1 Gig PC3200
ATI Radeon 1600
ASUS P4P800SE board
SimplyMEPIS
game installed via the deb package.

Thank you.
Title: Re: Two recurrent crashes, probably unrelated.
Post by: geever on July 16, 2008, 08:09:24 pm
hello.
Run the game from terminal/console. You can get informations about crash there.

-geever
Title: Re: Two recurrent crashes, probably unrelated.
Post by: Board Certified UFOlogist on July 23, 2008, 02:15:33 am
Ok. Running from console, here's the crash info I get from the "Somewhere in Antarctica" mission:

Code: [Select]
====== UFO Initialized ======

Switch grab input off
Loading savegame
...version: 2
...game version: 2.2.1
Changing to Singleplayer
Global data loaded - size 5204572 bytes
...techs: 166
...buildings: 21
...ranks: 16
...nations: 8

Load 'slotquick'
...subsystem 'size' - loaded 101 bytes
...subsystem 'base' - loaded 26796 bytes
Activate stage intro
......warning: Set with no missions (stop)
...subsystem 'campaign' - loaded 415 bytes
...subsystem 'hospital' - loaded 0 bytes
...subsystem 'market' - loaded 2899 bytes
...subsystem 'research' - loaded 7929 bytes
...subsystem 'employee' - loaded 15784 bytes
...subsystem 'aliencont' - loaded 0 bytes
...subsystem 'production' - loaded 241 bytes
...subsystem 'aircraft' - loaded 353 bytes
...subsystem 'messagesystem' - loaded 31178 bytes
...subsystem 'stats' - loaded 28 bytes
...subsystem 'nations' - loaded 1248 bytes
...subsystem 'transfer' - loaded 86400 bytes
File 'slotquick' loaded.
Could not load 'van_geoscape' background track
Save 'slotquick'
...subsystem 'size' - saved 101 bytes
...subsystem 'base' - saved 26468 bytes
...subsystem 'campaign' - saved 415 bytes
...subsystem 'hospital' - saved 0 bytes
...subsystem 'market' - saved 2899 bytes
...subsystem 'research' - saved 7929 bytes
...subsystem 'employee' - saved 15784 bytes
...subsystem 'aliencont' - saved 0 bytes
...subsystem 'production' - saved 241 bytes
...subsystem 'aircraft' - saved 353 bytes
...subsystem 'messagesystem' - saved 30962 bytes
...subsystem 'stats' - saved 28 bytes
...subsystem 'nations' - saved 1248 bytes
...subsystem 'transfer' - saved 86400 bytes
Campaign 'QuickSave' saved.
/usr/games/ufo: line 28:  4270 Segmentation fault      ${INSTDIR}/ufo "$@"
case@wintermute:~$ 
Title: Re: Two recurrent crashes, probably unrelated.
Post by: Delphis on July 23, 2008, 05:44:36 pm
As someone suggested (rightly) to me, make sure you install the ufoai-data-music package too. I also had an antarctica mission that caused a crash.
Title: Re: Two recurrent crashes, probably unrelated.
Post by: geever on July 23, 2008, 06:12:21 pm
@Delphis: installation of music package workarounds only the FPU (division by zero) bug (which is fixed in current trunk).

@Board Certified UFOlogist: It would be nice if you could run it from debugger (gdb) and send a backtrace log to SF bugtracker, see: http://ufoai.ninex.info/wiki/index.php/Debugging

BR
-geever
Title: Re: Two recurrent crashes, probably unrelated.
Post by: Board Certified UFOlogist on August 08, 2008, 02:32:54 am
Well I feel like a dolt. I was in fact missing two packages including the soundtrack  ::). Still haven't figured out the failure to launch bug but it's definately a MEPIS or XWindows problem. Thank you for all your help guys. Awesome game btw.