UFO:Alien Invasion

Technical support => Feature Requests => Topic started by: 2-bit Joe on August 27, 2006, 03:06:06 pm

Title: crash on mission completion
Post by: 2-bit Joe on August 27, 2006, 03:06:06 pm
version 3015

ufo: client/cl_campaign.c:433: CL_CampaignActivateStageSets: Assertion `set->def' failed.
Received signal 6, exiting...
X Error of failed request: BadValue (integer parameter out of range for operation)
  Major opcode of failed request: 134
  Minor opcode of failed request: 10
  Serial number of failed request: 112157
Title: crash on mission completion
Post by: Mattn on August 27, 2006, 08:57:06 pm
Quote
<ubequitz> just did a nasty campaign, got 3 wellington mine missions in a row, the last one simultaneous with a Berlin, and my ship never refuelled enough to make both
<ubequitz> lol
<ubequitz> then restoring my last saved game crashed badly
<ubequitz> On the completion of the 5th mission in a campaign I'm consistently getting: "ufo: client/cl_campaign.c:433: CL_CampaignActivateStageSets: Assertion `set->def' failed."
Title: crash on mission completion
Post by: HariSeldon on August 27, 2006, 09:05:39 pm
i have the same error, but under windows xp.
Title: crash on mission completion
Post by: ubequitz on August 27, 2006, 09:36:39 pm
Thought I'd sign up at these forums.

I've run into this one about 4 times. It seems to happen at the end of the 5th mission: i.e. the end of "terror_only" section of the intro "stage" (referenced in base/ufos/campaign.ufo).
Title: Victory screen
Post by: 2-bit Joe on August 27, 2006, 09:43:21 pm
I've noticed just before the crash, on the victory screen, the tally of aliens killed and alien survivors is both zero.

Maybe this will help.
Title: Re: Victory screen
Post by: Bandobras on August 28, 2006, 01:58:56 am
Quote from: "2-bit  Joe"
I've noticed just before the crash, on the victory screen, the tally of aliens killed and alien survivors is both zero.


I've just corrected it. Thanks!

Quote
Maybe this will help.


Unfortunately, not. :) The crash seems to be something serious...
Title: crash on mission completion
Post by: Bandobras on August 28, 2006, 03:08:42 am
OK. I think I might have fixed that. Please test --- I've added debug prints and I'd be very interested to see what CL_CampaignActivateStageSets prints when you finish the 5th mission (no need to run with +set developer 1).

Cheers! :)
Title: crash on mission completion
Post by: ubequitz on August 28, 2006, 11:28:20 am
I have been unable to repeat the bug with the latest update.

At the end of the 5th mission I get:
==== ShutdownGame ====
CL_CampaignActivateStageSets: i = 2, stage->first = 0, stage->num = 4, stage->name = intro
Activated: set->def->name = ultimate_terror.
CL_CampaignActivateStageSets: i = 3, stage->first = 0, stage->num = 4, stage->name = intro
Activated: set->def->name = stop.
Campaign 'slot3' saved.

and then I can continue the campaign and actually play some more maps (my 6th mission which completed fine was the bunker).

PS: has anyone ever played the "oritental" map in the intro stage? I've played all the others but the oriental one has never come up for me.
Title: crash on mission completion
Post by: Bandobras on August 28, 2006, 12:24:09 pm
Thank you for the testing. Mattn fixed the bug some more, so now you have to start "./ufo +set developer 1" to see the debug info, despite what I said above. Go give'em hell! :D