Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Anubis-class Cruiser (12/20/24)

Author Topic: Game hangs when leaving colony  (Read 740 times)

varl

  • Ensign
  • *
  • Posts: 4
    • View Profile
Game hangs when leaving colony
« on: December 28, 2021, 03:13:59 AM »

I'm 20ish hours in and have started experiencing a hang when I leave a station/colony. I will end up stuck on the station menu and have to kill the jvm via windows task manager. I didn't see any errors in the starsector.log and nothing interesting in windows event viewer beyond me manually killing the java process. I'm not sure where else to look. nothing on my system has changed since I initially installed the game a few days back. it ran flawlessly for the first couple days, but now I run into the hang leaving stations pretty consistently. it seems to be specific to colonies somehow; I was able to spend several hours exploring different star systems without any issues. not sure where else I should be looking for diagnostic info.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4913
    • View Profile
    • GitHub profile
Re: Game hangs when leaving colony
« Reply #1 on: December 28, 2021, 04:09:20 AM »

Are Starsector (latest version 0.95.1a-RC6) and all your mods (if any) up to date?

If you're willing to do some technical stuff: when the game hangs you can do a thread dump with VisualVM. This generates a bunch of text, which someone can look at to see where the hang is coming from.
Or if you have a save that quickly reproduces the error, upload it and someone else can load the save, get the hang, and do that thing.
Logged

varl

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Game hangs when leaving colony
« Reply #2 on: December 29, 2021, 02:57:11 AM »

thanks for the info! everything should be up to date, as I just installed the game for the first time a few days ago (no mods). oddly enough, after installing visualvm and leaving that running, the game has been running fine all day long.
Logged

AdmiralRem

  • Commander
  • ***
  • Posts: 149
    • View Profile
Re: Game hangs when leaving colony
« Reply #3 on: December 29, 2021, 05:00:28 AM »

I’ve noticed if I play too long or make too many saves (yes I’m a save scummer) the save and load times get REALLY long and other stuff seems to bust slow down. But if I quit and re-load, no problems. I think it’s Alex’s way of letting us know it’s time for a break haha.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24948
    • View Profile
Re: Game hangs when leaving colony
« Reply #4 on: December 29, 2021, 08:27:32 AM »

I’ve noticed if I play too long or make too many saves (yes I’m a save scummer) the save and load times get REALLY long and other stuff seems to bust slow down. But if I quit and re-load, no problems. I think it’s Alex’s way of letting us know it’s time for a break haha.

Hmm - is this vanilla or with mods? It kind of sounds like a likely modded issue, so wanted to make sure. It might also help to know how long is "too long" :)
Logged

AdmiralRem

  • Commander
  • ***
  • Posts: 149
    • View Profile
Re: Game hangs when leaving colony
« Reply #5 on: December 29, 2021, 12:27:22 PM »

I’ve noticed if I play too long or make too many saves (yes I’m a save scummer) the save and load times get REALLY long and other stuff seems to bust slow down. But if I quit and re-load, no problems. I think it’s Alex’s way of letting us know it’s time for a break haha.

Hmm - is this vanilla or with mods? It kind of sounds like a likely modded issue, so wanted to make sure. It might also help to know how long is "too long" :)

Ya I’ve been playing with mods for quite a while now. That being said not many. Nexerelin a few faction mods. 3 at a time at most, sometimes only one. Most of the others are mostly QOL that I can think of. And I would say maybe after…. 3-4 hours? If it happens is there a way to capture the issue or are you confident it’s a mod issue?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24948
    • View Profile
Re: Game hangs when leaving colony
« Reply #6 on: December 29, 2021, 12:51:55 PM »

Hmm - it's at least a separate issue from this thread, so it probably doesn't make sense to continue the discussion of it here. (Does the game warn you of a memory leak? Did you allocate more memory to it by editing vmparams? But, again, this should go in a different thread.)
Logged

varl

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Game hangs when leaving colony
« Reply #7 on: December 30, 2021, 07:08:52 PM »

ok, was able to trigger the hang again with visualvm running. I had to kill the starsector process via task manager. thread dump attached. what other info from visualvm might be helpful here?

[attachment deleted by admin]
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4913
    • View Profile
    • GitHub profile
Re: Game hangs when leaving colony
« Reply #8 on: December 30, 2021, 07:34:59 PM »

That's the hang from the blueprint mission failing to find any blueprints to use. Update to Starsector 0.95.1a-RC6 (found in the same place as the previous download) to fix.
Logged

varl

  • Ensign
  • *
  • Posts: 4
    • View Profile
Re: Game hangs when leaving colony
« Reply #9 on: December 30, 2021, 07:39:06 PM »

help a n00b out, where would I download that from? the only place I've found to download anything was via the original link provided in my purchase receipt email (https://download.bmtmicro.com/xxx/yyy, which doesn't specify what version of the game I'm downloading)
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24948
    • View Profile
Re: Game hangs when leaving colony
« Reply #10 on: December 30, 2021, 07:55:38 PM »

You can grab the latest here.
Logged