Patch 0.211.7 - Linux Server crash

Hi everyone,

I always have been running Valheim on a robust Linux Server I have ( 8 cores, 16 GB etc.. ).
Every updates always have been smooth for me but this one is crashing ( Segmentation fault ) when trying to start the server.

I do not run any plugins if you wonder :) it's pure Vanilla.

Anyone with the same issue ?
11:13 pm, September 27, 2022
-=[FR]BERT-7=- 0 comments 0 likes

-=[FR]BERT-7=- replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 10:30:34 pm PDT

I'm a dev, you are absolutely right, they could have make it so depending on option used the right libraries would load or not... instead of blindly loading everything at start and then chose what to use depending on the options....
8:13 am, September 28, 2022
0 comments 0 likes

Horemvore replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 11:37:48 pm PDT

Originally posted by He Who Has No Name:
If this new release isn't compatible with 18.04, then I can't continue running it on my server because it's older hardware that won't play nicely with 20.04. It runs everything - including Valheim - fine without this change. This isn't cool.

SO....Use the beta branch? (Old_Valheim) Problem solved...
8:13 am, September 28, 2022
0 comments 0 likes

-=[FR]BERT-7=- replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 8:25:06 pm PDT

I feel you... They need to do a patch and not load that crappy PlayFab when not using the argument -crossplay
5:13 am, September 28, 2022
0 comments 0 likes

boot13 replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 9:30:19 pm PDT

Same here. VH server was running fine for ages on a Ubuntu 18.04 server. This update killed it. I don't want to use crossplay. I just want the Valheim server to work again. I can't just upgrade Ubuntu willy-nilly as that server hosts a load of other stuff.
5:13 am, September 28, 2022
0 comments 0 likes

He Who Has No Name replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 9:32:40 pm PDT

I'm not a dev dude, but isn't there an option to package stuff on Linux so it comes with the necessary dependencies included, and becomes more or less distro-agnostic?
5:13 am, September 28, 2022
0 comments 0 likes

-=[FR]BERT-7=- replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 4:33:02 pm PDT

Thank you for your reply. I will try to open a support ticket.

If there is anyone wondering what the issue is in the log:

Caught fatal signal - signo:11 code:1 errno:0 addr:0x50

Seems to be related with Unity packaging running on Ubuntu when using mono.
I find this curious. I let anyone knows if I get it fix ( and how of course ).

