[PATCH 1/3] winedbg: Detect and handle identical stack frames when printing a backtrace.
Alexandre Julliard
julliard at winehq.org
Fri Jan 19 05:11:49 CST 2018
Zebediah Figura <z.figura12 at gmail.com> writes:
> Same as gdb, minus the 'corrupt stack?' message.
This breaks backtraces through code that doesn't set the frame pointer.
For instance, with the break removed:
=>0 0xf7f5adb9 __kernel_vsyscall+0x9() in [vdso].so (0x0033f5fc)
Backtrace stopped: previous frame identical to this frame
1 0xf7b65082 gsignal+0xc1() in libc.so.6 (0x0033f5fc)
2 0xf7b66796 abort+0x1b5() in libc.so.6 (0xf7d08ce0)
Backtrace stopped: previous frame identical to this frame
3 0xf7b5d11b in libc.so.6 (+0x2511a) (0xf7d08ce0)
4 0xf7b5d17b __assert_fail+0x3a() in libc.so.6 (0x0033f908)
Backtrace stopped: previous frame identical to this frame
5 0x7e4cd97b error_handler+0x1ca(display=0x7c9fa700, error_evt=0x33f93c) [/home/julliard/wine/wine/dlls/winex11.drv/x11drv_main.c:283] in winex11 (0x0033f908)
6 0x7e30cb7a _XError+0x119() in libx11.so.6 (0x7e41db1c)
7 0x7e30977b in libx11.so.6 (+0x3977a) (0x0033f9e8)
8 0x7e30983f in libx11.so.6 (+0x3983e) (0x7c9fa700)
Backtrace stopped: previous frame identical to this frame
9 0x7e30a866 _XReply+0x1b5() in libx11.so.6 (0x7c9fa700)
Backtrace stopped: previous frame identical to this frame
10 0x7e305f7f XSync+0x4e() in libx11.so.6 (0x7c9fa700)
Backtrace stopped: previous frame identical to this frame
11 0x7e30601a in libx11.so.6 (+0x36019) (0x7c9fa700)
Backtrace stopped: previous frame identical to this frame
12 0x7e308627 XCreateWindow+0xc6() in libx11.so.6 (0x7c9fa700)
13 0x7e4b685a create_gl_drawable+0x159(hwnd=<is not available>, gl=0x15c3c8) [/home/julliard/wine/wine/dlls/winex11.drv/opengl.c:1378] in winex11 (0x0033fbc8)
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list