project-navigation
Personal tools

Author Topic: Crash after save - 31291  (Read 3018 times)

Offline ligtvoet

  • Rookie
  • ***
  • Posts: 13
    • View Profile
Crash after save - 31291
« on: August 07, 2010, 11:45:25 pm »
So after upgrading to v31291, I tried to load the savegame. It immediately crashes...

Code: [Select]
Load 'slot0' 20 subsystems
...Running subsystem 'base'
...subsystem 'base' - loaded.
...Running subsystem 'research'
RS_GetTechByID: Could not find a technology with id "rs_fighter_AND_particle"
......your game doesn't know anything about tech 'rs_fighter_AND_particle'
RS_GetTechByID: Could not find a technology with id "rs_harvester_AND_particle"
......your game doesn't know anything about tech 'rs_harvester_AND_particle'
...subsystem 'research' - loaded.
...Running subsystem 'campaign'
R_LoadImageData: image '***r_radarTexture***' is already uploaded
R_LoadImageData: image '***r_xvitexture***' is already uploaded
R_LoadImageData: image '***r_dayandnighttexture***' is already uploaded
...subsystem 'campaign' - loaded.
...Running subsystem 'hospital'
...subsystem 'hospital' - loaded.
...Running subsystem 'market'
...subsystem 'market' - loaded.
...Running subsystem 'employee'
Com_GetTeamDefinitionByID: could not find team definition for '' in team definitions
Error loading character definition for employee
...subsystem 'employee' returned false - savegame could not be loaded
music change to karlmacklin_geoscape (from van_theme)
Shutdown gametype 'Campaign mode'
music change to van_theme (from karlmacklin_geoscape)
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem
added research subsystem
added campaign subsystem
added hospital subsystem
added market subsystem
added employee subsystem
added aliencont subsystem
added interest subsystem
added mission subsystem
added aircraft subsystem
added installation subsystem
added ufostores subsystem
added production subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added alien base subsystem
added xvirate subsystem
added messageoptions subsystem
Campaign data loaded - size 2456260 bytes
...techs: 200
...buildings: 19
...ranks: 16
...nations: 8
...cities: 457

Loading savegame xml (size 36786)
Loading savegame
...version: 4
...game version: 2.4-dev
...xml Size: 438629, compressed? y
Shutdown gametype 'Campaign mode'
Change gametype to 'Campaign mode'

--- save subsystem initialization --
added base subsystem
added research subsystem
added campaign subsystem
added hospital subsystem
added market subsystem
added employee subsystem
added aliencont subsystem
added interest subsystem
added mission subsystem
added aircraft subsystem
added installation subsystem
added ufostores subsystem
added production subsystem
added messagesystem subsystem
added stats subsystem
added nations subsystem
added transfer subsystem
added alien base subsystem
added xvirate subsystem
added messageoptions subsystem
Campaign data loaded - size 2456260 bytes
...techs: 200
...buildings: 19
...ranks: 16
...nations: 8
...cities: 457

