tests: show summary and last executed test in case of a crash

Peter Oberndorfer kumbayo84 at arcor.de
Tue May 22 14:24:50 CDT 2007

Some tests on http://test.winehq.org/data/ seem to crash silently.

This patch might be useful for debugging such crashes.
It prints out the last ok/trace that was executed before the crash,
the exception address and the type of the crash.
It also print out the summary that is normally printed at the end of the test
instead of exiting silently[1].

On wine it still executes winedbg for better debugging after dumping out the info.

My concern now is that it requires a change to the parser which accepts the test reports,
so those crashes are not lost.
And don't know much about this parser.

Suggestions, ideas anyone?

Greetings Peter

[1] example output:

file.c:1228:FileSize: 0
file.c:1229:Unknown2[0]: 0
Test crashed at B7D0DF47 with error c0000005
Last test before crash: file.c:1239
file: 19 tests executed (0 marked as todo, 3 failures), 0 skipped.
wine: Unhandled page fault on write access to 0x00001234 at address 0xb7d0df47 (thread 0009), starting debugger...
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b

-------------- next part --------------
A non-text attachment was scrubbed...
Name: c001f20d840486565a2ab91e587be8926666a74c.diff
Type: text/x-patch
Size: 1690 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070522/807d02e5/c001f20d840486565a2ab91e587be8926666a74c.bin

More information about the wine-devel mailing list