http://bugs.winehq.org/show_bug.cgi?id=28817
Bug #: 28817 Summary: kernel32/tests/thread.ok fails under valgrind Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
After adding compiler options to work around bug 28640, kernel32/thread.ok passes on ubuntu 11.10, but under valgrind it fails with
thread.c:1413: Test failed: Expected FPU control word 0x27f, got 0x37f. thread.c:1416: Test failed: Expected FPU control word 0x27f, got 0x37f. thread.c:1420: Test failed: Expected FPU control word 0xf60, got 0xf7f. thread.c:1423: Test failed: Expected FPU control word 0x27f, got 0x37f. thread.c:1426: Test failed: Expected FPU control word 0xf60, got 0xf7f.
This could well be a problem with valgrind or how I'm using it. I'm using VALGRIND_OPTS="--trace-children=yes --track-origins=yes \ --gen-suppressions=all --suppressions=`pwd`/suppressions \ --leak-check=no --num-callers=30 --workaround-gcc296-bugs=yes \ --vex-iropt-precise-memory-exns=yes -v" export VALGRIND_OPTS and the stock valgrind 3.6.1 that comes with ubuntu 11.10.
http://bugs.winehq.org/show_bug.cgi?id=28817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
--- Comment #1 from Austin English austinenglish@gmail.com 2012-09-26 14:04:34 CDT --- I get this in valgrind-3.8.1 / wine-1.5.13-346-g0445393
http://bugs.winehq.org/show_bug.cgi?id=28817
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2012-09-26 14:16:00 CDT --- Valgrind bug.
http://bugs.winehq.org/show_bug.cgi?id=28817
--- Comment #3 from Dan Kegel dank@kegel.com 2012-09-26 14:26:29 CDT --- Got a link to the bug report?
http://bugs.winehq.org/show_bug.cgi?id=28817
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-09-26 15:49:00 CDT --- No, that was a hint for you to go file one ;-)
https://bugs.winehq.org/show_bug.cgi?id=28817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- austin@aw25 ~/wine-valgrind/dlls/kernel32/tests $ valgrind --version valgrind-3.9.0 austin@aw25 ~/wine-valgrind/dlls/kernel32/tests $ make thread.ok ../../../tools/runtest -q -P wine -T ../../.. -M kernel32.dll -p kernel32_test.exe.so thread && touch thread.ok fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub fixme:thread:SetThreadIdealProcessor (0xfffffffe): stub
fixed upstream.
https://bugs.winehq.org/show_bug.cgi?id=28817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #6 from Austin English austinenglish@gmail.com --- Whoops, wasn't valgrinding. Still present.
https://bugs.winehq.org/show_bug.cgi?id=28817
--- Comment #7 from Austin English austinenglish@gmail.com --- Created attachment 48236 --> https://bugs.winehq.org/attachment.cgi?id=48236 valgrind log in wine-1.7.17-42-g24c5728
https://bugs.winehq.org/show_bug.cgi?id=28817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.kde.org/show_b | |ug.cgi?id=335563
--- Comment #8 from Austin English austinenglish@gmail.com --- Filed upstream bug: https://bugs.kde.org/show_bug.cgi?id=335563
https://bugs.winehq.org/show_bug.cgi?id=28817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=28817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com --- Closing.
https://bugs.winehq.org/show_bug.cgi?id=28817
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED
--- Comment #10 from Austin English austinenglish@gmail.com --- This was inadvertently caught up in my unclosed bugs filter. NOTOURBUG should only be closed when fixed upstream.
Setting back to RESOLVED NOTOURBUG.
Sorry for the spam.