http://bugs.winehq.org/show_bug.cgi?id=13269
Summary: ntdll/tests/exception crashes Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: leffeman@gmail.com
test_exceptions crashes in NtSetContextThread on access to the passed CONTEXT.
I have managed to avoid the crash by doing one of the following things: * Put the CONTEXT on the stack. * Skip the memset call. * WINEDEBUG=trace+relay
Toolchain bug? Wine magic?
http://bugs.winehq.org/show_bug.cgi?id=13269
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2008-05-18 03:06:12 --- How do you run the test?
http://bugs.winehq.org/show_bug.cgi?id=13269
--- Comment #2 from Philip Nilsson leffeman@gmail.com 2008-05-18 14:02:11 --- (in 32-bit chroot) make check (in 32-bit chroot) ~/dev/wine/wine ntdll_test.exe.so exception (in 64-bit system with 32-bit libraries) ~/dev/wine/wine ntdll_test.exe.so exception
Same result (with winetest as well).
http://bugs.winehq.org/show_bug.cgi?id=13269
--- Comment #3 from Philip Nilsson leffeman@gmail.com 2008-05-19 15:41:26 --- I realized I didn't get this before, so I ran a bisect.
902aef85c0308b00d608bfce3378541c8c14fafb is first bad commit commit 902aef85c0308b00d608bfce3378541c8c14fafb Author: Alexandre Julliard julliard@winehq.org Date: Thu Mar 20 12:24:54 2008 +0100
ntdll: Add test cases for the direction flag.
The code of this commit is run just before the part that crashes, so I suppose it messes up the direction flag or something...
http://bugs.winehq.org/show_bug.cgi?id=13269
--- Comment #4 from Philip Nilsson leffeman@gmail.com 2008-05-19 16:02:06 --- Yes, commenting out the added test leaves the direction bit unset. I realize that seems the point of the previous test, but surely the next memset shouldn't be affected (or even everything up to the next exception handler)? Would the correct action be to clear the flag?
http://bugs.winehq.org/show_bug.cgi?id=13269
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, testcase
http://bugs.winehq.org/show_bug.cgi?id=13269
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-05-19 16:28:58 --- Yes the flag should be cleared after the test. I committed a fix.
http://bugs.winehq.org/show_bug.cgi?id=13269
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2008-05-19 16:29:19 --- Marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=13269
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-05-23 10:37:08 --- Closing bugs fixed in 1.0-rc2.
http://bugs.winehq.org/show_bug.cgi?id=13269
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified