redroid-doc icon indicating copy to clipboard operation
redroid-doc copied to clipboard

SIGSEGV in libgallium_dri.so while playing azurlane

Open Makiras opened this issue 2 years ago • 6 comments

Describe the bug

Game randomly freeze while playing azurlane on ReDroid-11/12 with ubuntu 22.04, R7 350X, E5-2660v4. Logcat show SIGSEGV happend on libgallium_dri.so.

args: redroid.width=1280 redroid.height=720 redroid.fps=30 ro.build.fingerprint=makiras-android12 ro.hardware.gralloc=gbm ro.hardware.egl=mesa redroid.gpu.mode=host

env

root@makiras-workstation:/tmp/tmp.JNhLjhzIHN# uname -a
Linux makiras-workstation 5.15.0-40-generic #43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

makiras@makiras-workstation:~$ sudo lspci -nnk | grep -i vga -A3
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Oland XT [Radeon HD 8670 / R5 340X OEM / R7 250/350/350X OEM] [1002:6610] (rev 81)
        Subsystem: Dell Radeon R7 350X OEM [1028:0081]
        Kernel driver in use: amdgpu
        Kernel modules: radeon, amdgpu

root@makiras-workstation:/tmp/tmp.JNhLjhzIHN# cat dri.txt
  *-display
       description: VGA compatible controller
       product: Oland XT [Radeon HD 8670 / R5 340X OEM / R7 250/350/350X OEM]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:03:00.0
       version: 81
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: iomemory:38000-37fff irq:55 memory:380000000000-3800ffffffff memory:fbd00000-fbd3ffff ioport:e000(size=256) memory:c0000-dffff
total 0
drwxr-xr-x   3 root root      100 Jul  2 16:23 .
drwxr-xr-x  20 root root     4660 Jul  5 09:41 ..
drwxr-xr-x   2 root root       80 Jul  2 16:23 by-path
crw-rw-rw-+  1 root root 226,   0 Jul  2 16:23 card0
crw-rw-rw-+  1 root root 226, 128 Jul  2 16:23 renderD128
amdgpu dev=0000:03:00.0 unique=0000:03:00.0
amdgpu dev=0000:03:00.0 unique=0000:03:00.0

makiras@makiras-workstation:~$ vglrun glxinfo|grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.0-devel
OpenGL core profile shading language version string: 4.60
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.1.0-devel
OpenGL shading language version string: 4.60
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.1.0-devel
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
    GL_EXT_shader_group_vote, GL_EXT_shader_implicit_conversions,

make sure the required kernel modules present

makiras@makiras-workstation:~$ grep binder /proc/filesystems
nodev   binder
makiras@makiras-workstation:~$ grep ashmem /proc/misc
123 ashmem

collect debug logs curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | bash -s -- [CONTAINER] omit CONTAINER if not exist any more.

