Valheim Instance Crashing

OS Name/Version: Windows Server 2022 Standard

Product Name/Version: 2.3.3

Problem Description:

At random intervals, AMP instance of Valheim Plus crashes. Instance almost immediately restarts. It has happened 4x in the last 24 hours. AMP logs for the instance are:

Crash!!!
SymInit: Symbol-SearchPath: '.;C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660;C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 534, UserName: 'HM-2$'
OS-Version: 10.0.0
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\valheim_server.exe:valheim_server.exe (00007FF6C69E0000), size: 667648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2019.4.31.23231
C:\WINDOWS\SYSTEM32\ntdll.dll:ntdll.dll (00007FFD670D0000), size: 2097152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.112
C:\WINDOWS\System32\KERNEL32.DLL:KERNEL32.DLL (00007FFD66400000), size: 770048 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\KERNELBASE.dll:KERNELBASE.dll (00007FFD64CC0000), size: 3534848 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\UnityPlayer.dll:UnityPlayer.dll (00007FFD41F00000), size: 27045888 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2019.4.31.23231
C:\WINDOWS\System32\USER32.dll:USER32.dll (00007FFD65B90000), size: 1724416 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\win32u.dll:win32u.dll (00007FFD64A60000), size: 155648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\GDI32.dll:GDI32.dll (00007FFD666E0000), size: 176128 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\gdi32full.dll:gdi32full.dll (00007FFD64880000), size: 1118208 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\msvcp_win.dll:msvcp_win.dll (00007FFD64C20000), size: 655360 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\ucrtbase.dll:ucrtbase.dll (00007FFD64B10000), size: 1114112 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\ole32.dll:ole32.dll (00007FFD65F60000), size: 1265664 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\combase.dll:combase.dll (00007FFD65810000), size: 3608576 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.51
C:\WINDOWS\System32\RPCRT4.dll:RPCRT4.dll (00007FFD664C0000), size: 1175552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\VERSION.dll:VERSION.dll (00007FFD5A170000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\SHLWAPI.dll:SHLWAPI.dll (00007FFD662F0000), size: 389120 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\msvcrt.dll:msvcrt.dll (00007FFD66230000), size: 667648 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.0.20348.1
C:\WINDOWS\System32\SETUPAPI.dll:SETUPAPI.dll (00007FFD652B0000), size: 4628480 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\ADVAPI32.dll:ADVAPI32.dll (00007FFD65150000), size: 704512 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.51
C:\WINDOWS\System32\sechost.dll:sechost.dll (00007FFD65210000), size: 647168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\SHELL32.dll:SHELL32.dll (00007FFD667A0000), size: 7708672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\OLEAUT32.dll:OLEAUT32.dll (00007FFD66110000), size: 880640 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\IMM32.dll:IMM32.dll (00007FFD661F0000), size: 200704 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\CRYPT32.dll:CRYPT32.dll (00007FFD64720000), size: 1437696 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\WINMM.dll:WINMM.dll (00007FFD63E00000), size: 159744 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\OPENGL32.dll:OPENGL32.dll (00007FFD63AC0000), size: 1052672 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\WS2_32.dll:WS2_32.dll (00007FFD66F00000), size: 462848 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\WINHTTP.dll:WINHTTP.dll (00007FFD63DF0000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 3.4.0.0
C:\WINDOWS\SYSTEM32\bcrypt.dll:bcrypt.dll (00007FFD63E30000), size: 159744 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\HID.DLL:HID.DLL (00007FFD62480000), size: 53248 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\GLU32.dll:GLU32.dll (00007FFD63DC0000), size: 184320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\system32\WINHTTP.dll:WINHTTP.dll (00007FFD5CED0000), size: 1056768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\shcore.dll:shcore.dll (00007FFD66F80000), size: 962560 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\SYSTEM32\kernel.appcore.dll:kernel.appcore.dll (00007FFD62300000), size: 94208 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\bcryptPrimitives.dll:bcryptPrimitives.dll (00007FFD64A90000), size: 516096 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\MonoBleedingEdge\EmbedRuntime\mono-2.0-bdwgc.dll:mono-2.0-bdwgc.dll (00007FFD41790000), size: 7790592 (result: 0), SymType: '-deferred-', PDB: ''
C:\WINDOWS\System32\PSAPI.DLL:PSAPI.DLL (00007FFD65020000), size: 32768 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\windows.storage.dll:windows.storage.dll (00007FFD56A70000), size: 8671232 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\SYSTEM32\profapi.dll:profapi.dll (00007FFD645E0000), size: 135168 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\CRYPTSP.dll:CRYPTSP.dll (00007FFD64370000), size: 98304 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\system32\rsaenh.dll:rsaenh.dll (00007FFD630C0000), size: 217088 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.169
C:\WINDOWS\SYSTEM32\CRYPTBASE.dll:CRYPTBASE.dll (00007FFD63620000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\ntmarta.dll:ntmarta.dll (00007FFD64250000), size: 212992 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\iphlpapi.dll:iphlpapi.dll (00007FFD63290000), size: 184320 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\clbcatq.dll:clbcatq.dll (00007FFD66350000), size: 716800 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 2001.12.10941.16384
C:\WINDOWS\System32\MMDevApi.dll:MMDevApi.dll (00007FFD63A20000), size: 598016 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\DEVOBJ.dll:DEVOBJ.dll (00007FFD64390000), size: 180224 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\cfgmgr32.dll:cfgmgr32.dll (00007FFD643C0000), size: 311296 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\valheim_server_Data\Plugins\x86_64\steam_api64.dll:steam_api64.dll (00007FFD639D0000), size: 278528 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 5.69.73.98
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\MonoBleedingEdge\EmbedRuntime\MonoPosixHelper.dll:MonoPosixHelper.dll (00007FFD46370000), size: 815104 (result: 0), SymType: '-deferred-', PDB: ''
C:\WINDOWS\system32\napinsp.dll:napinsp.dll (00007FFD46980000), size: 94208 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\mswsock.dll:mswsock.dll (00007FFD63660000), size: 425984 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\DNSAPI.dll:DNSAPI.dll (00007FFD632C0000), size: 905216 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\System32\NSI.dll:NSI.dll (00007FFD66100000), size: 36864 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\winrnr.dll:winrnr.dll (00007FFD46C10000), size: 73728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\system32\nlansp_c.dll:nlansp_c.dll (00007FFD4D250000), size: 126976 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\system32\wshbth.dll:wshbth.dll (00007FFD4D230000), size: 86016 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\Windows\System32\rasadhlp.dll:rasadhlp.dll (00007FFD5CAE0000), size: 40960 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\fwpuclnt.dll:fwpuclnt.dll (00007FFD60070000), size: 528384 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\MSASN1.dll:MSASN1.dll (00007FFD63CD0000), size: 73728 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\gpapi.dll:gpapi.dll (00007FFD63740000), size: 151552 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\steamclient64.dll:steamclient64.dll (00007FFD40270000), size: 22147072 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.14.50.48
C:\WINDOWS\System32\imagehlp.dll:imagehlp.dll (00007FFD665E0000), size: 126976 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\vstdlib_s64.dll:vstdlib_s64.dll (00007FFD63940000), size: 528384 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.14.50.48
C:\AMPDatastore\Instances\Valheim-Modded\Valheim\896660\tier0_s64.dll:tier0_s64.dll (00007FFD44A40000), size: 1527808 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 7.14.50.48
C:\WINDOWS\SYSTEM32\Secur32.dll:Secur32.dll (00007FFD5B5B0000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\SSPICLI.DLL:SSPICLI.DLL (00007FFD63D20000), size: 266240 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL:dhcpcsvc6.DLL (00007FFD5FFD0000), size: 102400 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL:dhcpcsvc.DLL (00007FFD5FFB0000), size: 118784 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\powrprof.dll:powrprof.dll (00007FFD63E60000), size: 315392 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\UMPDC.dll:UMPDC.dll (00007FFD63CB0000), size: 77824 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\System32\WINTRUST.dll:WINTRUST.dll (00007FFD646B0000), size: 434176 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.143
C:\WINDOWS\system32\wbem\wbemprox.dll:wbemprox.dll (00007FFD5B5C0000), size: 65536 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\wbemcomn.dll:wbemcomn.dll (00007FFD5A040000), size: 520192 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\system32\wbem\wbemsvc.dll:wbemsvc.dll (00007FFD4D4B0000), size: 81920 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\system32\wbem\fastprox.dll:fastprox.dll (00007FFD4D4D0000), size: 1007616 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\amsi.dll:amsi.dll (00007FFD52290000), size: 114688 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\USERENV.dll:USERENV.dll (00007FFD637A0000), size: 188416 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2203.5-0\MpOav.dll:MpOav.dll (00007FFD52210000), size: 503808 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 4.18.2203.5
C:\WINDOWS\SYSTEM32\WINNSI.DLL:WINNSI.DLL (00007FFD60060000), size: 49152 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\Windows\System32\cryptnet.dll:cryptnet.dll (00007FFD46D50000), size: 200704 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
C:\WINDOWS\SYSTEM32\dbghelp.dll:dbghelp.dll (00007FFD64030000), size: 2170880 (result: 0), SymType: '-deferred-', PDB: '', fileVersion: 10.0.20348.1
========== OUTPUTTING STACK TRACE ==================
0x000002687E6A01C1 (Mono JIT Code) skyheim.SkyheimMana:UpdateMana (Hud)
0x000002687E69FFE3 (Mono JIT Code) skyheim.SkyheimMana:Hud_Update_Postfix (Hud)
0x00000266EF26CFBB (Mono JIT Code) (wrapper dynamic-method) Hud:DMD<Hud::Update> (Hud)
0x000002651C9AF990 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFD418BE280 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFD41842AE2 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFD4184BB3F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FFD427D8E2D (UnityPlayer) UnityMain
0x00007FFD427D6203 (UnityPlayer) UnityMain
0x00007FFD427BF3D3 (UnityPlayer) UnityMain
0x00007FFD427BF48D (UnityPlayer) UnityMain
0x00007FFD4254A0C0 (UnityPlayer) UnityMain
0x00007FFD426984E7 (UnityPlayer) UnityMain
0x00007FFD42698583 (UnityPlayer) UnityMain
0x00007FFD4269A9DC (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD4244955E)
0x00007FFD4244955E (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD424482BA)
0x00007FFD424482BA (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFD4244C141)
0x00007FFD4244C141 (UnityPlayer) (function-name not available)
0x00007FFD4244FE5B (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6C69E11F2)
0x00007FF6C69E11F2 (valheim_server) (function-name not available)
0x00007FFD66414ED0 (KERNEL32) BaseThreadInitThunk
0x00007FFD6714E20B (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
 * C:/WINDOWS/SERVIC~1/NETWOR~1/AppData/Local/Temp/IronGate/Valheim/Crashes
[02:41:29] [Generic Warning]      : The application stopped unexpectedly. Exit code -1073741795

Steps to reproduce:

I haven’t found any way to manually reproduce the crash. It happens at random intervals.

Actions taken to resolve so far:

Performed Windows Repair via sfc /scannow in thecommand prompt and system restart. When I performed the repair, it found files that resembled the files in the AMP logs that are included in the crash report. It appeared to add a lengthy interval of time between crashes.

This isn’t an AMP issue, this is an issue with the Valheim server itself so it’s out of scope for the support we provide. Looks like it’s modded too so you should ask the mod developer what’s up.