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

Random crash, unknown cause #1

Open
AnnanFay opened this issue Nov 20, 2021 · 0 comments
Open

Random crash, unknown cause #1

AnnanFay opened this issue Nov 20, 2021 · 0 comments

Comments

@AnnanFay
Copy link
Owner

AnnanFay commented Nov 20, 2021

Random crash reported as 'Attempt to access invalid address' in log which happened shortly after teleporting in a multiplayer game after opening a chest.

A quick look at the referenced code, searching online, and requesting advice on the Harmony discord makes me think this is going to be impossible to investigate as it's only occured once. Putting the output here as a record, and so the keywords below are search-available.

Triggering line in the mod is:

return Traverse.Create(backingStore).Property("Value").GetValue<T>();

A similar issue seems to have been encountered before caused by other mods: https://www.reddit.com/r/ModdedValheim/comments/q5yr08/crash_game_crashing_randomly_when_interacting/

Logfile stack trace:

========== OUTPUTTING STACK TRACE ==================

0x00007FFB5CBD55BF (mono-2.0-bdwgc) GC_malloc_uncollectable
0x00007FFB5CBC908B (mono-2.0-bdwgc) mono_breakpoint_clean_code
0x00007FFB5CBC8CC2 (mono-2.0-bdwgc) mono_breakpoint_clean_code
0x00007FFB5CBD1D1B (mono-2.0-bdwgc) GC_malloc_uncollectable
0x00007FFB5CBC91A5 (mono-2.0-bdwgc) mono_breakpoint_clean_code
0x00007FFB5CBCDCF8 (mono-2.0-bdwgc) GC_gcj_malloc
0x00007FFB5CBCD52C (mono-2.0-bdwgc) GC_gcj_malloc
0x00007FFB5C9D73AF (mono-2.0-bdwgc) mono_object_hash
0x00007FFB5C979BE5 (mono-2.0-bdwgc) mono_object_new_alloc_specific
0x00007FFB5C97A11A (mono-2.0-bdwgc) mono_object_new_specific
0x00007FFB5C97F523 (mono-2.0-bdwgc) mono_vtable_get_static_field_data
0x0000019570851074 (Mono JIT Code) (wrapper managed-to-native) object:__icall_wrapper_ves_icall_object_new_specific (intptr)
0x0000019793B7FA23 (Mono JIT Code) HarmonyLib.AccessCache:GetPropertyInfo (System.Type,string,HarmonyLib.AccessCache/MemberType,bool)
0x0000019793B7F883 (Mono JIT Code) HarmonyLib.Traverse:Property (string,object[])
0x0000019793B7F753 (Mono JIT Code) CraftingSkill.ConfigVariable`1<bool>:get_Value ()
0x0000019793BDBA3B (Mono JIT Code) CraftingSkill.CraftingConfig:get_QuantisedQuality ()
0x0000019793BDB80B (Mono JIT Code) CraftingSkill.StackableQuality:ScalingFactor (CraftingSkill.CraftingConfig)
0x0000019793BC196B (Mono JIT Code) CraftingSkill.CraftingSkillsPlugin/ItemDataPatcher:GetItemQualityScalingFactor (ItemDrop/ItemData,single,single)
0x0000019793BC1293 (Mono JIT Code) CraftingSkill.CraftingSkillsPlugin/ItemDataPatcher:GetWeight (single,ItemDrop/ItemData)
0x000001974589013B (Mono JIT Code) (wrapper dynamic-method) ItemDrop/ItemData:DMD<ItemDrop+ItemData::GetWeight> (ItemDrop/ItemData)
0x000001974598039B (Mono JIT Code) (wrapper dynamic-method) ItemDrop/ItemData:DMD<ItemDrop+ItemData::GetTooltip> (ItemDrop/ItemData,int,bool)
0x00000196FB562A2B (Mono JIT Code) ItemDrop/ItemData:GetTooltip ()
0x00000196FB56295B (Mono JIT Code) InventoryGrid:CreateItemTooltip (ItemDrop/ItemData,UITooltip)
0x0000019745984FDB (Mono JIT Code) (wrapper dynamic-method) InventoryGrid:DMD<InventoryGrid::UpdateGui> (InventoryGrid,Player,ItemDrop/ItemData)
0x00000196FB56242B (Mono JIT Code) InventoryGrid:UpdateInventory (Inventory,Player,ItemDrop/ItemData)
0x00000196FB56237B (Mono JIT Code) InventoryGui:UpdateInventory (Player)
0x0000019692474D4B (Mono JIT Code) (wrapper dynamic-method) InventoryGui:DMD<InventoryGui::Update> (InventoryGui)
0x00000196DB0C4720 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFB5C9EE270 (mono-2.0-bdwgc) mono_get_runtime_build_info
0x00007FFB5C972AE2 (mono-2.0-bdwgc) mono_perfcounters_init
0x00007FFB5C97BB3F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FFB1B6C2ACD (UnityPlayer) UnityMain
0x00007FFB1B6BFE53 (UnityPlayer) UnityMain
0x00007FFB1B6A8FB3 (UnityPlayer) UnityMain
0x00007FFB1B6A906D (UnityPlayer) UnityMain
0x00007FFB1B4361E0 (UnityPlayer) UnityMain
0x00007FFB1B583BB7 (UnityPlayer) UnityMain
0x00007FFB1B583C53 (UnityPlayer) UnityMain
0x00007FFB1B58608C (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFB1B33595E)
0x00007FFB1B33595E (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFB1B3346BA)
0x00007FFB1B3346BA (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FFB1B33876C)
0x00007FFB1B33876C (UnityPlayer) (function-name not available)
0x00007FFB1B33C25B (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF6C60511F2)
0x00007FF6C60511F2 (valheim) (function-name not available)
0x00007FFB96AF7034 (KERNEL32) BaseThreadInitThunk
0x00007FFB96F42651 (ntdll) RtlUserThreadStart

(Windows 10, Steam version of Valheim whichever version was live on 2021-11-06)

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

1 participant