Author Topic: Universal Truth (bp2-23.fs2) crash  (Read 2800 times)

0 Members and 1 Guest are viewing this topic.

Universal Truth (bp2-23.fs2) crash
Hi! I recently downloaded BP: Complete from Knossos, to play WiH once and for all (back in my day, only AoA was finished).
But I got errored out on the last mission, of all things D:

https://fsnebula.org/log/5c674c4ccb0d33509f7569c0

Thanks!
<Hades> YOU DO NOT UNDERSTAND
<Hades> And neither do I
------------------------------------------------------------
<pecenipicek> can you root my /?
<mura> HEY!
<mura> get a room
<mura> you perverts

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Universal Truth (bp2-23.fs2) crash
...huh. Did that SEXP get changed? Does it not work correctly on Mac?

Can you try with an older build?

 
Re: Universal Truth (bp2-23.fs2) crash
I don't know as I don't have a Mac. I switched to stable build 3.8.0-3 and it loaded the mission. However I lost my campaign process due to mismatch in player files format (nightlies switched to json)
<Hades> YOU DO NOT UNDERSTAND
<Hades> And neither do I
------------------------------------------------------------
<pecenipicek> can you root my /?
<mura> HEY!
<mura> get a room
<mura> you perverts

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Universal Truth (bp2-23.fs2) crash
Oh my bad. For some idiot reason I saw 'appdata' and assumed it was a Mac, even though it's clearly not.

Could we get a coder to take a look at this log?

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Universal Truth (bp2-23.fs2) crash
Also you can 'recover' your progress by just going to the techroom, selecting mission simulator, pressing ctrl-shift-S and playing from there.

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Universal Truth (bp2-23.fs2) crash
I've had enough of a look to confirm this occurs on the latest code (i.e. master) however I'm working on a different issue right now. Could we get this reported on github as an issue so it's not lost? Please include the link to the logfile, and a cmdline to reproduce:

i.e.
https://fsnebula.org/log/5c674c4ccb0d33509f7569c0
-mod blueplanetcomplete-1.0.1,MVPS-3.7.2 -start_mission bp2-23.fs2

thanks!
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: Universal Truth (bp2-23.fs2) crash
What about 3.7.2 stable?

 

Offline niffiwan

  • 211
  • Eluder Class
Re: Universal Truth (bp2-23.fs2) crash
IIRC Knossos requires 3.8.0 or newer to work correctly.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 
Re: Universal Truth (bp2-23.fs2) crash
What about 3.7.2 stable?

What about it? When I choose Stable release channel in Knossos it dowloads 3.8.0-3, not 3.7.2, so I guess it must've been updated
<Hades> YOU DO NOT UNDERSTAND
<Hades> And neither do I
------------------------------------------------------------
<pecenipicek> can you root my /?
<mura> HEY!
<mura> get a room
<mura> you perverts

 

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Universal Truth (bp2-23.fs2) crash
Thanks for opening a GitHub ticket.  This looks like it is related to the fireball.tbl changes I added recently.  Will take a look.

  

Offline Goober5000

  • HLP Loremaster
  • 214
    • Goober5000 Productions
Re: Universal Truth (bp2-23.fs2) crash
Copied from the ticket...

Quote
I tried several times to run Blue Planet Complete in a debug build (within the Visual Studio debugger) and kept getting Out Of Memory errors.

However, from a visual inspection of the log and the mod, this is almost certainly a mod bug that was uncovered by the stricter error checking in the new fireballs.tbl.  Note that there have only ever been six default fireballs in the table, numbered 0 through 5; an index of 6 is out of range.  Here are the definitions from 3.8.0...

Code: [Select]
#define FIREBALL_EXPLOSION_MEDIUM 0 // Used for the 4 little explosions before a ship explodes
#define FIREBALL_WARP 1 // Used for the warp in / warp out effect
#define FIREBALL_KNOSSOS 2 // Used for the KNOSSOS warp in / warp out effect
#define FIREBALL_ASTEROID 3
#define FIREBALL_EXPLOSION_LARGE1 4 // Used for the big explosion when a ship breaks into pieces
#define FIREBALL_EXPLOSION_LARGE2 5 // Used for the big explosion when a ship breaks into pieces

There are no fireballs.tbl or *-fbl.tbm tables in bpc-core.vp, and mv_effects-fbl.tbm just modifies the existing entries without adding any new ones.  Thus there could never have been a fireball with an index of 6, even in 3.8.0.

The only change in behavior here is that in the new code, this error is caught when the mission is parsed rather than silently failing at the time the sexp is triggered.