Game does not launch in Linux

Let us know about the harmful mutations afflicting the game. Also contains a list of known bugs and workarounds.
Post Reply
ataalik
Posts: 2
Joined: Wed Feb 06, 2019 4:51 pm

Game does not launch in Linux

Post by ataalik » Wed Feb 06, 2019 4:56 pm

Hello. Game does not launch on Ubuntu 18.04. Including the outputs from the terminal running Steam:

Code: Select all

Game update: AppID 774541 "", ProcID 31663, IP 0.0.0.0:0
Loaded Config for Local Override Path for App ID 774541: /home/ata/.steam//controller_base/empty.vdf
>>> Adding process 31663 for game ID 774541
GameAction [AppID 774541, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/ata/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/ata/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
* Assertion at aot-runtime.c:1806, condition `map' not met

/proc/self/maps:
00400000-00820000 r-xp 00000000 08:11 9307456                            /sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64
00a1f000-00a26000 r--p 0041f000 08:11 9307456                            /sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64
00a26000-00a2b000 rw-p 00426000 08:11 9307456                            /sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64
00a2b000-00a41000 rw-p 00000000 00:00 0 
01d2d000-01d91000 rw-p 00000000 00:00 0                                  [heap]
41c25000-41c35000 rwxp 00000000 00:00 0 
7fdebb410000-7fdebb9d4000 r-xp 00000000 08:21 8913255                    /usr/lib/mono/aot-cache/amd64/mscorlib.dll.so
7fdebb9d4000-7fdebbbd3000 ---p 005c4000 08:21 8913255                    /usr/lib/mono/aot-cache/amd64/mscorlib.dll.so
7fdebbbd3000-7fdebbbd4000 r--p 005c3000 08:21 8913255                    /usr/lib/mono/aot-cache/amd64/mscorlib.dll.so
7fdebbbd4000-7fdebbbd5000 rw-p 005c4000 08:21 8913255                    /usr/lib/mono/aot-cache/amd64/mscorlib.dll.so
7fdebbbd5000-7fdebcbff000 rw-p 00000000 00:00 0 
7fdebcbff000-7fdebcc00000 ---p 00000000 00:00 0 
7fdebcc00000-7fdebd800000 rw-p 00000000 00:00 0 
7fdebd951000-7fdebd952000 rw-p 00000000 00:00 0 
7fdebd952000-7fdebd9b1000 ---p 00000000 00:00 0 
7fdebd9b1000-7fdebe9de000 r--p 0042b000 08:11 9307456                    /sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64
7fdebe9de000-7fdebf9df000 rw-s 00000000 00:19 262                        /dev/shm/u1000-Shm_dcdd01f2
7fdebf9df000-7fdebfae0000 rw-s 00000000 00:19 261                        /dev/shm/u1000-Shm_f0d40f52
7fdebfae0000-7fdebfce0000 rw-s 00000000 00:19 29                         /dev/shm/u1000-ValveIPCSharedObj-Steam
7fdebfce0000-7fdebfcf3000 r-xp 00000000 08:21 7606866                    /lib/x86_64-linux-gnu/libbsd.so.0.8.7
7fdebfcf3000-7fdebfef2000 ---p 00013000 08:21 7606866                    /lib/x86_64-linux-gnu/libbsd.so.0.8.7
7fdebfef2000-7fdebfef3000 r--p 00012000 08:21 7606866                    /lib/x86_64-linux-gnu/libbsd.so.0.8.7
7fdebfef3000-7fdebfef4000 rw-p 00013000 08:21 7606866                    /lib/x86_64-linux-gnu/libbsd.so.0.8.7
7fdebfef4000-7fdebfef5000 rw-p 00000000 00:00 0 
7fdebfef5000-7fdebfefa000 r-xp 00000000 08:21 7085558                    /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
Memory around native instruction pointer (0x7fdec1399e97):
0x7fdec1399e87  d2 4c 89 ce bf 02 00 00 00 b8 0e 00 00 00 0f 05  .L..............
0x7fdec1399e97  48 8b 8c 24 08 01 00 00 64 48 33 0c 25 28 00 00  H..$....dH3.%(..
0x7fdec1399ea7  00 44 89 c0 75 1f 48 81 c4 18 01 00 00 c3 0f 1f  .D..u.H.........
0x7fdec1399eb7  00 48 8b 15 a9 bf 3a 00 f7 d8 41 b8 ff ff ff ff  .H....:...A.....

Native stacktrace:

	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x4afc6f]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fdec1976890]
	/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7fdec1399e97]
	/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7fdec139b801]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x6d6259]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x6ea52e]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64(monoeg_assertion_message+0x96) [0x6ea936]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x499517]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64(mono_assembly_invoke_load_hook+0x22) [0x590d62]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x5917d3]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x594088]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x59477a]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x59495a]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x58cfbc]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x431986]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64(mono_main+0x3dc) [0x479b6c]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x428182]
	/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7fdec137cb97]
	/sdb1/SteamLibrary/steamapps/common/Species ALRE/SpeciesUbuntuX64() [0x42885c]

Debug info from gdb:

ERROR: ld.so: object '/home/ata/.steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 774541, ActionID 1] : LaunchApp changed task to Completed with ""
[New LWP 31666]
>>> Adding process 31664 for game ID 774541
>>> Adding process 31665 for game ID 774541
>>> Adding process 31667 for game ID 774541
>>> Adding process 31668 for game ID 774541
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Installing breakpad exception handler for appid(steam)/version(1549129917)
DW_FORM_strp pointing outside of .debug_str section [in module /usr/lib/mono/aot-cache/amd64/mscorlib.dll.so]
0x00007fdec197623a in __waitpid (pid=31667, stat_loc=0x7ffffe2ea06c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30	../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
  Id   Target Id         Frame 
* 1    Thread 0x7fdec2785e40 (LWP 31665) "SpeciesUbuntuX6" 0x00007fdec197623a in __waitpid (pid=31667, stat_loc=0x7ffffe2ea06c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  2    Thread 0x7fdebd3ff700 (LWP 31666) "SGen worker" 0x00007fdec19719f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0xa3ebc8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88

Thread 2 (Thread 0x7fdebd3ff700 (LWP 31666)):
#0  0x00007fdec19719f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0xa3ebc8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0xa3ebe0, cond=0xa3eba0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0xa3eba0, mutex=0xa3ebe0) at pthread_cond_wait.c:655
#3  0x00000000006cbff3 in ?? ()
#4  0x00007fdec196b6db in start_thread (arg=0x7fdebd3ff700) at pthread_create.c:463
#5  0x00007fdec147c88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fdec2785e40 (LWP 31665)):
#0  0x00007fdec197623a in __waitpid (pid=31667, stat_loc=0x7ffffe2ea06c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x00000000004afd3d in ?? ()
#2  <signal handler called>
#3  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4  0x00007fdec139b801 in __GI_abort () at abort.c:79
#5  0x00000000006d6259 in ?? ()
#6  0x00000000006ea52e in ?? ()
#7  0x00000000006ea936 in monoeg_assertion_message ()
#8  0x0000000000499517 in ?? ()
#9  0x0000000000590d62 in mono_assembly_invoke_load_hook ()
#10 0x00000000005917d3 in ?? ()
#11 0x0000000000594088 in ?? ()
#12 0x000000000059477a in ?? ()
#13 0x000000000059495a in ?? ()
#14 0x000000000058cfbc in ?? ()
#15 0x0000000000431986 in ?? ()
#16 0x0000000000479b6c in mono_main ()
#17 0x0000000000428182 in ?? ()
#18 0x00007fdec137cb97 in __libc_start_main (main=0x428080, argc=1, argv=0x7ffffe2ebe68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffe2ebe58) at ../csu/libc-start.c:310
#19 0x000000000042885c in _start ()

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

JS method call SharedConnection.SendMsgAndAwaitResponse with 3 arguments
Aborted (core dumped)
[2019-02-06 19:53:10] Startup - updater built Feb  2 2019 17:21:33
[2019-02-06 19:53:10] Verifying installation...
[2019-02-06 19:53:10] Verification complete
crypto.cpp (1879) : Assertion Failed: rsaKey.IsValid()
Installing breakpad exception handler for appid(steam)/version(1549129917)
Game removed: AppID 774541 "", ProcID 31663 
crash_20190206195332_35.dmp[31682]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190206195332_35.dmp
crash_20190206195332_35.dmp[31682]: Finished uploading minidump (out-of-process): success = yes
crash_20190206195332_35.dmp[31682]: response: CrashID=bp-d8f0200a-d747-4ae9-b680-7e4402190206
crash_20190206195332_35.dmp[31682]: file ''/tmp/dumps/crash_20190206195332_35.dmp'', upload yes: ''CrashID=bp-d8f0200a-d747-4ae9-b680-7e4402190206''
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)
Installing breakpad exception handler for appid(steam)/version(1549129917)

User avatar
Quasar
Site Admin
Posts: 1731
Joined: Tue May 29, 2012 2:04 am

Re: Game does not launch in Linux

Post by Quasar » Thu Feb 07, 2019 2:20 am

Hi ataalik,

I'm no expert, but I'll see what I can work out. The relevant parts of your error message seeem to be these:
DW_FORM_strp pointing outside of.debug_str section[in module / usr / lib / mono / aot - cache / amd64 / mscorlib.dll.so]
0x00007fdec197623a in __waitpid (pid= 31667, stat_loc= 0x7ffffe2ea06c, options= 0) at../sysdeps/unix/sysv/linux/waitpid.c:30
30 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Can you see if "../sysdeps/unix/sysv/linux/waitpid.c" exists on your system?
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Do you have a version of either Mono or Monogame, installed seperately from the game? Species is supposed to use the libraries distributed with it, but if it's hooking into an older or newer copy of Mono already on your system perhaps that could cause issues?

wildmyron
Posts: 22
Joined: Wed Sep 19, 2012 3:49 am

Re: Game does not launch in Linux

Post by wildmyron » Thu Feb 07, 2019 5:28 am

Quasar wrote:
Thu Feb 07, 2019 2:20 am
Hi ataalik,

I'm no expert, but I'll see what I can work out. The relevant parts of your error message seeem to be these:
DW_FORM_strp pointing outside of.debug_str section[in module / usr / lib / mono / aot - cache / amd64 / mscorlib.dll.so]
0x00007fdec197623a in __waitpid (pid= 31667, stat_loc= 0x7ffffe2ea06c, options= 0) at../sysdeps/unix/sysv/linux/waitpid.c:30
30 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Can you see if "../sysdeps/unix/sysv/linux/waitpid.c" exists on your system?
I wouldn't worry about that - it looks more like an error message from the debugger where it tried to load symbols/source code

@Quasar: are you specifically using breakpad, or is that something Steam is adding on for crash dump collection?

[Edit: removed speculation which appears to be wrong]

ataalik
Posts: 2
Joined: Wed Feb 06, 2019 4:51 pm

Re: Game does not launch in Linux

Post by ataalik » Thu Feb 07, 2019 1:38 pm

Quasar wrote:
Thu Feb 07, 2019 2:20 am

Do you have a version of either Mono or Monogame, installed seperately from the game? Species is supposed to use the libraries distributed with it, but if it's hooking into an older or newer copy of Mono already on your system perhaps that could cause issues?
I do have mono installed separately yes. Most applications that ship with specific libraries needed, utilize really short wraparound scripts that export the paths of these libraries and then launch the game executable. This is how most Steam games are launched, maybe you could look into that?

Example script for the game move or die named start_linux32.sh

Code: Select all

#!/bin/bash

unamestr=`uname -a`

if [[ "$unamestr" == *"steamos"* ]]
then
LD_LIBRARY_PATH="./Love/steamos:./Love/linux32" ./Love/linux32/love . "$@"
else
LD_LIBRARY_PATH=./Love/linux32 ./Love/linux32/love . "$@"
fi



Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests