http://bugs.winehq.org/show_bug.cgi?id=26130
Summary: ddraw/ddrawmodes crash under valgrind Product: Wine Version: 1.3.13 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source, testcase Severity: minor Priority: P2 Component: directx-ddraw AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Created an attachment (id=33294) --> (http://bugs.winehq.org/attachment.cgi?id=33294) valgrind log
Unhandled exception: illegal instruction in 32-bit code (0x00000000). 1 0x04762cc2 test_DirectDrawEnumerateA+0x5b() [/home/austin/wine-git/dlls/ddraw/tests/ddrawmodes.c:144] in ddraw_test (0x7f23fcf8) 2 0x04762cc2 test_DirectDrawEnumerateA+0x5b() [/home/austin/wine-git/dlls/ddraw/tests/ddrawmodes.c:144] in ddraw_test (0x7f23fd18) 3 0x04765f8a func_ddrawmodes+0x178() [/home/austin/wine-git/dlls/ddraw/tests/ddrawmodes.c:888] in ddraw_test (0x7f23fd78) 4 0x0478e477 run_test+0x9e(name="ddrawmodes.c") [/home/austin/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:556] in ddraw_test (0x7f23fe28) 5 0x0478e869 main+0x217(argc=<couldn't compute location>, argv=<couldn't compute location>) [/home/austin/wine-git/dlls/ddraw/tests/../../../include/wine/test.h:624] in ddraw_test (0x7f23fe60) 6 0x0478e8e6 __wine_spec_exe_entry+0x69(peb=0x7ffdf000) [/home/austin/wine-git/dlls/winecrt0/exe_entry.c:36] in ddraw_test (0x7f23fe78) 7 0x7b85de14 call_process_entry+0xb() in kernel32 (0x7f23fec8) 8 0x7b85df5a start_process+0x143(peb=0x7ffdf000) [/home/austin/wine-git/dlls/kernel32/process.c:1086] in kernel32 (0x7f23fed8) 9 0x7bc7c070 call_thread_func+0xb() in ntdll (0x7f23ffb8) 10 0x7bc7c0ae call_thread_entry_point+0x33(entry=0x7b85de16, arg=0x7ffdf000) [/home/austin/wine-git/dlls/ntdll/signal_i386.c:2499] in ntdll (0x7f23ffe8) 11 0x7bc541d0 start_process+0x2f(kernel_start=0x7b85de16) [/home/austin/wine-git/dlls/ntdll/loader.c:2606] in ntdll (0x00000000)
full log attached.
http://bugs.winehq.org/show_bug.cgi?id=26130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|directx-ddraw |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=26130
--- Comment #1 from Austin English austinenglish@gmail.com 2012-09-26 14:33:53 CDT --- Still in wine-1.5.13-346-g0445393
https://bugs.winehq.org/show_bug.cgi?id=26130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33294|0 |1 is obsolete| |
--- Comment #2 from Austin English austinenglish@gmail.com --- Created attachment 48245 --> https://bugs.winehq.org/attachment.cgi?id=48245 Still in wine-1.7.16-178-g7e874ae
https://bugs.winehq.org/show_bug.cgi?id=26130
--- Comment #3 from Henri Verbeet hverbeet@gmail.com --- This is probably more of a Valgrind issue than an issue with Wine or the tests. The test is calling DirectDrawEnumerateA() with a NULL callback on purpose, to test the exception handler in DirectDrawEnumerateExA(). It seems Valgrind doesn't handle that very well for some reason.
https://bugs.winehq.org/show_bug.cgi?id=26130
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Henri Verbeet from comment #3)
This is probably more of a Valgrind issue than an issue with Wine or the tests. The test is calling DirectDrawEnumerateA() with a NULL callback on purpose, to test the exception handler in DirectDrawEnumerateExA(). It seems Valgrind doesn't handle that very well for some reason.
Sounds like https://bugs.kde.org/show_bug.cgi?id=264785
https://bugs.winehq.org/show_bug.cgi?id=26130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=26130
--- Comment #5 from Austin English austinenglish@gmail.com --- Still in wine-1.7.51-225-g3966aff / valgrind 3.11.0
https://bugs.winehq.org/show_bug.cgi?id=26130
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine (3.12)?
https://bugs.winehq.org/show_bug.cgi?id=26130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED URL| |https://bugs.kde.org/show_b | |ug.cgi?id=264785 Resolution|--- |NOTOURBUG
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to joaopa from comment #6)
Is still a bug in current wine (3.12)?
Comment #3/#4 still apply
https://bugs.winehq.org/show_bug.cgi?id=26130
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |36670