clementgallet / libTAS

GNU/Linux software to (hopefully) give TAS tools to games
GNU General Public License v3.0
494 stars 56 forks source link

Emily is Away crashes when TASing #494

Open Spikestuff opened 2 years ago

Spikestuff commented 2 years ago

Unrelated to the other two, thought it should be mentioned whilst writing the others.

When TASing with the Input Editor, and going back through input, EiA would hang, then crash when going back through input.

It's a Unity title as an additional note.

clementgallet commented 2 years ago

I could reproduce this. Loading a savestate eventually leads to a crash (not necessarily the following frame, could be tens of frames later). Here is what Unity is reporting:

Stacktrace:

  at (wrapper managed-to-native) UnityEngine.Physics.INTERNAL_CALL_RaycastAll (UnityEngine.Vector3&,UnityEngine.Vector3&,single,int,UnityEngine.QueryTriggerInteraction) <0x00004>
  at (wrapper managed-to-native) UnityEngine.Physics.INTERNAL_CALL_RaycastAll (UnityEngine.Vector3&,UnityEngine.Vector3&,single,int,UnityEngine.QueryTriggerInteraction) <0x00004>
  at UnityEngine.Physics.RaycastAll (UnityEngine.Vector3,UnityEngine.Vector3,single,int,UnityEngine.QueryTriggerInteraction) <0x00024>
  at UnityEngine.Physics.RaycastAll (UnityEngine.Ray,single,int,UnityEngine.QueryTriggerInteraction) <0x00070>
  at UnityEngine.Physics.RaycastAll (UnityEngine.Ray,single,int) <0x00035>
  at UICamera.Raycast (UnityEngine.Vector3) <0x004ec>
  at UICamera.ProcessMouse () <0x002f8>
  at UICamera.ProcessTouches () <0x003d7>
  at UICamera.Update () <0x0003a>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0x00040>

Native stacktrace:

    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(+0x900c9) [0xe44830c9]
    linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7efe580]
    linux-gate.so.1(__kernel_vsyscall+0x9) [0xf7efe559]
    /lib/i386-linux-gnu/libc.so.6(gsignal+0xc6) [0xf786d8f6]
    /lib/i386-linux-gnu/libc.so.6(abort+0x11e) [0xf785630b]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x861fb59]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(+0xc1b29) [0xe44b4b29]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(+0x245b9) [0xe44175b9]
    linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7efe580]
    linux-gate.so.1(__kernel_vsyscall+0x9) [0xf7efe559]
    /lib/i386-linux-gnu/libpthread.so.0(raise+0xc6) [0xf7d9d4a6]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(+0x18f315) [0xe4582315]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(+0x18f341) [0xe4582341]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(mono_array_element_size+0x3e) [0xe44c2e70]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(mono_array_new_specific+0x2e) [0xe4521f72]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(mono_array_new+0x64) [0xe4525fcd]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x85e14ba]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x884bf47]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x88567e6]
    [0xd1bf6432]
    [0xd1bf63e5]
    [0xd1bf6331]
    [0xd1bf62ae]
    [0xd1bf4e65]
    [0xd1bf42f9]
    [0xd1c06638]
    [0xd1c05f5b]
    [0xe7feb781]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(+0x284e8) [0xe441b4e8]
    /home/clement/Games/Emily is Away/emily is away_Data/Mono/x86/libmono.so(mono_runtime_invoke+0x66) [0xe4520da0]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x85dfdd8]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x864503d]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x861b72e]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x821e3ea]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x844b940]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x84342cd]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x807bce4]
    /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe5) [0xf7857905]
    /home/clement/Games/Emily is Away/emily is away.x86() [0x80898f9]