---------------------------------------
Full Log
---------------------------------------
Loading in SingleInstance mode
Mono path[0] = '/home/steam/.steam/steamapps/common/Valheim dedicated server/valheim_server_Data/Managed'
Mono config path = '/home/steam/.steam/steamapps/common/Valheim dedicated server/valheim_server_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Unable to preload the following plugins:
libparty.so
Initialize engine version: 2020.3.33f1 (915a7af8b0d5)
[Subsystems] Discovering subsystems at path /home/steam/.steam/steamapps/common/Valheim dedicated server/valheim_server_Data/UnitySubsystems
Forcing GfxDevice: Null
GfxDevice: creating device client; threaded=0
NullGfxDevice:
Version: NULL 1.0 [1.0]
Renderer: Null Device
Vendor: Unity Technologies
Begin MonoManager ReloadAssembly
- Completed reload, in 0.112 seconds
ERROR: Shader Sprites/Default shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Sprites/Mask shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader GUI/Text Shader shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
UnloadTime: 1.158220 ms
Caught fatal signal - signo:11 code:1 errno:0 addr:0x50
Obtained 49 stack frames.
#0 0x007f7cbc1ce8a0 in funlockfile
#1 0x007f7cbe88db18 in _dl_rtld_di_serinfo
#2 0x007f7cbe89610d in _dl_find_dso_for_object
#3 0x007f7cbbf3251f in _dl_catch_exception
#4 0x007f7cbe89581a in _dl_find_dso_for_object
#5 0x007f7cbbbc7f96 in (Unknown)
#6 0x007f7cbbf3251f in _dl_catch_exception
#7 0x007f7cbbf325af in _dl_catch_error
#8 0x007f7cbbbc8745 in dlerror
#9 0x007f7cbbbc8051 in dlopen
#10 0x007f7cbb45f28e in mono_dl_open
#11 0x007f7cbb3daecd in mono_jit_info_get_method
#12 0x007f7cbb3dc017 in mono_lookup_pinvoke_call
#13 0x007f7cbb3eef0c in mono_marshal_string_to_utf16
#14 0x007f7cbb2afa82 in mono_set_break_policy
#15 0x007f7cbb2944a4 in _init
#16 0x007f7cbb295f1c in _init
#17 0x007f7cbb299dfa in mono_print_method_from_ip
#18 0x007f7cbb319bde in mono_print_thread_dump_from_ctx
#19 0x007f7cbb319f0d in mono_print_thread_dump_from_ctx
#20 0x00000040cb8393 in (Unknown)
#21 0x00000040f8bc48 in System.TimeZoneInfo:TryGetNameFromPath (string,string&)
#22 0x00000040f84d18 in System.TimeZoneInfo:get_Local ()
#23 0x007f7cbb29acdd in mono_print_method_from_ip
#24 0x007f7cbb40ab18 in mono_perfcounter_foreach
#25 0x007f7cbb40b9c5 in mono_runtime_invoke
#26 0x007f7cbd84fb62 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#27 0x007f7cbd84dc72 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#28 0x007f7cbd82de47 in Coroutine::InvokeMoveNext(ScriptingExceptionPtr*)
#29 0x007f7cbd82da75 in Coroutine::Run(bool*)
#30 0x007f7cbd8311de in MonoBehaviour::TryCreateAndRunCoroutine(ScriptingObjectPtr, ScriptingMethodPtr, Coroutine**)
#31 0x007f7cbd8315b2 in MonoBehaviour::StartCoroutineManaged2(ScriptingObjectPtr)
#32 0x007f7cbd920ffe in MonoBehaviour_CUSTOM_StartCoroutineManaged2(ScriptingBackendNativeObjectPtrOpaque*, ScriptingBackendNativeObjectPtrOpaque*)
#33 0x00000040f8416e in (wrapper managed-to-native) UnityEngine.MonoBehaviour:StartCoroutineManaged2 (UnityEngine.MonoBehaviour,System.Collections.IEnumerator)
#34 0x007f7cbb29acdd in mono_print_method_from_ip
#35 0x007f7cbb40ab18 in mono_perfcounter_foreach
#36 0x007f7cbb40b9c5 in mono_runtime_invoke
#37 0x007f7cbd84fb62 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#38 0x007f7cbd84dc72 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#39 0x007f7cbd832201 in MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingExceptionPtr*)
#40 0x007f7cbd832322 in MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr)
#41 0x007f7cbd832bf6 in MonoBehaviour::DelayedStartCall(Object*, void*)
#42 0x007f7cbd569202 in DelayedCallManager::Update(int)
#43 0x007f7cbd6cf957 in ExecutePlayerLoop(NativePlayerLoopSystem*)
#44 0x007f7cbd6cf912 in ExecutePlayerLoop(NativePlayerLoopSystem*)
#45 0x007f7cbd6cfebe in PlayerLoop()
#46 0x007f7cbd8adbab in PlayerMain(int, char**)
#47 0x007f7cbbdecb97 in __libc_start_main
#48 0x00559e1b860029 in _start
Segmentation fault
2:13 am, September 28, 2022
0 comments 0 likes

Kanopy replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 4:42:42 pm PDT

They are using a new libparty.so library for Xbox FabParty which it seems does not support older versions of Linux distro's. I know ubuntu 18.04 you get a segmentation fault. Upgrade your server to 20.04 or above and it should be fine.
2:13 am, September 28, 2022
0 comments 0 likes

-=[FR]BERT-7=- replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 4:46:05 pm PDT

So it happened to be an Issue with PreFab not being compatible with all Ubuntu version.

( PreFab is what they use to have the crossplay activated when not using Steamwork ).

Updating Ubuntu to its latest version seems to be the work around.

I'm not interested to use PlayFab but it seems to not give you the choice... it would just seg fault at start, with or without it.
2:13 am, September 28, 2022
0 comments 0 likes

-=[FR]BERT-7=- replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 4:50:42 pm PDT

Hi Kanopy,

I just saw your post on the other section, thank you for your message here.

Note: My issue is I can't afford to loose everything on my server just for Valheim server.
They should have keep compatibility when not running with PlayFab... seems they load it anyway ( even if not used ) disregarding the command option.

I will try to see what I can do.
2:13 am, September 28, 2022
0 comments 0 likes

He Who Has No Name replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 6:09:24 pm PDT

If this new release isn't compatible with 18.04, then I can't continue running it on my server because it's older hardware that won't play nicely with 20.04. It runs everything - including Valheim - fine without this change. This isn't cool.
2:13 am, September 28, 2022
0 comments 0 likes

Quintium replied to Patch 0.211.7 - Linux Server crash September 27, 2022 @ 3:56:35 pm PDT

Tested mine. Using LinuxGSM. No issues so far.
Maybe get the server logs and put in a support ticket
11:13 pm, September 27, 2022
0 comments 0 likes