Jump to content

Linux crashes on load with an older CPU


c0ld
  • Branch: Live Branch Version: Linux Known Issue

Player.log attached. Chat gippity has told me the most likely cause of the error (other than ca-certificates) is that parts of the game has been compiled for newer CPU instruction sets. But Unity games are not supposed to force this behaviour, even the latest version uses them opportunistically. Instead it seems to occur when the game is contacting Klei servers via Mono cryptography. Have you introduced some external dependency that is using specific non-x86-64 instructions?

Edited by EricKlei
Reworded title for clarity


Steps to Reproduce

Start game




User Feedback


As a simple test I started the game with wireless turned off. It starts fine. So pinging Klei's servers crashes the game.

Share this comment


Link to comment
Share on other sites

We're in discussion with Unity about an issue affecting older hardware like yours. See this bug report.

Separately there was another Linux specific Unity bug causing issues connecting to the Klei servers. Last week in U58-720697 we updated our networking code to get around the issue. Let's see if we can rule out the networking changes. I sent you some instructions in a private message. 

What distro are you using?

 

Share this comment


Link to comment
Share on other sites

Here are the results on the test server. Player.log is in pressure vessel, Player native debug.log is on native with gdb. It doesn't crash with TLS but still hits x86-64-v2/3 code and crashes.

Interestingly even though it is not crashing with TLS, it still runs fine if I start the game with network disabled. And plays fine even when the network is re-enabled once it's reached the main menu. I think it just never updates the mods.

eta: distro is in SYSTEM INFO section of Player native debug.log.

Player.log Player native debug.log

Edited by c0ld

Share this comment


Link to comment
Share on other sites

Updated UnityPlayer.so works on test server and after a clean reinstall the current branch too. Tested reinstalling/enabling mods, new game creation and start. All seems fine.

Player.log Player-prev.log

Share this comment


Link to comment
Share on other sites

Okay that's good news, the issue doesn't seem to be related to our network code changes but the x86-64-v2/3 instructions in UnityPlayer.so. Just to confirm, can you access the Supply Closet? 

Share this comment


Link to comment
Share on other sites

Yep, all works fine. Tested selling stuff, buying an item and checking new blueprints.

 

Edited by c0ld
  • Thanks 1

Share this comment


Link to comment
Share on other sites

Changed Status to Known Issue

If anyone is experiencing this issue please reach out and I'll send you a file to replace as a workaround. The issue mainly affects CPUs 2011 or earlier.

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

×
  • Create New...