[EU-279899] Crash when resuming the game


krop
  • Branch: Live Branch Version: Linux Fixed

Happens with EU-279899. The snapshot published a couple minutes before wasn't tested.
The game and save both load, the crash appears when resuming the game.

The last lines in Player.log when clicking the pause button:

Quote

 

[ INFO  ] Reporting error.

[ INFO  ] SimMessage: Assert failed
[ INFO  ] simlib/UpdateTemperature.cpp:162
[WARNING] GeneratedOre.CreateChunk tried to create a chunk with a temperature <= 0
[WARNING] GeneratedOre.CreateChunk tried to create a chunk with a temperature <= 0
Game.OnApplicationQuit()
Setting up 1 worker threads for Enlighten.
  Thread -> id: 7f7425776700 -> priority: 1

 

 

Backtrace?
 

Spoiler

(gdb) bt
#0  0x00007f75135efe0b in raise () at /lib64/libpthread.so.0
#1  0x00007f74fe8e82ea in AssertFunc(char const*, int, char const*) () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#2  0x00007f74fe8d1765 in UpdateTemperature(SimData&, SimEvents&, int, int) () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#3  0x00007f74fe8e29f6 in SimUpdateTemperatureTask::InternalDoTask() () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#4  0x00007f74fe8d6a6b in ParallelTaskQueue::WorkerFunc() () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#5  0x00007f7513110690 in  () at /usr/lib64/libstdc++.so.6
#6  0x00007f75135e5554 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f75127dcccf in clone () at /lib64/libc.so.6
(gdb) thread
[Current thread is 40 (Thread 0x7f749abbe700 (LWP 10114))]

 

Player.log


Steps to Reproduce
Try to load a save created before the last 2 snapshots


User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

The game also crashed on creating a new seed.

It hangs at the world generation when it reaches 51.8 percent (no idea whether this means anything), the Player.log message then becomes:

Quote

Seeds are [1795028512/1795028512/1795028512/1795028512]
Receiving unhandled NULL exception
#0  0x007fea28dc7680 in funlockfile

Trimmed backtrace:

Spoiler

(gdb) bt
#0  0x00007feaddc90a8c in  () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Mono/x86_64/libmono.so
#1  0x00007feaddc91124 in mono_jit_info_table_find () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Mono/x86_64/libmono.so
#2  0x00007feaddbcb260 in mono_pmip () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Mono/x86_64/libmono.so
#3  0x0000000000b45f4e in  ()
#4  0x0000000000b46057 in  ()
#5  0x00007feaddc6ff65 in  () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Mono/x86_64/libmono.so
#6  0x00007feaddbce1e0 in  () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Mono/x86_64/libmono.so
#7  0x00007feae7f7af70 in <signal handler called> () at /lib64/libpthread.so.0
#8  0x0000000000000000 in  ()
#9  0x00007fead325aabb in KCrashReporterReportMessage(char const*, int, char const*, ...) () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#10 0x00007fead32647c4 in UpdateTemperature(SimData&, SimEvents&, int, int) () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#11 0x00007fead32759f6 in SimUpdateTemperatureTask::InternalDoTask() () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#12 0x00007fead3269a6b in ParallelTaskQueue::WorkerFunc() () at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so

The distribution used is openSUSE Tumbleweed, and the game files check didn't find any issue.

Edited by krop

Share this comment


Link to comment
Share on other sites

Unfortunately we still haven't been able to reproduce this issue. We have some guesses as to what it might be though. Would it be possible for you to try generating a world/loading your save with both the "debug_build_0" and "debug_build_1" branches and letting me know if either of them work for you? Thanks for your help!

  • Thanks 1

Share this comment


Link to comment
Share on other sites

Same problem here. I'm willing to test with the debug build, but I doesn't see them in Steam game properties. Any advice how to "enabled" the debug build ?

Never mind, I need to restart Steam to get them.

Edited by ikus060

Share this comment


