http://bugs.winehq.org/show_bug.cgi?id=20919
Summary: Six tests usually or always hang in valgrind Product: Wine Version: 1.1.33 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The following six tests usually or always hang in Valgrind: kernel32 process.c ole32 marshal.c shdocvw webbrowser.c urlmon url.c winmm mci.c winmm wave.c I'll probably disable them in the test script to save the hour otherwise spent waiting for them to time out.
http://bugs.winehq.org/show_bug.cgi?id=20919
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
http://bugs.winehq.org/show_bug.cgi?id=20919
--- Comment #1 from Rob Shearman robertshearman@gmail.com 2009-12-06 10:22:08 --- For the ole32 marshal.c test please grab a +seh,+ole,+tid,+relay log if possible. If you can't reproduce with that set of debug options, drop the +relay and try again. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=20919
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robertshearman@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=20919
--- Comment #2 from Dan Kegel dank@kegel.com 2009-12-07 08:59:39 --- Created an attachment (id=25102) --> (http://bugs.winehq.org/attachment.cgi?id=25102) rzipped +seh,+ole,+tid,+relay log of valgrinding the marshal test
Here y'go. It does indeed hang. (I haven't tried using winedbg to get a backtrace of the hang yet...)
http://bugs.winehq.org/show_bug.cgi?id=20919
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2010-05-18 16:29:58 --- Dan, are you sure about winmm/mci.c? I can't remember it hanging for me, neither with wine-1.1.35 nor 1.1.44 in Ubuntu Lucid. It's dog slow, the machine becomes unresponsive, but it does not hang.
OTOH, ole32/clipboard.c hangs here (I was looking at that one because of bug #20204, back in September its failures modes resembled marshal.c), after: clipboard.c:1205: Test failed: got 0 clipboard.c:1315: Test failed: cf 0007 fixme:storage:create_storagefile Storage share mode not implemented. [another run went one line further:] clipboard.c:1512: Test failed: got 800300fb
I'm using no suppressions file and this command line: VALGRIND_OPTS="--trace-children=yes --log-file=/dev/shm/v%p.log --leak-check=full --malloc-fill=A5 --free-fill=DE --track-origins=yes" WINETEST_WRAPPER=valgrind make mci.ok (without any patch, e.g. not even your environment fixup patch)
winmm/wave.c indeed hangs here as well.
http://bugs.winehq.org/show_bug.cgi?id=20919
--- Comment #4 from Dan Kegel dank@kegel.com 2010-05-18 16:39:24 --- Not sure how long I waited before declaring mci hung. Maybe it's improved.
http://bugs.winehq.org/show_bug.cgi?id=20919
--- Comment #5 from Jörg Höhle hoehle@users.sourceforge.net 2010-05-19 11:14:04 --- winmm/wave.ok does not hang either, although it appears to do. I let it run for several hours at max CPU and it eventually run to completion.
Thanks to Dan's env patch to kernel32/process.c[*], I could launch the test with WINETEST_REPORT_SUCCESS=1 and see that it actually did something: almost continuously, the last line printed before a pause was
... xyz succeeded wave.c:621: Test succeeded wait ~5 seconds, then proceed with wave.c:660: Test succeeded ... more successes until running into line 621 again line 660 is WaveOutOpen. Something seems to cause Wine to spend a lot of time inside WaveOutOpen when running under Valgrind - perhaps all the ACM "try and find a driver for that format" machinery?
[*] isn't there a bug with that patch attached somewhere? I don't mean bug #14359, comment #0.
http://bugs.winehq.org/show_bug.cgi?id=20919
--- Comment #6 from Dan Kegel dank@kegel.com 2010-05-19 11:22:56 --- There was a valgrind bug for the env corruption https://bugs.kde.org/show_bug.cgi?id=215914 but it might be a bash or dash bug instead.
http://bugs.winehq.org/show_bug.cgi?id=20919
Scott Ritchie scott@open-vote.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scott@open-vote.org
--- Comment #7 from Scott Ritchie scott@open-vote.org 2010-07-14 23:59:43 --- For me ole32 marshal.c is hanging even without valgrind -- do you want another log?
http://bugs.winehq.org/show_bug.cgi?id=20919
--- Comment #8 from Austin English austinenglish@gmail.com 2010-08-06 07:17:23 --- (In reply to comment #7)
For me ole32 marshal.c is hanging even without valgrind -- do you want another log?
Yes, please. Though a new bug may be more appropriate.
http://bugs.winehq.org/show_bug.cgi?id=20919
--- Comment #9 from Austin English austinenglish@gmail.com 2011-01-13 02:31:06 CST --- All 6 work fine for me in wine-1.3.11-151-geb11dee / valgrind 3.6.0.
http://bugs.winehq.org/show_bug.cgi?id=20919
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #10 from Austin English austinenglish@gmail.com 2012-09-17 14:47:40 CDT --- (In reply to comment #9)
All 6 work fine for me in wine-1.3.11-151-geb11dee / valgrind 3.6.0.
No complaints, marking fixed.
http://bugs.winehq.org/show_bug.cgi?id=20919
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2012-09-28 13:43:43 CDT --- Closing bugs fixed in 1.5.14.