log which i think not relative before
07-05 09:30:15.662  1759  1790 W Unity   : 09:30:15.660-54: LoadFile: could not found file: jar:file:///data/app/~~cP-Wus_AwO7XU8N_FLl3Dg==/com.bilibili.azurlane-Xzh3l1_Yt75mT1m_zywNug==/base.apk!/assets/AssetBundles/cue/cv-19903-battle.b
07-05 09:30:15.662  1759  1790 W Unity   : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
07-05 09:30:15.662  1759  1790 W Unity   : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
07-05 09:30:15.662  1759  1790 W Unity   : UnityEngine.Logger:Log(LogType, Object)
07-05 09:30:15.662  1759  1790 W Unity   : UnityEngine.Debug:LogWarning(Object)
07-05 09:30:15.662  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String)
07-05 09:30:15.662  1759  1790 W Unity   : WWWLoader:LoadFile(String, UnityAction`1)
07-05 09:30:15.662  1759  1790 W Unity   : CriWareMgr:LoadCueSheet(CueData, UnityAction`1, Boolean)
07-05 09:30:15.662  1759  1790 W Unity   : <PlaySound>c__AnonStorey3:<>m__0()
07-05 09:30:15.662  1759  1790 W Unity   : System.Action:Invoke()
07-05 09:30:15.662  1759  1790 W Unity   : CriWareMgr:PlaySound(CueData, CRI_FADE_TYPE, Action`1)
07-05 09:30:15.662  1759  1790 W Unity   : CriWareMgrWrap:PlaySound(IntPtr)
07-05 09:30:15.662  1759  1790 W Unity   :
07-05 09:30:15.662  1759  1790 W Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-05 09:30:15.662  1759  1790 W Unity   :
07-05 09:30:15.933  1759  1790 W Unity   : 09:30:15.931-62: Type Spine.AnimationState not wrap to lua, push as object, the warning is only raised once
07-05 09:30:15.933  1759  1790 W Unity   : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
07-05 09:30:15.933  1759  1790 W Unity   : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
07-05 09:30:15.933  1759  1790 W Unity   : UnityEngine.Logger:Log(LogType, Object)
07-05 09:30:15.933  1759  1790 W Unity   : UnityEngine.Debug:LogWarning(Object)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String, Object, Object)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.LuaState:GetMissMetaReference(Type)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.LuaStatic:GetMissMetaReference(IntPtr, Type)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.ToLua:LoadPreType(IntPtr, Type)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.ToLua:PushUserObject(IntPtr, Object)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.ToLua:PushObject(IntPtr, Object)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.ToLua:Push(IntPtr, Object)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface.LuaField:Get(IntPtr)
07-05 09:30:15.933  1759  1790 W Unity   : LuaInterface_LuaFieldWrap:Get(IntPtr)
07-05 09:30:15.933  1759  1790 W Unity   :
07-05 09:30:15.933  1759  1790 W Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-05 09:30:15.933  1759  1790 W Unity   :
07-05 09:30:16.061  1759  1790 W Unity   : 09:30:16.59-66: LoadFile: could not found file: jar:file:///data/app/~~cP-Wus_AwO7XU8N_FLl3Dg==/com.bilibili.azurlane-Xzh3l1_Yt75mT1m_zywNug==/base.apk!/assets/AssetBundles/cue/cv-10205-battle.b
07-05 09:30:16.061  1759  1790 W Unity   : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
07-05 09:30:16.061  1759  1790 W Unity   : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
07-05 09:30:16.061  1759  1790 W Unity   : UnityEngine.Logger:Log(LogType, Object)
07-05 09:30:16.061  1759  1790 W Unity   : UnityEngine.Debug:LogWarning(Object)
07-05 09:30:16.061  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String)
07-05 09:30:16.061  1759  1790 W Unity   : WWWLoader:LoadFile(String, UnityAction`1)
07-05 09:30:16.061  1759  1790 W Unity   : CriWareMgr:LoadCueSheet(CueData, UnityAction`1, Boolean)
07-05 09:30:16.061  1759  1790 W Unity   : <PlaySound>c__AnonStorey3:<>m__0()
07-05 09:30:16.061  1759  1790 W Unity   : System.Action:Invoke()
07-05 09:30:16.061  1759  1790 W Unity   : CriWareMgr:PlaySound(CueData, CRI_FADE_TYPE, Action`1)
07-05 09:30:16.061  1759  1790 W Unity   : CriWareMgrWrap:PlaySound(IntPtr)
07-05 09:30:16.061  1759  1790 W Unity   :
07-05 09:30:16.061  1759  1790 W Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-05 09:30:16.061  1759  1790 W Unity   :
07-05 09:30:16.462  1759  1790 W Unity   : 09:30:16.461-78: LoadFile: could not found file: jar:file:///data/app/~~cP-Wus_AwO7XU8N_FLl3Dg==/com.bilibili.azurlane-Xzh3l1_Yt75mT1m_zywNug==/base.apk!/assets/AssetBundles/cue/cv-80202-battle.b
07-05 09:30:16.462  1759  1790 W Unity   : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
07-05 09:30:16.462  1759  1790 W Unity   : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
07-05 09:30:16.462  1759  1790 W Unity   : UnityEngine.Logger:Log(LogType, Object)
07-05 09:30:16.462  1759  1790 W Unity   : UnityEngine.Debug:LogWarning(Object)
07-05 09:30:16.462  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String)
07-05 09:30:16.462  1759  1790 W Unity   : WWWLoader:LoadFile(String, UnityAction`1)
07-05 09:30:16.462  1759  1790 W Unity   : CriWareMgr:LoadCueSheet(CueData, UnityAction`1, Boolean)
07-05 09:30:16.462  1759  1790 W Unity   : <PlaySound>c__AnonStorey3:<>m__0()
07-05 09:30:16.462  1759  1790 W Unity   : System.Action:Invoke()
07-05 09:30:16.462  1759  1790 W Unity   : CriWareMgr:PlaySound(CueData, CRI_FADE_TYPE, Action`1)
07-05 09:30:16.462  1759  1790 W Unity   : CriWareMgrWrap:PlaySound(IntPtr)
07-05 09:30:16.462  1759  1790 W Unity   :
07-05 09:30:16.462  1759  1790 W Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-05 09:30:16.462  1759  1790 W Unity   :
07-05 09:30:16.863  1759  1790 W Unity   : 09:30:16.861-90: LoadFile: could not found file: jar:file:///data/app/~~cP-Wus_AwO7XU8N_FLl3Dg==/com.bilibili.azurlane-Xzh3l1_Yt75mT1m_zywNug==/base.apk!/assets/AssetBundles/cue/cv-29902-battle.b
07-05 09:30:16.863  1759  1790 W Unity   : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
07-05 09:30:16.863  1759  1790 W Unity   : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
07-05 09:30:16.863  1759  1790 W Unity   : UnityEngine.Logger:Log(LogType, Object)
07-05 09:30:16.863  1759  1790 W Unity   : UnityEngine.Debug:LogWarning(Object)
07-05 09:30:16.863  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String)
07-05 09:30:16.863  1759  1790 W Unity   : WWWLoader:LoadFile(String, UnityAction`1)
07-05 09:30:16.863  1759  1790 W Unity   : CriWareMgr:LoadCueSheet(CueData, UnityAction`1, Boolean)
07-05 09:30:16.863  1759  1790 W Unity   : <PlaySound>c__AnonStorey3:<>m__0()
07-05 09:30:16.863  1759  1790 W Unity   : System.Action:Invoke()
07-05 09:30:16.863  1759  1790 W Unity   : CriWareMgr:PlaySound(CueData, CRI_FADE_TYPE, Action`1)
07-05 09:30:16.863  1759  1790 W Unity   : CriWareMgrWrap:PlaySound(IntPtr)
07-05 09:30:16.863  1759  1790 W Unity   :
07-05 09:30:16.863  1759  1790 W Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-05 09:30:16.863  1759  1790 W Unity   :
07-05 09:30:17.263  1759  1790 W Unity   : 09:30:17.262-102: LoadFile: could not found file: jar:file:///data/app/~~cP-Wus_AwO7XU8N_FLl3Dg==/com.bilibili.azurlane-Xzh3l1_Yt75mT1m_zywNug==/base.apk!/assets/AssetBundles/cue/cv-10517-battle.b
07-05 09:30:17.263  1759  1790 W Unity   : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
07-05 09:30:17.263  1759  1790 W Unity   : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
07-05 09:30:17.263  1759  1790 W Unity   : UnityEngine.Logger:Log(LogType, Object)
07-05 09:30:17.263  1759  1790 W Unity   : UnityEngine.Debug:LogWarning(Object)
07-05 09:30:17.263  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String)
07-05 09:30:17.263  1759  1790 W Unity   : WWWLoader:LoadFile(String, UnityAction`1)
07-05 09:30:17.263  1759  1790 W Unity   : CriWareMgr:LoadCueSheet(CueData, UnityAction`1, Boolean)
07-05 09:30:17.263  1759  1790 W Unity   : <PlaySound>c__AnonStorey3:<>m__0()
07-05 09:30:17.263  1759  1790 W Unity   : System.Action:Invoke()
07-05 09:30:17.263  1759  1790 W Unity   : CriWareMgr:PlaySound(CueData, CRI_FADE_TYPE, Action`1)
07-05 09:30:17.263  1759  1790 W Unity   : CriWareMgrWrap:PlaySound(IntPtr)
07-05 09:30:17.263  1759  1790 W Unity   :
07-05 09:30:17.263  1759  1790 W Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-05 09:30:17.263  1759  1790 W Unity   :
07-05 09:30:17.666  1759  1790 W Unity   : 09:30:17.664-114: LoadFile: could not found file: jar:file:///data/app/~~cP-Wus_AwO7XU8N_FLl3Dg==/com.bilibili.azurlane-Xzh3l1_Yt75mT1m_zywNug==/base.apk!/assets/AssetBundles/cue/cv-20513-battle.b
07-05 09:30:17.666  1759  1790 W Unity   : UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
07-05 09:30:17.666  1759  1790 W Unity   : UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
07-05 09:30:17.666  1759  1790 W Unity   : UnityEngine.Logger:Log(LogType, Object)
07-05 09:30:17.666  1759  1790 W Unity   : UnityEngine.Debug:LogWarning(Object)
07-05 09:30:17.666  1759  1790 W Unity   : LuaInterface.Debugger:LogWarning(String)
07-05 09:30:17.666  1759  1790 W Unity   : WWWLoader:LoadFile(String, UnityAction`1)
07-05 09:30:17.666  1759  1790 W Unity   : CriWareMgr:LoadCueSheet(CueData, UnityAction`1, Boolean)
07-05 09:30:17.666  1759  1790 W Unity   : <PlaySound>c__AnonStorey3:<>m__0()
07-05 09:30:17.666  1759  1790 W Unity   : System.Action:Invoke()
07-05 09:30:17.666  1759  1790 W Unity   : CriWareMgr:PlaySound(CueData, CRI_FADE_TYPE, Action`1)
07-05 09:30:17.666  1759  1790 W Unity   : CriWareMgrWrap:PlaySound(IntPtr)
07-05 09:30:17.666  1759  1790 W Unity   :
07-05 09:30:17.666  1759  1790 W Unity   : (Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
07-05 09:30:17.666  1759  1790 W Unity   :
07-05 09:30:18.674  1759  2089 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000000b0
07-05 09:30:18.674  1759  2089 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-05 09:30:18.674  1759  2089 E CRASH   : Build type 'Release', Scripting Backend 'il2cpp', CPU 'x86'
07-05 09:30:18.674  1759  2089 E CRASH   : Build fingerprint: 'just custom docker ro arg'
07-05 09:30:18.674  1759  2089 E CRASH   : Revision: '0'
07-05 09:30:18.674  1759  2089 E CRASH   : pid: 1759, tid: 2089, name: com.bili:gdrv0  >>> com.bilibili.azurlane <<<
07-05 09:30:18.674  1759  2089 E CRASH   :     eax a937c000  ebx c02ba97c  ecx b6640010  edx 00000000
07-05 09:30:18.674  1759  2089 E CRASH   :     esi 00000000  edi 00000024
07-05 09:30:18.674  1759  2089 E CRASH   :     xcs 00000023  xds 0000002b  xes 0000002b  xfs 00000073  xss 0000002b
07-05 09:30:18.674  1759  2089 E CRASH   :     eip bfba6d83  ebp a937bfe8  esp a937bfa0  flags 00010206
07-05 09:30:18.674  1759  2089 E CRASH   : backtrace:
07-05 09:30:18.704  1759  2089 E CRASH   :      #00  pc 008efd83  /vendor/lib/dri/libgallium_dri.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #01  pc 008efa87  /vendor/lib/dri/libgallium_dri.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #02  pc 006bca6d  /vendor/lib/dri/libgallium_dri.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #03  pc 006bbf54  /vendor/lib/dri/libgallium_dri.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #04  pc 00013a71  /vendor/lib/dri/libgallium_dri.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #05  pc 00013c0d  /vendor/lib/dri/libgallium_dri.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #06  pc 000a03e5  /system/apex/com.android.runtime/lib/bionic/libc.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #07  pc 000350e8  /system/apex/com.android.runtime/lib/bionic/libc.so
07-05 09:30:18.704  1759  2089 E CRASH   :      #08  pc 000176f7  /system/apex/com.android.runtime/lib/bionic/libc.so
07-05 09:30:46.337  1759  1877 I Skynet.DefaultPluginListener: report issue content: 

packed-all-logs.tgz

Makiras avatar Jul 05 '22 01:07 Makiras

seems similar to https://github.com/remote-android/redroid-doc/issues/129

Makiras avatar Jul 05 '22 04:07 Makiras

downgrade to ubuntu 20.04 with neither amdgpu driver nor radeon driver behaves the same as above

Makiras avatar Jul 08 '22 16:07 Makiras

ubuntu 20.04 with amdgpu driver using 12.0.0-latest 3a28ef2cdf3b images still not working. I‘m trying to disassembe libgallium_dri for the crash function.

logs
7-12 17:56:32.932  1801  1801 E MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI: java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000000b0
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI: Build fingerprint: 'just custom docker ro arg'
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI: Revision: '0'
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI: pid: 1801, tid: 2145, name: com.bili:gdrv0  >>> com.bilibili.azurlane <<<
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI: 
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libgallium_dri.008f0563(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libgallium_dri.008f0267(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libgallium_dri.006bd2cd(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libgallium_dri.006bc7b4(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libgallium_dri.000135c1(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libgallium_dri.0001375d(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libc.000a03e5(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libc.000350e8(Native Method)
07-12 17:56:32.932  1801  1801 E MessageQueue-JNI:      at libc.000176f7(Native Method)
07-12 17:56:32.933  1801  1801 D AndroidRuntime: Shutting down VM
--------- beginning of crash
07-12 17:56:32.933  1801  1801 E AndroidRuntime: FATAL EXCEPTION: main
07-12 17:56:32.933  1801  1801 E AndroidRuntime: Process: com.bilibili.azurlane, PID: 1801
07-12 17:56:32.933  1801  1801 E AndroidRuntime: java.lang.Error: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000000b0
07-12 17:56:32.933  1801  1801 E AndroidRuntime: Build fingerprint: 'just custom docker ro arg'
07-12 17:56:32.933  1801  1801 E AndroidRuntime: Revision: '0'
07-12 17:56:32.933  1801  1801 E AndroidRuntime: pid: 1801, tid: 2145, name: com.bili:gdrv0  >>> com.bilibili.azurlane <<<
07-12 17:56:32.933  1801  1801 E AndroidRuntime: 
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libgallium_dri.008f0563(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libgallium_dri.008f0267(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libgallium_dri.006bd2cd(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libgallium_dri.006bc7b4(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libgallium_dri.000135c1(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libgallium_dri.0001375d(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libc.000a03e5(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libc.000350e8(Native Method)
07-12 17:56:32.933  1801  1801 E AndroidRuntime:        at libc.000176f7(Native Method)

Makiras avatar Jul 12 '22 10:07 Makiras

stuck usually happens ~~(and never happen outside of this situation)~~ while fighting with others such as 演习,作战,主线作战 and so on. The more intense the battle, the more likely problems will arise.

~~What's more I'm not sure is it caused by my OLD R7 350X GPU, so I buy new RX550 for testing and it will arrive tomorrow.~~ Crash either. I'm glad to share ssh permission with you for saving your time to reproduce problem.

BTW, this game will hang for 10m at first start. Although I've mount data as presistent vol, hang still happen after recreating container. (maybe it's a feature and not relative to sigsegv)

Makiras avatar Jul 12 '22 13:07 Makiras

not sure whether related to #181 anyway, will update the libLLVM.so soon

zhouziyang avatar Jul 20 '22 12:07 zhouziyang

not sure whether related to #181 anyway, will update the libLLVM.so soon

crash still happened on redoird-12 built by myself today,

08-02 11:50:37.057 11085 11684 E CRASH   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 000000b0
08-02 11:50:37.058 11085 11684 E CRASH   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-02 11:50:37.058 11085 11684 E CRASH   : Build type 'Release', Scripting Backend 'il2cpp', CPU 'x86'
08-02 11:50:37.058 11085 11684 E CRASH   : Build fingerprint: 'build-20220802'
08-02 11:50:37.058 11085 11684 E CRASH   : Revision: '0'
08-02 11:50:37.058 11085 11684 E CRASH   : pid: 11085, tid: 11684, name: com.bili:gdrv0  >>> com.bilibili.azurlane <<<
08-02 11:50:37.058 11085 11684 E CRASH   :     eax b0cfc000  ebx bfd821b4  ecx b690c020  edx 00000000
08-02 11:50:37.058 11085 11684 E CRASH   :     esi 00000000  edi 00000050
08-02 11:50:37.058 11085 11684 E CRASH   :     xcs 00000023  xds 0000002b  xes 0000002b  xfs 00000073  xss 0000002b
08-02 11:50:37.058 11085 11684 E CRASH   :     eip bf66e4f3  ebp b0cfbfe8  esp b0cfbfa0  flags 00010206
08-02 11:50:37.058 11085 11684 E CRASH   : backtrace:
08-02 11:50:37.099 11085 11684 E CRASH   :      #00  pc 008f04f3  /vendor/lib/dri/libgallium_dri.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #01  pc 008f01f7  /vendor/lib/dri/libgallium_dri.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #02  pc 006bd2ad  /vendor/lib/dri/libgallium_dri.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #03  pc 006bc7e4  /vendor/lib/dri/libgallium_dri.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #04  pc 000135c1  /vendor/lib/dri/libgallium_dri.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #05  pc 0001375d  /vendor/lib/dri/libgallium_dri.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #06  pc 000a03e5  /apex/com.android.runtime/lib/bionic/libc.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #07  pc 000350e8  /apex/com.android.runtime/lib/bionic/libc.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #08  pc 000176f7  /apex/com.android.runtime/lib/bionic/libc.so
08-02 11:50:37.099 11085 11684 E CRASH   :      #09  pc 85d81f40  <unknown/absolute>
08-02 11:50:37.099 11085 11684 E CRASH   :      #10  pc 00a3cf88  /vendor/lib/dri/libgallium_dri.so
08-02 11:50:38.808 11085 11085 E CRASH   : other thread is trapped; signum = 11
makiras@makiras-workstation:~/redroid/device/redroid-prebuilts$ git log
commit 7e00bde4d271bd6ebb54846dcfabac121ab19515 (grafted, HEAD, redroid/master, m/redroid-12.0.0)
Author: Ziyang Zhou <[email protected]>
Date:   Sat Jul 23 10:39:11 2022 +0800

    fix remote-android/redroid-doc#199 remove unused 32 bit bins

Makiras avatar Aug 02 '22 11:08 Makiras