Load 'slot4' 20 subsystems
...Running subsystem 'base'
...subsystem 'base' - loaded.
...Running subsystem 'research'
...subsystem 'research' - loaded.
...Running subsystem 'campaign'
R_LoadImageData: image '***r_radarTexture***' is already uploaded
R_LoadImageData: image '***r_xvitexture***' is already uploaded
R_LoadImageData: image '***r_dayandnighttexture***' is already uploaded
...subsystem 'campaign' - loaded.
...Running subsystem 'hospital'
...subsystem 'hospital' - loaded.
...Running subsystem 'market'
...subsystem 'market' - loaded.
...Running subsystem 'employee'
...subsystem 'employee' - loaded.
...Running subsystem 'aliencont'
...subsystem 'aliencont' - loaded.
...Running subsystem 'interest'
...subsystem 'interest' - loaded.
...Running subsystem 'mission'
...subsystem 'mission' - loaded.
...Running subsystem 'aircraft'
CP_GetMissionByID: Could not find mission cat2_interest32_0
...subsystem 'aircraft' - loaded.
...Running subsystem 'installation'
...subsystem 'installation' - loaded.
...Running subsystem 'ufostores'
...subsystem 'ufostores' - loaded.
...Running subsystem 'production'
...subsystem 'production' - loaded.
...Running subsystem 'messagesystem'
...subsystem 'messagesystem' - loaded.
...Running subsystem 'stats'
...subsystem 'stats' - loaded.
...Running subsystem 'nations'
...subsystem 'nations' - loaded.
...Running subsystem 'transfer'
...subsystem 'transfer' - loaded.
...Running subsystem 'alien base'
...subsystem 'alien base' - loaded.
...Running subsystem 'xvirate'
...subsystem 'xvirate' - loaded.
...Running subsystem 'messageoptions'
...subsystem 'messageoptions' - loaded.
File 'slot4' successfully loaded from compressed xml savegame.
music change to karlmacklin_geoscape (from van_theme)
music change to van_geoscape (from karlmacklin_geoscape)
ufo: src/client/campaign/cp_aircraft.c:1201: AIR_Move: Assertion `aircraft->mission' failed.
./ufo(Sys_Backtrace+0x1f)[0x81ab7e8]
./ufo[0x81ab853]
[0x1e7400]
/lib/tls/i686/cmov/libc.so.6(abort+0x182)[0x8a8a82]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8)[0x89e718]
./ufo[0x80a8f22]
./ufo(CL_CampaignRunAircraft+0xd2)[0x80a93bc]
./ufo[0x80cbd03]
./ufo(CL_CampaignRun+0x355)[0x80cc0a9]
./ufo(GAME_CP_Frame+0x15)[0x80702cc]
./ufo(GAME_Frame+0x26)[0x806f586]
./ufo(CL_Frame+0xba)[0x807caac]
./ufo[0x814dc00]
./ufo(Qcommon_Frame+0x7b)[0x814e064]
./ufo(main+0x5c)[0x81aa9ff]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x891bd6]
./ufo[0x806cf21]
./ufo(Sys_Backtrace+0x1f)[0x81ab7e8]
./ufo(Sys_Error+0x22)[0x81aadc9]
./ufo(Sys_InitSignals+0x0)[0x81ab866]
[0x1e7400]
/lib/tls/i686/cmov/libc.so.6(abort+0x182)[0x8a8a82]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8)[0x89e718]
./ufo[0x80a8f22]
./ufo(CL_CampaignRunAircraft+0xd2)[0x80a93bc]
./ufo[0x80cbd03]
./ufo(CL_CampaignRun+0x355)[0x80cc0a9]
./ufo(GAME_CP_Frame+0x15)[0x80702cc]
./ufo(GAME_Frame+0x26)[0x806f586]
./ufo(CL_Frame+0xba)[0x807caac]
./ufo[0x814dc00]
./ufo(Qcommon_Frame+0x7b)[0x814e064]
./ufo(main+0x5c)[0x81aa9ff]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x891bd6]
./ufo[0x806cf21]
Error: Received signal 6.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Crash after save - 31291
« Reply #1 on: August 08, 2010, 02:04:46 am »
So after upgrading to v31291, I tried to load the savegame. It immediately crashes...

Please try if you can reproduce it with the latest (r31293) revision. There were changes about that code.
Also upload your savegame. I can see other strange errors in it, like

Code: [Select]
Com_GetTeamDefinitionByID: could not find team definition for '' in team definitions

For your savegame's location check our FAQ.

-geever

Offline ligtvoet

  • Rookie
  • ***
  • Posts: 13
    • View Profile
NO destination city visible
« Reply #2 on: August 08, 2010, 10:33:32 am »
OK - I upgraded. I don' t think much has changed.

Slot0 doesn't load at all, it is just basically ignored. (probably because it is an earlier version save (2 months ago))

For the others I get a problem I had before: I save just before I reach a mission, but when I load again the mission location is not displayed. When I reach the location it barfs.

Code: [Select]
Load 'slot2' 20 subsystems
...Running subsystem 'base'
...subsystem 'base' - loaded.
...Running subsystem 'research'
...subsystem 'research' - loaded.
...Running subsystem 'campaign'
...subsystem 'campaign' - loaded.
...Running subsystem 'hospital'
...subsystem 'hospital' - loaded.
...Running subsystem 'market'
...subsystem 'market' - loaded.
...Running subsystem 'employee'
...subsystem 'employee' - loaded.
...Running subsystem 'aliencont'
...subsystem 'aliencont' - loaded.
...Running subsystem 'aircraft'
...subsystem 'aircraft' - loaded.
...Running subsystem 'interest'
...subsystem 'interest' - loaded.
...Running subsystem 'mission'
...subsystem 'mission' - loaded.
...Running subsystem 'installation'
...subsystem 'installation' - loaded.
...Running subsystem 'ufostores'
...subsystem 'ufostores' - loaded.
...Running subsystem 'production'
...subsystem 'production' - loaded.
...Running subsystem 'messagesystem'
...subsystem 'messagesystem' - loaded.
...Running subsystem 'stats'
...subsystem 'stats' - loaded.
...Running subsystem 'nations'
...subsystem 'nations' - loaded.
...Running subsystem 'transfer'
...subsystem 'transfer' - loaded.
...Running subsystem 'alien base'
...subsystem 'alien base' - loaded.
...Running subsystem 'xvirate'
...subsystem 'xvirate' - loaded.
...Running subsystem 'messageoptions'
...subsystem 'messageoptions' - loaded.
CP_GetMissionByID: Could not find mission cat2_interest30_0
CP_GetMissionByID: Could not find mission cat2_interest30_0
File 'slot2' successfully loaded from compressed xml savegame.
music change to karlmacklin_geoscape (from van_theme)
music change to karlmacklin_geoscape (from karlmacklin_geoscape)
ufo: src/client/campaign/cp_aircraft.c:1201: AIR_Move: Assertion `aircraft->mission' failed.
./ufo(Sys_Backtrace+0x1f)[0x81ab7d0]
./ufo[0x81ab83b]
[0xeec400]
/lib/tls/i686/cmov/libc.so.6(abort+0x182)[0xf6ca82]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8)[0xf62718]
./ufo[0x80a8f42]
./ufo(CL_CampaignRunAircraft+0xd2)[0x80a93dc]
./ufo[0x80cbce3]
./ufo(CL_CampaignRun+0x1ab)[0x80cbedf]
./ufo(GAME_CP_Frame+0x15)[0x80702ec]
./ufo(GAME_Frame+0x26)[0x806f5a6]
./ufo(CL_Frame+0xba)[0x807cacc]
./ufo[0x814dbe8]
./ufo(Qcommon_Frame+0x7b)[0x814e04c]
./ufo(main+0x5c)[0x81aa9e7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf55bd6]
./ufo[0x806cf41]
./ufo(Sys_Backtrace+0x1f)[0x81ab7d0]
./ufo(Sys_Error+0x22)[0x81aadb1]
./ufo(Sys_InitSignals+0x0)[0x81ab84e]
[0xeec400]
/lib/tls/i686/cmov/libc.so.6(abort+0x182)[0xf6ca82]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0xf8)[0xf62718]
./ufo[0x80a8f42]
./ufo(CL_CampaignRunAircraft+0xd2)[0x80a93dc]
./ufo[0x80cbce3]
./ufo(CL_CampaignRun+0x1ab)[0x80cbedf]
./ufo(GAME_CP_Frame+0x15)[0x80702ec]
./ufo(GAME_Frame+0x26)[0x806f5a6]
./ufo(CL_Frame+0xba)[0x807cacc]
./ufo[0x814dbe8]
./ufo(Qcommon_Frame+0x7b)[0x814e04c]
./ufo(main+0x5c)[0x81aa9e7]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xf55bd6]
./ufo[0x806cf41]
Error: Received signal 6.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: NO destination city visible
« Reply #3 on: August 08, 2010, 11:45:56 am »
OK - I upgraded. I don' t think much has changed.

Slot0 doesn't load at all, it is just basically ignored. (probably because it is an earlier version save (2 months ago))

For the others I get a problem I had before: I save just before I reach a mission, but when I load again the mission location is not displayed. When I reach the location it barfs.

slot0 is an old one, contain teamDefIDX-es which were changed to string IDs (see the compatibility thread). Once I finish the savegame patcher there will be a module for that one.

Checked slot2, well, you're bit unlucky. r31219 broke the savegames and r31291 fixed it. So the code is good now and was not when you saved. It was only a 4 days period... Sorry

-geever