Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Author Topic: F5 / F9 crash  (Read 442 times)

FooF

  • Admiral
  • *****
  • Posts: 1662
    • View Profile
F5 / F9 crash
« on: February 15, 2024, 05:11:20 AM »

I use quick save/reload pretty liberally right before and after a battle. Back in RC6, after fighting a named independent fleet bounty, the game would crash to desktop after I wrapped up the post-battle options and hit F5. This happened to me 3 times (having to re-fight the bounty each time). After the 4th attempt, I decided to let a little in-game time pass and left the system before saving via the menu. That worked.

I thought it may be related to a crash fixed in RC8 about pirates but after fighting the battle station at Culann (thinking it might impact the CC for TT and finding it didn’t), I hit F9 to return to the save prior to the fight and the game crashed again. Fortunately, reloading was my intent so everything was fine.

The only mods I have are Console Commands. It seems to be related to saving/reloading immediately after a battle but it’s only happened twice so I can’t reproduce it. I can work around it if it happens again but this is the first time I’ve ever encountered it. I don’t have the save anymore since I’ve played since but I thought I’d report it anyway.
Logged

David

  • Global Moderator
  • Admiral
  • *****
  • Posts: 1155
    • View Profile
Re: F5 / F9 crash
« Reply #1 on: February 15, 2024, 05:32:41 AM »

(Oh no, you're going to make Alex paranoid.)

I can only join you in hoping that this is the pirate station king crash, but.

Well: thank you for the report nonetheless. If anyone has seen *anything* like a crash around save/load, please let us know - ideally with a save game or the game log! I've logged this, but I'm not sure we (read: Alex) can act without more information.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 26033
    • View Profile
Re: F5 / F9 crash
« Reply #2 on: February 15, 2024, 07:55:27 AM »

Thank you for the report! Is there a stack trace or an error message that goes along with the crash?

If not: are there an hs_err_pidXXXXX.log files (X's being a bunch of numbers) somewhere in your game folder, with timestamps corresponding to the times of the crashes? Seeing the contents of those would be helpful - though, again, these would only be generated if the crash did not create a normal stack trace/error message.
Logged

FooF

  • Admiral
  • *****
  • Posts: 1662
    • View Profile
Re: F5 / F9 crash
« Reply #3 on: February 15, 2024, 09:10:50 AM »

No prompts occurred on the crash but I do have an hs_err_pid11496 dated around the time of the second crash. Nothing concerning the first one that repeated itself multiple times, though. I emailed it to you.

(In all honesty, kudos to you because this is the first crash I've ever had and I've been playing for over 10 years. That's seriously impressive for in-dev software!)
« Last Edit: February 15, 2024, 09:13:00 AM by FooF »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 26033
    • View Profile
Re: F5 / F9 crash
« Reply #4 on: February 15, 2024, 10:56:23 AM »

Thank you! Hmm, looking at the log you've emailed, this is actually a crash in the JVM. I'm not sure what causes these sometimes - some kind of system issue/incompatibility is my guess. Switching to Java 8 might fix this (and, conversely, if this happens with Java 8, going back to 7 might resolve it - this isn't a problem unique to 7.)

But the other crashes not leaving a log like this means it could also be something else. If you remember when those were, roughly, you could check Windows Event Viewer for errors around that time. I could, for example, see this crash being caused by a graphics driver problem, or something similar.

(In all honesty, kudos to you because this is the first crash I've ever had and I've been playing for over 10 years. That's seriously impressive for in-dev software!)

(Hah, thank you! Mostly your luck if we're being honest - there's definitely been crash bugs over the years!)
Logged