Cysharp / Cysharp/ZString

crash on unity tuanjie 1.6.10

Open
#141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
2.8k
Forks
192
PR merge metrics
No merged PRs in 30d

Description

Tid:63245, Name:TuanjieMain
#00 pc 000000000664bd50 (Buffer_memcpy4_m2003EA216B7F3A174D6724F06E64E3D7F55A5CF4 at mscorlib__8.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#01 pc 0000000003b247e4 (Utf16ValueStringBuilder_Append_m38E3D512CE8BCE983294FAC3BC669E708ADC9200_inline(Utf16ValueStringBuilder_tFA2A57C45340AC5E62924F75D486F7F678212172*, ReadOnlySpan_1_t59614EA6E51A945A32B02AB17FBCBDF9A5C419C1, MethodInfo const*) at GameMain.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#02 pc 0000000004181890 (Utf16ValueStringBuilder_AppendFormat_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_mC853736167DB6DD948FD43804450529D0595D652_gshared at GenericMethods__49.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#03 pc 0000000003236300 (RuntimeInvoker_TrueVoid_t4861ACF8F4594C3437BB48B6E56783494B843915_RuntimeObject_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny(void ()(), MethodInfo const, void*, void**, void*) at Il2CppInvokerTable.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#04 pc 0000000004215058 (ZString_Format_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_TisIl2CppFullySharedGenericAny_mFF7C380CF87C1158ECF32E97EC4737DF43FCF4D4_gshared at GenericMethods__52.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#05 pc 000000000338c670 (RuntimeInvoker_FalseRuntimeObject_RuntimeObject_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny_Il2CppFullySharedGenericAny(void ()(), MethodInfo const, void*, void**, void*) at Il2CppInvokerTable.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#06 pc 00000000035fab4c (il2cpp::vm::Runtime::InvokeWithThrow(MethodInfo const*, void*, void**) at v22z7t4684oy5.lump.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#07 pc 00000000035faa68 (il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) at v22z7t4684oy5.lump.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)
#08 pc 00000000035faed0 (il2cpp::vm::Runtime::InvokeConvertArgs(MethodInfo const*, void*, Il2CppObject**, int, Il2CppException**) at v22z7t4684oy5.lump.cpp:0) /data/storage/el1/bundle/libs/arm64/libil2cpp.so(b21cc05702f08345)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with Unity Tuanjie 1.6.10 on arm64, then trace the reported path from ZString_Format through Utf16ValueStringBuilder_Append and Buffer_memcpy4 in the generated IL2CPP stack. Done means the crash cause is identified and the same scenario no longer crashes, with the result verified on the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.