http://bugs.winehq.org/show_bug.cgi?id=9729
Summary: Regression: gdi/x11 related changes cause lockups in various win32 gui apps Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: wine-gdi-(printing) AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
I experienced several gdi/x11 lockups in various windows gui applications with recent git snapshots. While trying to verify a bug (http://bugs.winehq.org/show_bug.cgi?id=9724) I noticed that application is actually quite good for reproducing (instant lockup on file open/save dialog). Though it suffers from other bugs unrelated to this one so I filed this issue as separate bug.
This is a regression, causing gui applications to completely lock up
--- snip --- err:ntdll:RtlpWaitForCriticalSection section 0x617e8ca0 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0009, blocked by 0016, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x61270a80 "gdiobj.c: GDI_level" wait timed out in thread 0016, blocked by 0009, retrying (60 sec) --- snip ---
First bad commit is:
--- snip --- baa8d225435f3bc029825b7601ca34a580b5e293 is first bad commit commit baa8d225435f3bc029825b7601ca34a580b5e293 Author: Alexandre Julliard julliard@winehq.org Date: Mon Sep 17 16:48:56 2007 +0200
gdi32: Replace DC_GetDCUpdate by get_dc_ptr+update_dc in the bitmap functions.
:040000 040000 c2e3cf9b099b159ba06b616f12396d3eec97b053 4f3af2c6e18421d1b8db70a2f7558a9ab74f40b2 M dlls --- snip ---
It should be noted that this commits cause immediate lockup in some applications - but not all. It's possible that later commits escalate this problem/behaviour further.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2007-09-21 05:45:10 --- Please attach a backtrace of the two offending threads.
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #2 from Anastasius Focht focht@gmx.net 2007-09-21 08:01:41 --- Created an attachment (id=8164) --> (http://bugs.winehq.org/attachment.cgi?id=8164) backtrace of process threads (deadlocked)
Hello,
attached is backtrace of process threads.
Gdi deadlock between Thread 0x18 and 0xB
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Summary|Regression: gdi/x11 related |gdi/x11 related changes |changes cause lockups in |cause lockups in various |various win32 gui apps |win32 gui apps
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2007-09-21 13:42:08 ---
It's possible that later commits escalate this problem/behaviour further.
Actually later commits should fix most of these issues. Did you get the backtrace you posted with the git tip, or with only the above commit?
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #4 from Anastasius Focht focht@gmx.net 2007-09-22 04:22:53 --- Created an attachment (id=8169) --> (http://bugs.winehq.org/attachment.cgi?id=8169) icad gdi/x11 deadlock with wine_0_9_45-256-g8d1a859
Hello,
icad applocation gdi/x11 deadlock with latest git snapshot: wine_0_9_45-256-g8d1a859 No change.
Thread 0x34 vs. thread 0x27
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #5 from Anastasius Focht focht@gmx.net 2007-09-22 04:26:22 --- Created an attachment (id=8170) --> (http://bugs.winehq.org/attachment.cgi?id=8170) total commander x11/gdi deadlock with wine_0_9_45-256-g8d1a859
Hello,
"total commander" application gdi/x11 deadlock with latest git snapshot: wine_0_9_45-256-g8d1a859 This deadlock happened during use of scrollbar in file manager (directory/file view). Scrolling directory view fast up and down locks it up.
Thread 0xF vs. thread 0xB
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-09-22 05:25:05 --- These lock-ups happen for me as well, very frequently. I was wondering, are we the only two persons that have this problem? This is really a blocker for me, it prevents me from running majority of applications :(
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #7 from Anastasius Focht focht@gmx.net 2007-09-22 11:18:25 --- Created an attachment (id=8174) --> (http://bugs.winehq.org/attachment.cgi?id=8174) another gdi/x11 deadlock with latest git (dvd fab platinum)
Hello,
"DVD Fab Platinum" my favorite dvd copy/ripping app ... gdi/x11 deadlock with latest git snapshot: wine_0_9_45-256-g8d1a859
As previously said ... wine is almost unusable with this issue present.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #8 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-09-23 12:07:33 --- Maybe the following might help: Eudemons game installer locks up too, so i reverted back to wine-0.9.44 The moment current git locks up, wine-0.9.44 prints out the following message:
fixme:x11drv:X11DRV_SetWindowRgn not supported on other thread window 0x20024
So maybe it's related to that issue
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #9 from Anastasius Focht focht@gmx.net 2007-09-25 09:50:54 --- Created an attachment (id=8207) --> (http://bugs.winehq.org/attachment.cgi?id=8207) icad gdi/x11 deadlock with wine_0_9_45-347-gd4193a9
Hello,
wine --version wine-0.9.45-347-gd4193a9
the lastest set of patches related to gdi/x11 locking do NOT fix this issue. Attached is deadlock with most recent GIT.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #10 from Anastasius Focht focht@gmx.net 2007-09-26 08:36:07 --- Created an attachment (id=8221) --> (http://bugs.winehq.org/attachment.cgi?id=8221) spellforce2 demo installer gdi/x11 deadlock wine_0_9_45-364-gfa5230f
Hello,
wine --version wine-0.9.45-364-gfa5230f
Deadlock with spellforce2 demo installer.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2007-09-27 14:49:32 --- I believe I have fixed these deadlocks now. If you find more of them please post the backtraces again.
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #12 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-09-28 01:07:10 --- Created an attachment (id=8251) --> (http://bugs.winehq.org/attachment.cgi?id=8251) backtrace
Still present in current git, using the Switchball installer (www.atomicelbow.com) It happens somehwere in the end
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #13 from Alexandre Julliard julliard@winehq.org 2007-09-28 06:08:09 --- This last one is a wined3d bug. I filed bug 9810 to track the broken ENTER_GL locking.
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #14 from Anastasius Focht focht@gmx.net 2007-11-08 08:53:12 --- Created an attachment (id=9030) --> (http://bugs.winehq.org/attachment.cgi?id=9030) Another gdi/x11 deadlock ...
Hello,
to keep this topic alive, another gdi/x11 deadlock ...
Thread 0x17 vs. 0x1B
wine-0.9.48-422-g0bfba69 DVD Fab Platinum 3.2.1.0
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
Éric Tremblay wine@deimos.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine@deimos.ca
--- Comment #15 from Éric Tremblay wine@deimos.ca 2007-11-26 15:07:05 --- This bug occurs with Adobe Audition with wine 0.9.46 up to current version (0.9.49).
Posted backtraces in (probably duplicate) bug report http://bugs.winehq.org/show_bug.cgi?id=9729
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #16 from Éric Tremblay wine@deimos.ca 2007-12-21 21:55:09 --- Still present in adobe audition with wine-0.9.51, regardless of dll-overrides for "gdiplus" :( ....how does one generate a backtrace so i can post it here? I don't remember how to get the builtin debugger in the console.
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #17 from Austin English austinenglish@gmail.com 2007-12-24 04:29:12 --- $ winedbg winedbg> bt all
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #18 from Éric Tremblay wine@deimos.ca 2007-12-25 14:35:14 --- Created an attachment (id=9800) --> (http://bugs.winehq.org/attachment.cgi?id=9800) Backtrace of Adobe Audition crash on startup
Here's a winedbg bt -all of Audition deadlocking on startup. The occurrence of this same bug upon playback could be another case altogether, but i wasn't able to get Audition to behave this way in the debugger.
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #19 from Éric Tremblay wine@deimos.ca 2008-01-03 15:53:38 --- Update: in wine 0.9.52 the lockup occurs often on playback in the multitrack (mixer) mode of Audition 1.5, where in 0.9.51 i had not been able to reproduce it, only in playback of single audio files. It also seems to occur much more often on startup of Audition than it did in the few previous Wine versions.
http://bugs.winehq.org/show_bug.cgi?id=9729
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #20 from Alexandre Julliard julliard@winehq.org 2008-02-07 13:38:18 --- This should be fixed now, please reopen if you still experience deadlocks.
http://bugs.winehq.org/show_bug.cgi?id=9729
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Dan Kegel dank@kegel.com 2008-02-12 00:06:49 --- All bugs in state FIXED should be closed each time we do a release to mark the fact that the fix is now released. If the bug is somehow not really fixed, the individual bug should be reopened.
http://bugs.winehq.org/show_bug.cgi?id=9729
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |
--- Comment #22 from Anastasius Focht focht@gmx.net 2008-05-03 09:46:13 --- Hello,
while doing some tests with Windows Media Player 11 installer (http://bugs.winehq.org/show_bug.cgi?id=10219), this bug struck again... Reopening. Attachment with backtrace of deadlocked threads will follow.
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #23 from Anastasius Focht focht@gmx.net 2008-05-03 09:49:37 --- Created an attachment (id=12669) --> (http://bugs.winehq.org/attachment.cgi?id=12669) Windows Media Player 11 updater gdi/x11 deadlock
Hello,
attached is condensed backtrace of both deadlocked threads. wine-0.9.61
Regards
http://bugs.winehq.org/show_bug.cgi?id=9729
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Target Milestone|--- |1.0.0
--- Comment #24 from Dan Kegel dank@kegel.com 2008-05-03 10:45:49 --- Worth a look for 1.0
http://bugs.winehq.org/show_bug.cgi?id=9729
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #25 from Alexandre Julliard julliard@winehq.org 2008-05-05 07:36:49 --- Should be fixed now.
http://bugs.winehq.org/show_bug.cgi?id=9729
Laurent Blume laurent@elanor.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |laurent@elanor.org
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #26 from Laurent Blume laurent@elanor.org 2008-05-06 10:29:05 --- (In reply to comment #25)
Should be fixed now.
I'm having those errors when trying to run the Adobe Reader 8.1.2 installer with 0.9.61 and today's CVS. See below for errors. I haven't tried any other application, since Adobe Reader is my sole target. When I tried with 0.9.54, the installer was working fine.
Could it be the same bug?
$ /opt/wine/bin/wine AdbeRdr812_fr_FR.exe err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count entries! err:iphlpapi:getRouteTable unimplemented! err:iphlpapi:getNumWithOneHeader Unable to open '/proc/net/route' to count entries! err:iphlpapi:getRouteTable unimplemented! Could not load Mozilla. HTML rendering will be disabled. wine: configuration in '/home/lblume/.wine' has been updated. err:ntdll:RtlpWaitForCriticalSection section 7f1c7540 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0009, blocked by 001f, retrying (60 sec) wine: Critical section 7f1c7540 wait failed at address 7ff53cd0 (thread 0009), starting debugger... Unhandled exception: wait failed on critical section 0x7f1c7540 err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 7ff53cd0
lblume@tehanu /export/data/téléchargements/Win32 $ Process of pid=0008 has terminated No process loaded, cannot execute 'echo Modules:' Cannot get info on module while no process is loaded No process loaded, cannot execute 'echo Threads:' process tid prio (all id:s are in hex) 0000000c 00000013 0 0000000e 0 0000000d 0 0000000f 00000012 0 00000011 0 00000010 0 00000016 00000017 0 You must be attached to a process to run this command. No process loaded, cannot execute 'detach' wine client error:11: write: Numéro de fichier erroné
http://bugs.winehq.org/show_bug.cgi?id=9729
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #27 from Alexandre Julliard julliard@winehq.org 2008-05-09 12:54:42 --- Closing bugs fixed in 1.0-rc1.
http://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #28 from Albert Lee trisk+winehq@acm.jhu.edu 2008-05-13 22:08:42 --- Created an attachment (id=13041) --> (http://bugs.winehq.org/attachment.cgi?id=13041) WINEDEBUG=trace+all wineprefixcreate
As a regression from 0.9.61 in 1.0-rc1, I am experiencing a consistent deadlock in any use of x11drv on Solaris Express (snv_81). pstack for the wineboot process is attached.
http://bugs.winehq.org/show_bug.cgi?id=9729
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
http://bugs.winehq.org/show_bug.cgi?id=9729
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |dffab36e8b4a0f9efaef9701da4 | |f75b1b976e02c Component|gdi32 |winex11.drv Version|unspecified |0.9.45. Regression SHA1| |baa8d225435f3bc029825b7601c | |a34a580b5e293
--- Comment #29 from Anastasius Focht focht@gmx.net 2011-10-12 04:29:27 CDT --- Hello,
filling/correcting fields ...
Regards
https://bugs.winehq.org/show_bug.cgi?id=9729
--- Comment #30 from Anastasius Focht focht@gmx.net --- *** Bug 10178 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=9729
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|gdi/x11 related changes |gdi32/x11 related changes |cause lockups in various |cause lockups in various |win32 gui apps |win32 gui apps since Wine | |0.9.45-54-gbaa8d225435 Version|0.9.45. |0.9.46. Keywords| |download URL| |https://web.archive.org/web | |/20060321204906/http://down | |load.adobe.com/pub/adobe/au | |dition/win/1.x/audition_1_5 | |_tryout_en.exe