[Bug 50538] New: Wine child process exceptions are miscounted

WineHQ Bugzilla wine-bugs at winehq.org
Thu Jan 21 11:33:00 CST 2021


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

            Bug ID: 50538
           Summary: Wine child process exceptions are miscounted
           Product: Wine-Testbot
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: unknown
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

The "WTBS Crash in a child process (kernel32:toolhelp)." test case shows an
inconsistency in the test failures count between the Windows and Wine VMs.

On Windows we get:

1bec:toolhelp: unhandled exception c0000005 at 0054273D
toolhelp:471: unhandled exception c0000005 in child process 1bec
1750:toolhelp: 3 tests executed (0 marked as todo, 1 failure), 0 skipped.

Here there is 1 exception, 1 failure reported by the parent process but 2 error
lines, and the task's failure count ends up being 2.

But in Wine we get:

Unhandled exception: page fault on write access to 0x00000000 in 32-bit code
(0x00542c1d).
toolhelp:471: unhandled exception c0000005 in child process 0104
00fc:toolhelp: 3 tests executed (0 marked as todo, 1 failure), 0 skipped.

So there is still 1 exception, still 1 failure reported by the parent process,
still 2 error lines, but the task's failure count ends up being just 1.

The issue appears to be that ParseWineTestReport() (and probably dissect too)
detects ": unhandled exception...at" lines but not Wine's "Unhandled
exception:" ones.

This means the TestBot may fail to detect exceptions on Wine.

Meanwhile GetReportLineCategory() and _GetLineKey() detect both.

-- 
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