Sign in to follow this  
DragonM

steamcmd Linux SIGILL in libSteamServerJni.so

Recommended Posts

The Wurm Unlimited Dedicated Server is crashing at startup while attempting to register with Steam.

Here's the console output:

Starting
Logs found: 1
/home/steam/steamcmd/WurmUnlimited/hs_err_pid21227.log
SteamAppId set
./home/steam/steamcmd/WurmUnlimited
Runtime path: /home/steam/steamcmd/WurmUnlimited/runtime/jre1.8.0_60/lib/amd64/server/libjvm.so
Working Directory: /home/steam/steamcmd/WurmUnlimited
Number of options: 8
Create java VM!
Nov 13, 2015 9:53:47 PM com.wurmonline.server.gui.WurmServerGuiMain main
INFO: WurmServerGuiMain starting
Should start without GUI here!
Nov 13, 2015 9:53:47 PM com.wurmonline.server.DbConnector closeAll
INFO: Starting to close all Database Connections.
Nov 13, 2015 9:53:47 PM com.wurmonline.server.DbConnector closeAll
INFO: Finished closing all Database Connections.
Nov 13, 2015 9:53:47 PM com.wurmonline.server.Constants load
INFO: Loading configuration file at /home/steam/steamcmd/WurmUnlimited/Chalice/wurm.iniMeshsize=12
Nov 13, 2015 9:53:47 PM com.wurmonline.server.Constants load
INFO: Loading configuration file at /home/steam/steamcmd/WurmUnlimited/Chalice/wurm.iniMeshsize=12
Nov 13, 2015 9:53:47 PM com.wurmonline.server.DbConnector closeAll
INFO: Starting to close all Database Connections.
Nov 13, 2015 9:53:47 PM com.wurmonline.server.DbConnector closeAll
INFO: Finished closing all Database Connections.
Loading servers
Nov 13, 2015 9:53:47 PM com.wurmonline.server.Servers loadAllServers
INFO: Loading all servers.
Nov 13, 2015 9:53:48 PM com.wurmonline.server.Servers loadAllServers
INFO: Loading Chalice - 27554
Nov 13, 2015 9:53:48 PM com.wurmonline.server.Servers loadAllServers
INFO: Using database entry for time 36700
Nov 13, 2015 9:53:48 PM com.wurmonline.server.zones.TilePoller calcRest
INFO: Current polltile=589996, rest=554394 pollmodifier=25385, pollround=1
Nov 13, 2015 9:53:48 PM com.wurmonline.server.zones.TilePoller calcRest
INFO: tiles=16777216, mask=-1 ticksperday=3456000, Nthick=4, rest=554394, manypertick=true
Nov 13, 2015 9:53:48 PM com.wurmonline.server.Servers loadAllServers
INFO: Loaded 1 servers from the database
Nov 13, 2015 9:53:48 PM com.wurmonline.server.ServerProperties checkIfCreateTable
INFO: Created properties table in the database
Nov 13, 2015 9:53:48 PM com.wurmonline.server.gui.WurmServerGuiController initServer
INFO: Setting server settings from command line
java.util.logging.config.file system property is not set so hardcoding logging
com.wurmonline logger handlers: []
Loading servers
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f9f5b468e4f, pid=28836, tid=140323805775648
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [steamclient.so+0x8a1e4f]
#
# Core dump written. Default location: /home/steam/steamcmd/WurmUnlimited/core or core.28836
#
# An error report file with more information is saved as:
# /home/steam/steamcmd/WurmUnlimited/hs_err_pid28836.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Here's the gdb backtrace from the core:

Core was generated by `./WurmServerLauncher start=Creative'.Program terminated with signal 6, Aborted.#0  0x00007fb3148840d5 in raise ()   from /usr/local/ldlib/x86_64-linux-gnu/libc.so.6(gdb) bt#0  0x00007fb3148840d5 in raise ()   from /usr/local/ldlib/x86_64-linux-gnu/libc.so.6#1  0x00007fb31488783b in abort ()   from /usr/local/ldlib/x86_64-linux-gnu/libc.so.6#2  0x00007fb313e936b5 in os::abort(bool) ()   from /home/steam/steamcmd/WurmUnlimited/runtime/jre1.8.0_60/lib/amd64/server/libjvm.so#3  0x00007fb314031bf3 in VMError::report_and_die() ()   from /home/steam/steamcmd/WurmUnlimited/runtime/jre1.8.0_60/lib/amd64/server/libjvm.so#4  0x00007fb313e98edf in JVM_handle_linux_signal ()   from /home/steam/steamcmd/WurmUnlimited/runtime/jre1.8.0_60/lib/amd64/server/libjvm.so#5  0x00007fb313e8f673 in signalHandler(int, siginfo*, void*) ()   from /home/steam/steamcmd/WurmUnlimited/runtime/jre1.8.0_60/lib/amd64/server/libjvm.so#6  <signal handler called>#7  0x00007fb282c7ee4f in ?? () from ./nativelibs/steamclient.so#8  0x00007fb282f644c9 in ?? () from ./nativelibs/steamclient.so#9  0x00007fb282dee8e2 in ?? () from ./nativelibs/steamclient.so#10 0x00007fb28263d02f in ?? () from ./nativelibs/steamclient.so#11 0x00007fb282a27bb9 in ?? () from ./nativelibs/steamclient.so#12 0x00007fb282a2860c in ?? () from ./nativelibs/steamclient.so#13 0x00007fb282a15e4c in ?? () from ./nativelibs/steamclient.so#14 0x00007fb28261ceef in ?? () from ./nativelibs/steamclient.so#15 0x00007fb315558f80 in ?? () from /lib64/ld-linux-x86-64.so.2#16 0x00007fb315559077 in ?? () from /lib64/ld-linux-x86-64.so.2#17 0x00007fb31555d363 in ?? () from /lib64/ld-linux-x86-64.so.2#18 0x00007fb315558bd6 in ?? () from /lib64/ld-linux-x86-64.so.2#19 0x00007fb31555cb4a in ?? () from /lib64/ld-linux-x86-64.so.2#20 0x00007fb3153487fc in ?? ()   from /usr/local/ldlib/x86_64-linux-gnu/libdl.so.2#21 0x00007fb315558bd6 in ?? () from /lib64/ld-linux-x86-64.so.2#22 0x00007fb31534852f in ?? ()---Type <return> to continue, or q <return> to quit---   from /usr/local/ldlib/x86_64-linux-gnu/libdl.so.2#23 0x00007fb3153488a6 in dlmopen ()   from /usr/local/ldlib/x86_64-linux-gnu/libdl.so.2#24 0x00007fb2f2fba2bf in ?? () from ./nativelibs/libsteam_api.so#25 0x00007fb2f2fbcbeb in ?? () from ./nativelibs/libsteam_api.so#26 0x00007fb2f2fbe163 in ?? () from ./nativelibs/libsteam_api.so#27 0x00007fb2f2fbe400 in SteamGameServer_Init ()   from ./nativelibs/libsteam_api.so#28 0x00007fb2f31d31f0 in Java_SteamJni_SteamServerApi_SteamGameServer_1Init ()   from /home/steam/steamcmd/WurmUnlimited/nativelibs/libSteamServerJni.so#29 0x00007fb3034f14d4 in ?? ()#30 0x0000000000000003 in ?? ()#31 0x00007ffe79d10018 in ?? ()#32 0x00000000020da000 in ?? ()#33 0x00007fb301a9a5a8 in ?? ()#34 0x00007fb302206240 in ?? ()#35 0x0000000000000000 in ?? ()

Any advice?

Edited by DragonM
Added missing carriage returns

Share this post


Link to post
Share on other sites

in first place i suggest to check ldd output of steam libs


 


ldd libSteamServerJni.so


ldd libsteam_api.so


ldd steamclient.so


 


mabe some incompatible versions of used system libs.


Share this post


Link to post
Share on other sites

Very good suggestion.  Unfortunately it appears that all is in order.



$ ldd libSteamServerJni.so
linux-vdso.so.1 => (0x00007fffebbfd000)
libsteam_api.so (0x00007fa3d9e01000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa3d9ade000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa3d98c7000)
libc.so.6 => /usr/local/ldlib/x86_64-linux-gnu/libc.so.6 (0x00007fa3d9508000)
libdl.so.2 => /usr/local/ldlib/x86_64-linux-gnu/libdl.so.2 (0x00007fa3d9304000)
libpthread.so.0 => /usr/local/ldlib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa3d90e6000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa3da22f000)
libm.so.6 => /usr/local/ldlib/x86_64-linux-gnu/libm.so.6 (0x00007fa3d8dea000)



ldd libsteam_api.so
linux-vdso.so.1 => (0x00007ffc1d9b8000)
libdl.so.2 => /usr/local/ldlib/x86_64-linux-gnu/libdl.so.2 (0x00007f71ed7c0000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f71ed49d000)
libpthread.so.0 => /usr/local/ldlib/x86_64-linux-gnu/libpthread.so.0 (0x00007f71ed27f000)
/lib64/ld-linux-x86-64.so.2 (0x00007f71edbea000)
libc.so.6 => /usr/local/ldlib/x86_64-linux-gnu/libc.so.6 (0x00007f71ecec0000)
libm.so.6 => /usr/local/ldlib/x86_64-linux-gnu/libm.so.6 (0x00007f71ecbc4000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f71ec9ad000)



ldd steamclient.so
linux-vdso.so.1 => (0x00007fff63107000)
librt.so.1 => /usr/local/ldlib/x86_64-linux-gnu/librt.so.1 (0x00007f4d27c4d000)
libm.so.6 => /usr/local/ldlib/x86_64-linux-gnu/libm.so.6 (0x00007f4d27951000)
libdl.so.2 => /usr/local/ldlib/x86_64-linux-gnu/libdl.so.2 (0x00007f4d2774c000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4d27429000)
libpthread.so.0 => /usr/local/ldlib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4d2720c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4d29274000)
libc.so.6 => /usr/local/ldlib/x86_64-linux-gnu/libc.so.6 (0x00007f4d26e4c000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4d26c36000)

Share this post


Link to post
Share on other sites

go to the wurm install folder (steam -> right click wurm unlimited -> properties -> local files tab -> browse local files -> delete the lib directory -> local files tab in steam -> verify integrity of game files -> play)

works on linux

Share this post


Link to post
Share on other sites

i deleted /path/to/steam/library/steamapps/common/Wurm Unlimited/WurmLauncher/lib and verified... worked for me

Share this post


Link to post
Share on other sites

oops, well this is how you stop the no SteamClientJni in java.library.path error, i posted in the wrong place... should work for this as well though.

Share this post


Link to post
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
Sign in to follow this