Link to comment
Share on other sites
3 hours ago, Cheerio said:

Unfortunately we still haven't been able to reproduce this issue. We have some guesses as to what it might be though. Would it be possible for you to try generating a world/loading your save with both the "debug_build_0" and "debug_build_1" branches and letting me know if either of them work for you? Thanks for your help!

Using debug_build_0:

After loading my save and  clicking on the pause button:
 

Quote

 

[ INFO  ] Reporting error.

[ INFO  ] SimMessage: Assert failed
[ INFO  ] simlib/UpdateTemperature.cpp:162
[WARNING] GeneratedOre.CreateChunk tried to create a chunk with a temperature <= 0
[WARNING] GeneratedOre.CreateChunk tried to create a chunk with a temperature <= 0
Game.OnApplicationQuit()
Setting up 1 worker threads for Enlighten.
  Thread -> id: 7fd37c08e700 -> priority: 1
##utp:{"type":"MemoryLeaks","allocatedMemory":1361469,"memoryLabels":[{"Default":1560},{"NewDelete":1340103},{"Thread":2728},{"Manager":112},{"GfxDevice":13640},{"Serialization":40},{"String":1638},{"DynamicArray":320},{"Sprites":1024},{"VR":64},{"SceneManager":720},{"SceneLoad":-480}]

 

Full log is log-debug_build_0_unpause.txt
A try with gdb:

Spoiler

(gdb) handle SIGPWR nostop noprint
Signal        Stop      Print   Pass to program Description
SIGPWR        No        No      Yes             Power fail/restart
(gdb) handle SIGXCPU nostop noprint
Signal        Stop      Print   Pass to program Description
SIGXCPU       No        No      Yes             CPU time limit exceeded
(gdb) cont
Continuing.
[New Thread 0x7f5820c66700 (LWP 15343)]
[Thread 0x7f5820c66700 (LWP 15343) exited]
[New Thread 0x7f5820c66700 (LWP 15344)]
[New Thread 0x7f5808fff700 (LWP 15345)]

Thread 42 "OxygenNotInclud" received signal SIGINT, Interrupt.
[Switching to Thread 0x7f5820c66700 (LWP 15344)]
0x00007f58eb5a4e0b in raise () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007f58eb5a4e0b in raise () at /lib64/libpthread.so.0
#1  0x00007f58d11962ea in AssertFunc(char const*, int, char const*) ()
    at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#2  0x00007f58d117f765 in UpdateTemperature(SimData&, SimEvents&, int, int) ()
    at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#3  0x00007f58d11909f6 in SimUpdateTemperatureTask::InternalDoTask() ()
    at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#4  0x00007f58d1184a6b in ParallelTaskQueue::WorkerFunc() ()
    at /home/krop/Steam/Games/steamapps/common/OxygenNotIncluded/OxygenNotIncluded_Data/Plugins/x86_64/libSimDLL.so
#5  0x00007f58eb0c5690 in  () at /usr/lib64/libstdc++.so.6
#6  0x00007f58eb59a554 in start_thread () at /lib64/libpthread.so.0
#7  0x00007f58ea791ccf in clone () at /lib64/libc.so.6

 


Creating a new seed still crashed at 51.8% and

Quote

Receiving unhandled NULL exception
#0  0x007fc690775680 in funlockfile

Note: the first crash doesn't produce a core file, the second does. Nothing really new in the backtrace.

log-debug_build_0_unpause.txt

Edited by krop

Share this comment


Link to comment
Share on other sites

When creating a new seed or loading a saved game: "debug_build_0" has the same problem, but, good new ! I don't have the problem with "debug_build_1".

Thanks a lot !

Share this comment


Link to comment
Share on other sites

With debug_build_1, resuming the existing game seems to work. I also don't get the issue reported in another thread:

 

Creating a new seed stops briefly, still at 51.8% then goes on and I get the Duplicants selection screen.

 

Edited by krop

Share this comment


Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now