kernel32/tests: Avoid crashing when exception info[0] contains wrong value.

Sebastian Lackner sebastian at fds-team.de
Mon Oct 27 04:12:18 CDT 2014


Some of the testbot VMs show very weird behaviour in the kernel32/virtual tests on Windows (see: https://test.winehq.org/data/tests/kernel32:virtual.html ).
For some unknown reason ExceptionInformation[0] is wrong, which causes the tests to crash. This patch ensures that a second exception handler is present, and the exception is handled before the tests crash.

Please note that I have still no idea why exactly the values are wrong and I almost suspect that it is a virtualization bug. Has anyone a real Windows machine where the issue is present?

---
 dlls/kernel32/tests/virtual.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-tests-Avoid-crashing-when-exception-info-0-.patch
Type: text/x-patch
Size: 1024 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141027/f6d7b23d/attachment.bin>


More information about the wine-patches mailing list