Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARK, Valheim servers broken after a43186d #488

Closed
docgalaxyblock opened this issue Dec 31, 2022 · 6 comments
Closed

ARK, Valheim servers broken after a43186d #488

docgalaxyblock opened this issue Dec 31, 2022 · 6 comments

Comments

@docgalaxyblock
Copy link

docgalaxyblock commented Dec 31, 2022

moved over from discord - short summary:

On ecca96c my friends valheim pi crashed roughly an hour after the server was started.

Valheim server infinite looping errors

These two errors will loop until the RAM is full and the Pi locks up

MethodAccessException: Method System.Collections.HashHelpers.GetPrime(int)' is inaccessible from method System.Collections.Generic.HashSet1[Vector2i].Initialize(int)' at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_throw_method_access(intptr,intptr) at System.Collections.Generic.HashSet1[T].Initialize (System.Int32 capacity) [0x00000] in <68e158d27fe241d98987327fa70dfbd6>:0
at System.Collections.Generic.HashSet1[T].AddIfNotPresent (T value) [0x00008] in <68e158d27fe241d98987327fa70dfbd6>:0 at System.Collections.Generic.HashSet1[T].Add (T item) [0x00000] in <68e158d27fe241d98987327fa70dfbd6>:0
at ZoneSystem.SetZoneGenerated (Vector2i zoneID) [0x00000] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.SpawnZone (Vector2i zoneID, ZoneSystem+SpawnMode mode, UnityEngine.GameObject& root) [0x00119] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.PokeLocalZone (Vector2i zoneID) [0x00037] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.CreateLocalZones (UnityEngine.Vector3 refPoint) [0x00008] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.Update () [0x00091] in <617986ed2f06468487af280e8d8f7c04>:0
MethodAccessException: Method System.Collections.HashHelpers.GetPrime(int)' is inaccessible from method System.Collections.Generic.HashSet1[Vector2i].Initialize(int)' at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_throw_method_access(intptr,intptr) at System.Collections.Generic.HashSet1[T].Initialize (System.Int32 capacity) [0x00000] in <68e158d27fe241d98987327fa70dfbd6>:0
at System.Collections.Generic.HashSet1[T].AddIfNotPresent (T value) [0x00008] in <68e158d27fe241d98987327fa70dfbd6>:0 at System.Collections.Generic.HashSet1[T].Add (T item) [0x00000] in <68e158d27fe241d98987327fa70dfbd6>:0
at ZoneSystem.SetZoneGenerated (Vector2i zoneID) [0x00000] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.SpawnZone (Vector2i zoneID, ZoneSystem+SpawnMode mode, UnityEngine.GameObject& root) [0x00119] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.PokeLocalZone (Vector2i zoneID) [0x00037] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.CreateLocalZones (UnityEngine.Vector3 refPoint) [0x00045] in <617986ed2f06468487af280e8d8f7c04>:0
at ZoneSystem.Update () [0x00091] in <617986ed2f06468487af280e8d8f7c04>:0

Did a git bisect:

  • a43186d is the last confirmed working state
  • a186b22 here even the server crashes while starting

Will compile c821fd9 and test it with BOX64_DYNAREC_BLEEDING_EDGE=0 BOX64_DYNAREC_BIGBLOCK=0 BOX64_DYNAREC_STRONGMEM=2

@docgalaxyblock
Copy link
Author

Nope c821fd9 & ...BLEEDING_EDGE=0 ...BIGBLOCK=0 ...STRONGMEM=2 does not work

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 6, 2023

Is it still not working with latest box64 version? Because I fixed some issue that could be related to that crash (with db7c9e9 )

@docgalaxyblock
Copy link
Author

Nope db7c9e9 & 53eee70 does not work

@docgalaxyblock docgalaxyblock changed the title Valheim server broken after a43186d ARK, Valheim servers broken after a43186d Jan 11, 2023
@docgalaxyblock
Copy link
Author

@ptitSeb Unfortunate I just discovered that ark server also do not start correctly after a43186d.
It "starts" - I can see the RCON console and can type the exit command but I cannot join and the steam browser also shows nothing at the map section

@docgalaxyblock
Copy link
Author

@ptitSeb please post at the issue the next time you developed a fix
it looks like commits that reference an issues do not trigger a (email) notify

It looks like 853cdcd fixed it - on a43186d it works 🥳

@ptitSeb
Copy link
Owner

ptitSeb commented Feb 2, 2023

Oh, you didn't got a mail with the commit that referenced the issue? That's not conveniant :(

I'll try to remember that for later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants