Crashes, but Silent Threat: Reborn-specific

Thought I'd post this here for starters, because I'm unsure if it's actually something in the ST:R files causing this. Only seems to happen when Shivans are getting shot at (the only observed event), and it essentially happens whenever the hell it wants. The crash has been observed while Basilisks, Seraphim and Nephilims are in field of play. There is no error message; just the generic Windows crash notification.

[EDIT] Crashed again, this time with no shooting happening, as bombers (probably Seraphim) arrived in the same mission, Field of Destruction. The crashes also occurred in the prior mission, but a restart let me finish with no issues.

[EDIT 2] Latest nightly debug just threw this up in Cloak and Dagger. Nothing in debug about non-ships with subsystems.

To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of ChiosI wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

Re: Crashes, but Silent Threat: Reborn-specific

This is giving me nightmare-ish memories of something I experienced in BtA. Dunno if it's related, but what was happening was that warheads were having their target object overwritten (find a new target) before the subsystem target data was flushed.. so suddenly it was targetting something like a Valkyrie with a turret12a. This was like four years ago and I forget what actually solved it. :/ I think I just prevented subsystem lock for those specific weapons or something. I dunno. I really do forget the whole story.

Re: Crashes, but Silent Threat: Reborn-specific

Hrm. I did a forum search for "subsystem" posted by "mjn.mixael" but didn't find any mention of the problem. But this reminded me of something AdmiralRalwood had dealt with more recently, so I searched on that and rediscovered this thread. It's not exactly the same because none of those missions use change-ship-class, but maybe the weapon subsystem reference is the proximate cause.

Cobra, would you be willing to run a debug session using Visual Studio Community Edition to get the actual stack trace?

Re: Crashes, but Silent Threat: Reborn-specific

Cobra, would you be willing to run a debug session using Visual Studio Community Edition to get the actual stack trace?

I have no idea what that is or how I would use it. And for the moment, I'm not getting random crashes with the current nightly, but when I get home from work later I'll replay the problem missions to see if they're still present.

To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of ChiosI wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

Re: Crashes, but Silent Threat: Reborn-specific

Visual Studio is what we use to build FSO. Community Edition is the free edition which anyone can download and install. Running FSO in debug mode, through Visual Studio, would allow one to pinpoint the sequence of events leading up to the crash.

Re: Crashes, but Silent Threat: Reborn-specific

Visual Studio is what we use to build FSO. Community Edition is the free edition which anyone can download and install. Running FSO in debug mode, through Visual Studio, would allow one to pinpoint the sequence of events leading up to the crash.

Well, I know what Visual Studio itself is. Tell me what I must do and it shall be done.

I replayed Field of Destruction using the September 8 nightly and it crashed in the exact same spot twice: two or three seconds after the first wing of Basilisks arrive. Even in debug, though, there was no error. Just a generic Windows crash report. I think it's limited to Ghosts and Field of Destruction because I haven't experienced crashes like these anywhere else.

To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of ChiosI wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

Re: Crashes, but Silent Threat: Reborn-specific

Okay, so three tries, three crashes in Return to Ross 128. Each subsequent crash came sooner than the first, with the third crash occurring about three seconds into the mission. Visual Studio is currently being installed.

[EDIT] I should note that my installations of FSPort, ST:R and FSPort MVPs are entirely from the installer, if that means anything.

To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of ChiosI wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

fs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0042ec64()Unknown[Frames below may be incorrect and/or missing, no symbols loaded for fs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe]fs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0042dabc()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0064047f()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!006359e1()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!00633a6b()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!00653a19()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!006130ab()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0059f73e()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!005a1ff5()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!005806cd()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0057f9d1()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0057f23c()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!00672097()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0057c19a()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!0057942c()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004186a5()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004187e7()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004e0e6e()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004e0d80()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004e0c2d()Unknownfs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004e0e78()Unknown[External Code]fs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004e0e70()Unknown>fs2_open_3_7_5_20160908_932c05c_SSE2-FASTDBG.exe!004e0e70()Unknown

I feel like this wasn't the right place to look, though.

And again, I should point out that in-mission, in the last three attempts, now crashes at roughly the same point: within 3-10 seconds of mission start, with the newest crash just prior to this edit happening at precisely 10 seconds.

To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of ChiosI wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of ChiosI wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta

Re: Crashes, but Silent Threat: Reborn-specific

I missed the fact that you had actually installed Visual Studio already. Yes, it's for the debug symbols. Additionally, if you compile your own debug build, Visual Studio can step through the code line by line from the spot that caused the error.

This will involve building FSO, of course. You'll need to install CMake and follow the procedure to create a Visual Studio solution. It's less out-of-the-box than it used to be.

Re: Crashes, but Silent Threat: Reborn-specific

I missed the fact that you had actually installed Visual Studio already. Yes, it's for the debug symbols. Additionally, if you compile your own debug build, Visual Studio can step through the code line by line from the spot that caused the error.

This will involve building FSO, of course. You'll need to install CMake and follow the procedure to create a Visual Studio solution. It's less out-of-the-box than it used to be.

Went through all that with The_E, m|m, DahBlount and chief1983. m|m reproduced the crash and it turns out it had something to do with AI code and asteroids. Should be fixed in the next nightly.

To consider the Earth as the only populated world in infinite space is as absurd as to assert that in an entire field of millet, only one grain will grow. - Metrodorus of ChiosI wept. Mysterious forces beyond my ken had reached into my beautiful mission and energized its pilots with inhuman bomb-firing abilities. I could only imagine the GTVA warriors giving a mighty KIAAIIIIIII shout as they worked their triggers, their biceps bulging with sinew after years of Ivan Drago-esque steroid therapy and weight training. - General Battuta