Jump to content

Segfault while launching server


Recommended Posts

Probably related to the libcurl installed on my machine:

 

ArchLinux 64-bit

 

I linked /usr/lib32/libcurl.so.3 to /usr/lib32/libcurl-gnutls.so.4 so I could start the dedicated server, then after generating a server token/starting it for online play, it ends the script with a "Segmentation Fault (core dumped)" error when the Topology ends.

 

full startup log:

Starting UpVersion: 138844Current time: Sat Jun  6 12:18:45 2015 Don't Starve Together: 138844 LINUXNNN Build Date: 2015-06-05_16-34-30Parsing command lineCommand Line Arguments: -conf_dir DoNotStarveTogetherServer THREAD - started 'GAClient' (4139318080)HttpClient::ClientThread::Main()ProfileIndex:5.62THREAD - started 'GAClient' (4130335552)HttpClient::ClientThread::Main()Network tick rate: U=15(2), D=0Network tick rate: U=15(2), D=0THREAD - started 'GAClient' (4132436800)HttpClient::ClientThread::Main()OnLoadPermissionList: /home/mario/.klei/DoNotStarveTogetherServer/save/blocklist.txt (Failure)OnLoadPermissionList: /home/mario/.klei/DoNotStarveTogetherServer/save/adminlist.txt (Failure)OnLoadUserIdList: /home/mario/.klei/DoNotStarveTogetherServer/save/whitelist.txt (Failure)Server token retrieved from: server_token.txtTHREAD - started 'GAClient' (4124048192)HttpClient::ClientThread::Main()THREAD - started 'GAClient' (4116699968)HttpClient::ClientThread::Main()cGame::InitializeOnMainThreadRenderer initialize: OkayAnimManager initialize: OkayBuffers initialize: OkaycDontStarveGame::DoGameSpecificInitialize()FMOD Error: An invalid object handle was used. GameSpecific initialize: OkaycGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(167,1) running main.lua loaded modindex ModIndex: Beginning normal load sequence for dedicated server. DownloadMods(0)FMOD Error: An invalid object handle was used. LOADING LUA SUCCESSPlayerDeaths could not load morgue loaded profile bloom_enabled false loaded saveindex OnFilesLoaded() OnUpdatePurchaseStateComplete Load FE Load FE: done ModIndex: Load sequence finished successfully. Reset() returning[200] Account Communication Success (6)[ACCOUNT_ACTION_TOKEN_PURPOSE] Received UserId from TokenPurpose: KU_ddeEYbeWStarting Dedicated Server Game Network tick rate: U=15(2), D=0Setting up socket descriptorsOnline Server Started on port: 10999Collecting garbage...lua_gc took 0.01 seconds~NetworkLuaProxy()~SimLuaProxy()lua_close took 0.01 secondscGame::StartPlayingLOADING LUADoLuaFile scripts/main.luaDoLuaFile loading buffer scripts/main.luascripts/main.lua(167,1) running main.lua loaded modindex ModIndex: Beginning normal load sequence for dedicated server. LOADING LUA SUCCESSPlayerDeaths could not load morgue loaded profile bloom_enabled false loaded saveindex OnFilesLoaded() OnUpdatePurchaseStateComplete Unload FE Unload FE done LOAD BE Could not preload undefined prefab 0x4058bc0 (molehat)Could not preload undefined prefab 0x20e21d7a (puppet_wes)Could not preload undefined prefab 0x20e21d7a (puppet_wes)LOAD BE: done Deserialize world session from session/00000000440BC11A/0000000001 Save file is at version nil Upgrading to 1... Converting summer to autumn: Begin Session: 00000000440BC11Asaving to server_temp/server_save MiniMapComponent::AddAtlas( minimap/minimap_data.xml )Loading Nav Grid OVERRIDE: setting season_start to autumn Reconstructing topology ...Sorting points ...Sorting edges ...Connecting nodes ...Validating connections ...Housekeeping ...Done! 1 uploads added to server. From server_tempTelling Client our new session identifier: 00000000440BC11AModIndex: Load sequence finished successfully. Reset() returning

Games/Servers/DSTDS/RUNDS.sh: line 4: 22255 Segmentation fault     (core dumped) ./dontstarve_dedicated_server_nullrenderer -conf_dir DoNotStarveTogetherServer

Link to comment
Share on other sites

I linked /usr/lib32/libcurl.so.3 to /usr/lib32/libcurl-gnutls.so.4 so I could start the dedicated server, then after generating a server token/starting on LAN, it ends the script with a "Segmentation Fault (core dumped)" error when the Topology ends.

 

I'd like to correct that starting it LAN provides no problems. It only happens on Online hosting.

Link to comment
Share on other sites

Also, this is what I use to launch the server... Doesn't seem valid as to why it'd segfault:

 

#!/bin/sh cd /home/mario/GameServers/DSTDS/bin/./dontstarve_dedicated_server_nullrenderer -conf_dir DoNotStarveTogetherServer
Link to comment
Share on other sites

Neither core/libcurl that provides /usr/lib32/libcurl.so.4.3.0 and /usr/lib32/libcurl.so.4.2.0 (both versions tested, being 4.3.0 making it error with "CURL_GNUTLS_3") or aur/lib32-libcurl-compat's /usr/lib32/libcurl.so.3 make it change the segfault.

Link to comment
Share on other sites

@zZzAGzZz,

 

well im on Debian 8 for my all server dedicated DST and it's works

 

so can you give me link or iso for test DST server on Archlinux 64 bits please?

 

i going test soon on virtual machine for see if that's works or not

 

https://www.archlinux.org/download/

(link provided to download page, as it changes the ISO's monthly)

 

I suggest using --skippgpcheck when installing libcurl with makepkg from AUR, as the libraries might fail with signatures.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...