Hi. Some games looks like having protection or they crashed before uses Open GL API or I'm just doing something wrong. 1) Launch Comedy Night game: $ apitrace trace --api gl ./Comedy\ Night.x86 apitrace: loaded into /usr/bin/apitrace apitrace: unloaded from /usr/bin/apitrace ERROR: ld.so: object '/usr/bin/../$LIB/apitrace/wrappers/glxtrace.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Set current directory to /home/mikhail/.local/share/Steam/steamapps/common/Comedy Night Found path: /home/mikhail/.local/share/Steam/steamapps/common/Comedy Night/Comedy Night.x86 Mono path[0] = '/home/mikhail/.local/share/Steam/steamapps/common/Comedy Night/Comedy Night_Data/Managed' Mono config path = '/home/mikhail/.local/share/Steam/steamapps/common/Comedy Night/Comedy Night_Data/Mono/etc' Preloaded 'ScreenSelector.so' Preloaded 'libCSteamworks.so' Preloaded 'libopus_egpv.so' Preloaded 'libsteam_api.so' Player data archive not found at `/home/mikhail/.local/share/Steam/steamapps/common/Comedy Night/Comedy Night_Data/data.unity3d`, using local filesystem Logging to /home/mikhail/.config/unity3d/Lighthouse Games Studio/Comedy Night/Player.log (Comedy Night.x86:7180): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", (Comedy Night.x86:7180): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Gtk-Message: Failed to load module "pk-gtk-module" Gtk-Message: Failed to load module "canberra-gtk-module" munmap_chunk(): invalid pointer Native stacktrace: /home/mikhail/.local/share/Steam/steamapps/common/Comedy Night/Comedy Night_Data/Mono/x86/libmono.so(+0x8a0b8) [0xec05d0b8] linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7ed6de0] linux-gate.so.1(__kernel_vsyscall+0x9) [0xf7ed6db9] /lib/libc.so.6(gsignal+0xc2) [0xf7a0e602] /lib/libc.so.6(abort+0x127) [0xf7a0fea7] /lib/libc.so.6(+0x77b7b) [0xf7a55b7b] /lib/libc.so.6(+0x7f51e) [0xf7a5d51e] /lib/libc.so.6(cfree+0x65b) [0xf7a64dcb] /lib/libLLVM-6.0svn.so(_ZdlPv+0x18) [0xf3714838] /lib/libLLVM-6.0svn.so(_ZdlPvj+0x18) [0xf371ef88] /usr/lib/dri/radeonsi_dri.so(+0xb5efe) [0xf4a34efe] /usr/lib/dri/radeonsi_dri.so(+0x345eb6) [0xf4cc4eb6] /usr/lib/dri/radeonsi_dri.so(+0x347b07) [0xf4cc6b07] /usr/lib/dri/radeonsi_dri.so(+0x348cf9) [0xf4cc7cf9] /usr/lib/dri/radeonsi_dri.so(+0x5726b7) [0xf4ef16b7] /usr/lib/dri/radeonsi_dri.so(+0x327cbc) [0xf4ca6cbc] /usr/lib/dri/radeonsi_dri.so(+0x327e9d) [0xf4ca6e9d] ./Comedy Night.x86() [0x8fe2b70] ./Comedy Night.x86() [0x8faf255] ./Comedy Night.x86() [0x8f890e8] ./Comedy Night.x86() [0x8f8e70e] ./Comedy Night.x86() [0x8f826af] ./Comedy Night.x86() [0x8557807] /lib/libpthread.so.0(+0x6587) [0xf7e91587] /lib/libc.so.6(clone+0x66) [0xf7adaee6] Debug info from gdb: apitrace: loaded into /usr/libexec/gdb apitrace: warning: caught signal 11 /usr/bin/../lib64/apitrace/wrappers/glxtrace.so+0x222f6c /lib64/libpthread.so.0+0x12aef /usr/bin/gdb+0x432dfd /usr/bin/gdb+0x4330fa /usr/bin/gdb+0x34182e /usr/bin/gdb+0x3e7478 /usr/bin/gdb+0x3a1ed5 /usr/bin/gdb+0x10cbba /lib64/libc.so.6: __libc_start_main+0xe9 /usr/bin/gdb+0x10ece9 ? apitrace: info: taking default action for signal 11 ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Trace file is absent in game directory. 2) Launch Fractal Space game: $ apitrace trace --api gl ./Fractal_Space.x86 apitrace: loaded into /usr/bin/apitrace apitrace: unloaded from /usr/bin/apitrace ERROR: ld.so: object '/usr/bin/../$LIB/apitrace/wrappers/glxtrace.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Set current directory to /home/mikhail/.local/share/Steam/steamapps/common/Fractal Space Found path: /home/mikhail/.local/share/Steam/steamapps/common/Fractal Space/Fractal_Space.x86 Mono path[0] = '/home/mikhail/.local/share/Steam/steamapps/common/Fractal Space/Fractal_Space_Data/Managed' Mono config path = '/home/mikhail/.local/share/Steam/steamapps/common/Fractal Space/Fractal_Space_Data/Mono/etc' PlayerConnection initialized from /home/mikhail/.local/share/Steam/steamapps/common/Fractal Space/Fractal_Space_Data (debug = 0) PlayerConnection initialized network socket : 0.0.0.0 55511 Multi-casting "[IP] 192.168.1.89 [Port] 55511 [Flags] 3 [Guid] 707364834 [EditorId] 478361344 [Version] 1048832 [Id] LinuxPlayer(192.168.1.89) [Debug] 1" to [225.0.0.222:54997]... Waiting for connection from host on [0.0.0.0:55511]... Timed out. Continuing without host connection. Started listening to [0.0.0.0:55511] Using monoOptions --debugger- agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56834 Preloaded 'ScreenSelector.so' PlayerConnection already initialized - listening to [0.0.0.0:55511] Loading player data from /home/mikhail/.local/share/Steam/steamapps/common/Fractal Space/Fractal_Space_Data/data.unity3dLogging to /home/mikhail/.config/unity3d/Haze Games/Fractal Space/Player.log munmap_chunk(): invalid pointer Native stacktrace: /home/mikhail/.local/share/Steam/steamapps/common/Fractal Space/Fractal_Space_Data/Mono/x86/libmono.so(+0x9005d) [0xea1c605d] linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7f68de0] linux-gate.so.1(__kernel_vsyscall+0x9) [0xf7f68db9] /lib/libc.so.6(gsignal+0xc2) [0xf7aa0602] /lib/libc.so.6(abort+0x127) [0xf7aa1ea7] /lib/libc.so.6(+0x77b7b) [0xf7ae7b7b] /lib/libc.so.6(+0x7f51e) [0xf7aef51e] /lib/libc.so.6(cfree+0x65b) [0xf7af6dcb] /lib/libLLVM-6.0svn.so(_ZdlPv+0x18) [0xf1668838] /lib/libLLVM-6.0svn.so(_ZdlPvj+0x18) [0xf1672f88] /usr/lib/dri/radeonsi_dri.so(+0xb5efe) [0xf2988efe] /usr/lib/dri/radeonsi_dri.so(+0x345eb6) [0xf2c18eb6] /usr/lib/dri/radeonsi_dri.so(+0x347b07) [0xf2c1ab07] /usr/lib/dri/radeonsi_dri.so(+0x348cf9) [0xf2c1bcf9] /usr/lib/dri/radeonsi_dri.so(+0x5726b7) [0xf2e456b7] /usr/lib/dri/radeonsi_dri.so(+0x327cbc) [0xf2bfacbc] /usr/lib/dri/radeonsi_dri.so(+0x327e9d) [0xf2bfae9d] ./Fractal_Space.x86() [0x974e0d4] ./Fractal_Space.x86() [0x970ea86] ./Fractal_Space.x86() [0x970eefe] ./Fractal_Space.x86() [0x9728e13] ./Fractal_Space.x86() [0x96d8279] ./Fractal_Space.x86() [0x96cfebb] ./Fractal_Space.x86() [0x96cff95] ./Fractal_Space.x86() [0x893e7ee] /lib/libpthread.so.0(+0x6587) [0xf7f23587] /lib/libc.so.6(clone+0x66) [0xf7b6cee6] Debug info from gdb: apitrace: loaded into /usr/libexec/gdb apitrace: warning: caught signal 11 /usr/bin/../lib64/apitrace/wrappers/glxtrace.so+0x222f6c /lib64/libpthread.so.0+0x12aef /usr/bin/gdb+0x432dfd /usr/bin/gdb+0x4330fa /usr/bin/gdb+0x34182e /usr/bin/gdb+0x3e7478 /usr/bin/gdb+0x3a1ed5 /usr/bin/gdb+0x10cbba /lib64/libc.so.6: __libc_start_main+0xe9 /usr/bin/gdb+0x10ece9 ? apitrace: info: taking default action for signal 11 ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= No trace file. 3) Launch Kerbal Space Program game: $ apitrace trace --api gl ./Launcher.x86_64 apitrace: loaded into /usr/bin/apitrace apitrace: unloaded from /usr/bin/apitrace apitrace: loaded into /home/mikhail/.local/share/Steam/steamapps/common/Kerbal Space Program/Launcher.x86_64 Set current directory to /home/mikhail/.local/share/Steam/steamapps/common/Kerbal Space Program Found path: /home/mikhail/.local/share/Steam/steamapps/common/Kerbal Space Program/Launcher.x86_64 Mono path[0] = '/home/mikhail/.local/share/Steam/steamapps/common/Kerbal Space Program/Launcher_Data/Managed' Mono path[1] = '/home/mikhail/.local/share/Steam/steamapps/common/Kerbal Space Program/Launcher_Data/Mono' Mono config path = '/home/mikhail/.local/share/Steam/steamapps/common/Kerbal Space Program/Launcher_Data/Mono/etc' displaymanager : xrandr version warning. 1.5 displaymanager : trying .X11-unix client :0 has 1 screens displaymanager screen (0): 1920 x 1080 No protocol specified Using libudev for joystick management Importing game controller configs apitrace: tracing to /home/mikhail/.local/share/Steam/steamapps/common/Kerbal Space Program/Launcher.x86_64.trace apitrace: attempting to read configuration file: /home/mikhail/.config/apitrace/gltrace.conf apitrace: warning: unknown function "glFragmentColorMaterialEXT" apitrace: warning: unknown function "glFragmentLightModelfEXT" apitrace: warning: unknown function "glFragmentLightModelfvEXT" apitrace: warning: unknown function "glFragmentLightModeliEXT" apitrace: warning: unknown function "glFragmentLightModelivEXT" apitrace: warning: unknown function "glFragmentLightfEXT" apitrace: warning: unknown function "glFragmentLightfvEXT" apitrace: warning: unknown function "glFragmentLightiEXT" apitrace: warning: unknown function "glFragmentLightivEXT" apitrace: warning: unknown function "glFragmentMaterialfEXT" apitrace: warning: unknown function "glFragmentMaterialfvEXT" apitrace: warning: unknown function "glFragmentMaterialiEXT" apitrace: warning: unknown function "glFragmentMaterialivEXT" apitrace: warning: unknown function "glGetFragmentLightfvEXT" apitrace: warning: unknown function "glGetFragmentLightivEXT" apitrace: warning: unknown function "glGetFragmentMaterialfvEXT" apitrace: warning: unknown function "glGetFragmentMaterialivEXT" apitrace: warning: unknown function "glLightEnviEXT" apitrace: warning: unknown function "glBeginSceneEXT" apitrace: warning: unknown function "glEndSceneEXT" apitrace: warning: unknown function "glTexScissorFuncINTEL" apitrace: warning: unknown function "glTexScissorINTEL" apitrace: warning: unknown function "glErrorStringREGAL" apitrace: warning: unknown function "glGetExtensionREGAL" apitrace: warning: unknown function "glIsSupportedREGAL" apitrace: warning: unknown function "glLogMessageCallbackREGAL" apitrace: warning: unknown function "glTextureFogSGIX" apitrace: warning: unknown function "glReadVideoPixelsSUN" apitrace: warning: unknown function "glXBlitContextFramebufferAMD" apitrace: warning: unknown function "glXCreateAssociatedContextAMD" apitrace: warning: unknown function "glXCreateAssociatedContextAttribsAMD" apitrace: warning: unknown function "glXDeleteAssociatedContextAMD" apitrace: warning: unknown function "glXGetContextGPUIDAMD" apitrace: warning: unknown function "glXGetCurrentAssociatedContextAMD" apitrace: warning: unknown function "glXGetGPUIDsAMD" apitrace: warning: unknown function "glXGetGPUInfoAMD" apitrace: warning: unknown function "glXMakeAssociatedContextCurrentAMD" apitrace: warning: unknown function "glXBindTexImageATI" apitrace: warning: unknown function "glXDrawableAttribATI" apitrace: warning: unknown function "glXReleaseTexImageATI" apitrace: warning: unknown function "glXBindHyperpipeSGIX" apitrace: warning: unknown function "glXDestroyHyperpipeConfigSGIX" apitrace: warning: unknown function "glXHyperpipeAttribSGIX" apitrace: warning: unknown function "glXHyperpipeConfigSGIX" apitrace: warning: unknown function "glXQueryHyperpipeAttribSGIX" apitrace: warning: unknown function "glXQueryHyperpipeBestAttribSGIX" apitrace: warning: unknown function "glXQueryHyperpipeConfigSGIX" apitrace: warning: unknown function "glXQueryHyperpipeNetworkSGIX" apitrace: warning: unknown function "glXGetTransparentIndexSUN" apitrace: warning: unknown function "glXGetVideoResizeSUN" apitrace: warning: unknown function "glXVideoResizeSUN" Empty Launcher.x86_64.trace file. 4) Launch Youtubers Life game: $ apitrace trace --api gl ./YoutubersLife.x86_64 apitrace: loaded into /usr/bin/apitrace apitrace: unloaded from /usr/bin/apitrace apitrace: loaded into /home/mikhail/.local/share/Steam/steamapps/common/YoutubersLife/Youtube rsLife.x86_64 Set current directory to /home/mikhail/.local/share/Steam/steamapps/common/YoutubersLife Found path: /home/mikhail/.local/share/Steam/steamapps/common/YoutubersLife/Youtube rsLife.x86_64 Mono path[0] = '/home/mikhail/.local/share/Steam/steamapps/common/YoutubersLife/Youtub ersLife_Data/Managed' Mono path[1] = '/home/mikhail/.local/share/Steam/steamapps/common/YoutubersLife/Youtub ersLife_Data/Mono' Mono config path = '/home/mikhail/.local/share/Steam/steamapps/common/YoutubersLife/Youtub ersLife_Data/Mono/etc' displaymanager : xrandr version warning. 1.5 displaymanager : trying .X11-unix client :0 has 1 screens displaymanager screen (0): 1920 x 1080 No protocol specified Using libudev for joystick management Importing game controller configs apitrace: tracing to /home/mikhail/.local/share/Steam/steamapps/common/YoutubersLife/Youtube rsLife.x86_64.trace apitrace: attempting to read configuration file: /home/mikhail/.config/apitrace/gltrace.conf Found empty YoutubersLife.x86_64.trace file. 5) I am only able get tracing for game "Red Comrades 3: Return of Alaska. Reloaded" for both GPU. Crashes occurs every time at starting there games, so you can easily reproduce it itselfs without playing by just launching any game. -- Best Regards, Mike Gavrilov. On Mon, 2018-01-29 at 16:40 +0100, Marek Olšák wrote: > [-gpudriverdevsupport (Bcc)] > > Let's keep this on amd-gfx. > > It looks like all backtraces crash in free() or operator delete(). I > would say it's heap corruption. > > Can you record an apitrace on a driver that is not radeonsi? > Can you correctly replay the apitrace on a driver that is not > radeonsi? > Can you reproduce the crash if you replay the apitrace on radeonsi? > > Thanks, > Marek > > On Sun, Jan 28, 2018 at 5:15 PM, mikhail <mikhail.v.gavrilov at gmail.co > m> wrote: > > > > Hi! > > > > Comedy Night - http://store.steampowered.com/app/665360/ > > Fractal Space - http://store.steampowered.com/app/435410/ > > Kerbal Space Program - http://store.steampowered.com/app/220200/ > > Red Comrades 3: Return of Alaska. Reloaded - http://store.steampowe > > red. > > com/app/546220/ > > Youtubers Life - http://store.steampowered.com/app/428690/ > > > > All listed games unite that all of them are made with Unity engine. > > > > My question: Reason why they crashed on AMD GPU is cause bug in > > Unity > > engine or bug in AMD driver? > > > > For investigation I added all backtraces to this message. > > > > -- > > Best Regards, > > Mike Gavrilov. > > _______________________________________________ > > amd-gfx mailing list > > amd-gfx at lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/amd-gfx > > -------------- next part -------------- A non-text attachment was scrubbed... Name: AMD_Vega_56-petka3.x86_64.tar.xz Type: application/x-xz-compressed-tar Size: 92444 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180129/9e09438c/attachment-0002.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: Intel_GPU-petka3.x86_64.tar.xz Type: application/x-xz-compressed-tar Size: 4711624 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180129/9e09438c/attachment-0003.bin>