protonscr

PROTON_DUMP_DEBUG_COMMANDS gdb_run crashes with infrun assertion error for gdb 8.2

protonopen
ValveSoftware/Proton#2032 · opened 2018-11-25 by minecraft2048 · updated 2018-11-25 · 0 comments · github
1 matching comments, n / p to jump
Mminecraft2048 2018-11-25 github

I'm trying to solve https://github.com/ValveSoftware/Proton/issues/103 and when I try to run gdb_run generated from PROTON_DUMP_DEBUG_COMMANDS it crashes with this:

002e:002f: create process 'Z:\home\feanor\.local\share\Steam\steamapps\common\NARUTO SHIPPUDEN Ultimate Ninja STORM 4\NSUNS4.exe'/0x119b0 @0x140b3b748 (0<0>)
002e:002f: create thread I @0x140b3b748
GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
002e:002f: loads DLL C:\windows\system32\KERNEL32.dll @0x7b420000 (0<0>)
002e:002f: loads DLL C:\windows\system32\ntdll.dll @0x7bc20000 (0<0>)
002e:002f: loads DLL C:\windows\system32\advapi32.dll @0x7f35068c0000 (0<0>)
002e:002f: loads DLL C:\windows\system32\gdi32.dll @0x7f3505950000 (0<0>)
002e:002f: loads DLL C:\windows\system32\version.dll @0x7f3507390000 (0<0>)
002e:002f: loads DLL C:\windows\system32\user32.dll @0x7f3505ad0000 (0<0>)
002e:002f: loads DLL C:\windows\system32\shlwapi.dll @0x7f3505d20000 (0<0>)
002e:002f: loads DLL C:\windows\system32\shell32.dll @0x7f3505dc0000 (0<0>)
002e:002f: loads DLL Z:\home\feanor\.local\share\Steam\steamapps\common\NARUTO SHIPPUDEN Ultimate Ninja STORM 4\steam_api64.dll @0x3b400000 (0<0>)
002e:002f: loads DLL C:\windows\system32\rpcrt4.dll @0x7f3505640000 (0<0>)
002e:002f: loads DLL C:\windows\system32\ole32.dll @0x7f35056f0000 (0<0>)
002e:002f: loads DLL C:\windows\system32\msacm32.dll @0x7f3507360000 (0<0>)
002e:002f: loads DLL C:\windows\system32\winmm.dll @0x7f3505870000 (0<0>)
002e:002f: loads DLL C:\windows\system32\MSVCR120.dll @0x240000 (0<0>)
002e:002f: loads DLL C:\windows\system32\MSVCP120.dll @0x180000000 (0<0>)
002e:002f: loads DLL C:\windows\system32\mpr.dll @0x7f3507330000 (0<0>)
002e:002f: loads DLL C:\windows\system32\ws2_32.dll @0x7f3505570000 (0<0>)
002e:002f: loads DLL C:\windows\system32\wininet.dll @0x7f35055b0000 (0<0>)
002e:002f: loads DLL C:\windows\system32\wldap32.dll @0x7f35052a0000 (0<0>)
002e:002f: loads DLL C:\windows\system32\vulkan-1.dll @0x7f3505550000 (0<0>)
002e:002f: loads DLL C:\windows\system32\winevulkan.dll @0x7f3505250000 (0<0>)
002e:002f: loads DLL C:\windows\system32\msvcrt.dll @0x7f3504770000 (0<0>)
002e:002f: loads DLL C:\windows\system32\dxgi.dll @0x6f200000 (0<0>)
002e:002f: loads DLL C:\windows\system32\d3d11.dll @0x6a340000 (0<0>)
002e:002f: loads DLL C:\windows\system32\d3dcompiler_47.dll @0x7f35046e0000 (0<0>)
0000002e:0000002f: unload DLL @0x7f35046e0000
002e:002f: loads DLL Z:\home\feanor\.local\share\Steam\steamapps\common\NARUTO SHIPPUDEN Ultimate Ninja STORM 4\D3DCOMPILER_47.dll @0x330000 (0<0>)
002e:002f: loads DLL C:\windows\system32\imm32.dll @0x7f3505530000 (0<0>)
002e:002f: loads DLL C:\windows\system32\xinput9_1_0.dll @0x7f3505230000 (0<0>)
002e:002f: loads DLL C:\windows\system32\winex11.drv @0x7f3503dc0000 (0<0>)
warning: remote target does not support file transfer, attempting to access files from local filesystem.
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
0x000000007bc93395 in DbgBreakPoint ()
   from /home/feanor/.local/share/Steam/steamapps/common/Proton 3.16/dist/bin/../lib64/wine/ntdll.dll.so
