[Bug 47101] New: Multiple 64-bit game and application crash reporting tools need x86_64 ' ntdll.RtlCaptureStackBackTrace' implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 29 16:38:11 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47101

            Bug ID: 47101
           Summary: Multiple 64-bit game and application crash reporting
                    tools need x86_64 'ntdll.RtlCaptureStackBackTrace'
                    implementation
           Product: Wine
           Version: 4.7
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says. Application generated backtraces for x86_64 are currently crash
site only which is not that useful (no call chain context). Many games/apps
install their own top level UnhandledExceptionFilter hence winedbg is not in
the picture here.

Compare the crash report with 64-bit client from bug 47096 ("World of Warships
0.8.3.x client (DirectX 11) crashes when post-battle results screen is about to
be displayed"):

--- snip ---
Application C:/Games/World_of_Warships/bin64/WorldOfWarships64.exe crashed
04.29.2019 at 23:02:02

Message:
Unhandled exception

Hash: 0
EIP: 0x0000000040B3B3B5

Current thread #89 native trace:
(0) : WorldOfWarships64.exe!0x0000000140B3B3B5

System info:
    OS Name: Windows 7
    OS Version: 6.6 SP1
    OS Architecture: x86_64

Memory info:
    Virtual memory: 64Kb/137438953343Kb (1%)
    Working set (process physical memory): 3638796Kb/16302720Kb (22%)
    Commit charge (working set + process page file usage): 3508232Kb/24527484Kb
(14%)
    Global physical memory: 6681344Kb/16302720Kb (40%)
    Global commitable memory (physical + pagefile): 6806272Kb/24527484Kb (28%)

System info:
APPLICATION = DISPLAYDEVICE 0 = \\.\DISPLAY1, X11 Windowing System,
PCI\VEN_0000&DEV_0000
--- snip ---

vs. the 32-bit client:

--- snip ---
Application C:/Games/World_of_Warships/bin32/WorldOfWarships32.exe crashed
04.29.2019 at 12:47:21

Message:
Unhandled exception

Hash: 11898
EIP: 0x0000000000C70127

Current thread #9 native trace:
(0) : WorldOfWarships32.exe!0x00C70127
(0) : WorldOfWarships32.exe!0x00D925A3
(0) : WorldOfWarships32.exe!0x00D9270D
(0) : WorldOfWarships32.exe!0x00D8A018
(0) : WorldOfWarships32.exe!0x00A8C40E
(0) : WorldOfWarships32.exe!0x00B14B79
(0) : WorldOfWarships32.exe!0x00B14B79
(0) : WorldOfWarships32.exe!0x00A83853
(0) : WorldOfWarships32.exe!0x00A7EC11
(0) : WorldOfWarships32.exe!0x00A7C173
(0) : WorldOfWarships32.exe!0x00A127FB
(0) : KERNEL32.dll!call_process_entry

System info:
    OS Name: Windows 7
    OS Version: 6.6 SP1
    OS Architecture: x86_64

Memory info:
    Virtual memory: 64Kb/4194175Kb (1%)
    Working set (process physical memory): 1802200Kb/4194175Kb (42%)
    Commit charge (working set + process page file usage): 1648804Kb/4194175Kb
(39%)
    Global physical memory: 5635652Kb/16302720Kb (34%)
    Global commitable memory (physical + pagefile): 5702212Kb/24527484Kb (24%)

System info:
APPLICATION = DISPLAYDEVICE 0 = \\.\DISPLAY1, X11 Windowing System,
PCI\VEN_0000&DEV_0000
--- snip ---

NOTE: There is bug 40868 ("World of Warcraft 7 (Legion expansion beta realm
version) client causes a lot of seh:RtlCaptureStackBackTrace stub noise in
console") with Wine-Staging patch but that one is of cosmetic nature.

Wine source:

https://source.winehq.org/git/wine.git/blob/5bd1b2652c844a2522131bd26feb95231f718986:/dlls/ntdll/signal_x86_64.c#l4436

--- snip ---
4436 /*************************************************************************
4437  *              RtlCaptureStackBackTrace (NTDLL.@)
4438  */
4439 USHORT WINAPI RtlCaptureStackBackTrace( ULONG skip, ULONG count, PVOID
*buffer, ULONG *hash )
4440 {
4441     FIXME( "(%d, %d, %p, %p) stub!\n", skip, count, buffer, hash );
4442     return 0;
4443 }
--- snip ---

There is already an implementation for x86_64 'ntdll.RtlVirtualUnwind' which
can be utilized for implementing stackwalks with unwind metadata.

$ wine --version
wine-4.7

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list