project-navigation
Personal tools

Author Topic: crash on mission completion  (Read 4913 times)

2-bit Joe

  • Guest
crash on mission completion
« 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

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
crash on mission completion
« Reply #1 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."

HariSeldon

  • Guest
crash on mission completion
« Reply #2 on: August 27, 2006, 09:05:39 pm »
i have the same error, but under windows xp.

ubequitz

  • Guest
crash on mission completion
« Reply #3 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).

2-bit Joe

  • Guest
Victory screen
« Reply #4 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.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
Re: Victory screen
« Reply #5 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...

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
crash on mission completion
« Reply #6 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! :)

ubequitz

  • Guest
crash on mission completion
« Reply #7 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.

Offline Bandobras

  • Captain
  • *****
  • Posts: 586
    • View Profile
crash on mission completion
« Reply #8 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