Wine-gdb> next
start_process (entry=0x140b3b748, peb=0x7fffffeaf000)
    at ../../../../wine/dlls/kernel32/process.c:1062
1062	../../../../wine/dlls/kernel32/process.c: No such file or directory.
Wine-gdb> next
002e:002f: loads DLL C:\windows\system32\lsteamclient.dll @0x7f3502980000 (0<0>)
002e:002f: loads DLL C:\windows\system32\openvr_api_dxvk.dll @0x244f0000 (0<0>)
002e:002f: loads DLL C:\windows\system32\api-ms-win-core-synch-l1-2-0.dll @0x7f3503d50000 (0<0>)
002e:002f: loads DLL C:\windows\system32\api-ms-win-core-fibers-l1-1-1.dll @0x7f3503d40000 (0<0>)
002e:002f: loads DLL C:\windows\system32\api-ms-win-core-localization-l1-2-1.dll @0x7f3503d30000 (0<0>)
Xlib:  extension "NV-GLX" missing on display ":0.0".
0000002e:00000035: create thread D @0x6f28b870
0000002e:00000036: create thread D @0x6f28b870
0000002e:00000037: create thread D @0x6f28b870
0000002e:00000038: create thread D @0x6f28b870
0000002e:00000039: create thread D @0x6f28b870
0000002e:0000003a: create thread D @0x6f28b870
0000002e:0000003b: create thread D @0x6a42dd00
0000002e:0000003c: create thread D @0x265024
0000002e:0000003d: create thread D @0x265024
0000002e:0000003e: create thread D @0x265024
0000002e:0000003f: create thread D @0x265024
0000002e:00000040: create thread D @0x265024
0000002e:00000041: create thread D @0x265024
0000002e:00000042: create thread D @0x265024
0000002e:00000043: create thread D @0x265024
0000002e:00000044: create thread D @0x265024
0000002e:00000045: create thread D @0x265024
0000002e:00000046: create thread D @0x265024
0000002e:00000047: create thread D @0x265024
0000002e:00000048: create thread D @0x265024
0000002e:00000049: create thread D @0x265024
0000002e:0000004a: create thread D @0x265024
0000002e:0000004b: create thread D @0x265024
0000002e:0000004c: create thread D @0x265024
0000002e:0000004d: create thread D @0x265024
0000002e:0000004e: create thread D @0x265024
0000002e:0000004f: create thread D @0x265024
0000002e:00000050: create thread D @0x265024
0000002e:00000051: create thread D @0x265024
0000002e:00000052: create thread D @0x265024
0000002e:00000053: create thread D @0x265024
0000002e:00000054: create thread D @0x265024
0000002e:00000055: create thread D @0x265024
0000002e:00000056: create thread D @0x265024
0000002e:00000057: create thread D @0x265024
0000002e:00000058: create thread D @0x265024
0000002e:00000058: exit thread (0)
0000002e:00000059: create thread D @0x265024
0000002e:00000059: exit thread (0)
0000002e:0000005a: create thread D @0x265024
[New Thread 81]
infrun.c:5534: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

infrun.c:5534: internal-error: int finish_step_over(execution_control_state*): Assertion `ecs->event_thread->control.trap_expected' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) 

Is there any GDB version that is known to work with this script?

Proton versions

Launch options

Upstream links

DLLs