http://bugs.winehq.org/show_bug.cgi?id=26944
Summary: GomezPEER fails to end gozilla.exe Product: Wine Version: 1.3.18 Platform: x86-64 URL: http://lastmile.gomez.com/PEERInstall.exe OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: kennybobs@o2.co.uk
Created an attachment (id=34375) --> (http://bugs.winehq.org/attachment.cgi?id=34375) Wine 1.3.18 console output
GomezPEER runs it's own implementation of the Mozilla client (which I believe is based on Firefox 3.5.8). After so long the PEER complains that gozilla.exe is already running and should be closed before continuing. gozilla.exe does indeed stay loaded and does not exit. Under Windows 7 the PEER does not have this problem.
After exiting GomezPEER normally, gozilla.exe remains in memory and has to be killed, which is what happens in the log when this occurs err:ntdll:RtlpWaitForCriticalSection section 0x8765ac "?" wait timed out in thread 005e, blocked by 004a, retrying (60 sec) not sure what it's waiting for.
Log attached, although it doesn't offer a great deal (ignore the trickle errors).
vcrun2005 is installed due to bug 24745 but this makes no noticeable difference to the application at all (although it's nearly all background).
You need to log in to see this behaviour.
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2011-09-25 19:27:24 CDT --- Still true in Wine 1.3.28, and I can confirm that this problem does not occur in Windows XP or 7.
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Ken Sharp kennybobs@o2.co.uk 2011-11-07 08:34:19 CST --- Still present in Wine 1.3.31 but apparently fixed in 1.3.32. Ran overnight and the problem did not occur.
http://bugs.winehq.org/show_bug.cgi?id=26944
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2011-11-18 13:04:54 CST --- Closing bugs fixed in 1.3.33.
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|FIXED |
--- Comment #4 from Ken Sharp kennybobs@o2.co.uk 2012-07-23 19:57:23 CDT --- Problem occurs at random intervals and is probably due to the fact that gozilla.exe is a Firefox variant that, apparently, runs various tasks. It's not possible to figure out what is actually happening as it is a background app.
Firefox is open source, but it's not clear if Gómez should be sharing the modified source.
Bug is back in 1.5.9 or was never fixed - difficult to tell and regressions are incredibly difficult to bisect in Precise.
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #5 from Ken Sharp kennybobs@o2.co.uk 2012-07-31 18:00:14 CDT --- This occurs a LOT more often when the hard disk utilisation is high (such as during partition to partition copies or when memory is being swapped out).
I'm not sure what would cause this but it certainly seems relevant.
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #6 from Austin English austinenglish@gmail.com 2012-08-01 13:19:25 CDT --- (In reply to comment #5)
This occurs a LOT more often when the hard disk utilisation is high (such as during partition to partition copies or when memory is being swapped out).
I'm not sure what would cause this but it certainly seems relevant.
That brings up the possibility that it's a kernel bug.
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #7 from Ken Sharp kennybobs@o2.co.uk 2012-08-22 08:49:25 CDT --- http://ubuntuforums.org/showthread.php?p=12188041
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs AssignedTo|wine-bugs@winehq.org |kennybobs@o2.co.uk Summary|GomezPEER fails to end |taskkill needs to handle |gozilla.exe |both / and - switches
--- Comment #8 from Ken Sharp kennybobs@o2.co.uk 2012-09-28 22:06:11 CDT --- The solution is unbelievably simple!
GómezPEER executes TASKKILL -F -IM gozilla.exe
This fails because taskkill only handled / switches.
Changing two characters in the source works around this bug. I have no idea how to add "/ or -" to the code (efficiently) or I would submit a patch.
I will come back to this in a couple of days as it's late here.
Attaching two simple patches to solve the Gómez problem only, for reference.
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #9 from Ken Sharp kennybobs@o2.co.uk 2012-09-28 22:08:04 CDT --- Created attachment 41873 --> http://bugs.winehq.org/attachment.cgi?id=41873 Simplest patch
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #10 from Ken Sharp kennybobs@o2.co.uk 2012-09-28 22:08:59 CDT --- Created attachment 41874 --> http://bugs.winehq.org/attachment.cgi?id=41874 Bit more involved patch
There's bound to be a better way to do this then to define the "dash"es but I'll look at it later.
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #11 from Ken Sharp kennybobs@o2.co.uk 2012-09-29 19:18:24 CDT --- Patch sent. http://www.winehq.org/pipermail/wine-patches/2012-September/118350.html
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kennybobs@o2.co.uk |wine-bugs@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #41873|0 |1 is obsolete| | Attachment #41874|0 |1 is obsolete| |
--- Comment #12 from Ken Sharp kennybobs@o2.co.uk 2012-10-08 18:12:44 CDT --- Created attachment 42030 --> http://bugs.winehq.org/attachment.cgi?id=42030 Patch
This works perfectly well, and traces show this. Feel free to "correct" this as I clearly have no idea what I'm doing.
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #13 from Ken Sharp kennybobs@o2.co.uk 2012-10-08 18:17:22 CDT --- Created attachment 42031 --> http://bugs.winehq.org/attachment.cgi?id=42031 taskkill.exe (Linux)
Alternatively drop this precompiled .exe in-place and it works fine, but only works on Linux. It's still safer to compile yourself...
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch |
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #14 from Bruno Jesus 00cpxxx@gmail.com 2012-10-08 18:29:38 CDT --- Created attachment 42032 --> http://bugs.winehq.org/attachment.cgi?id=42032 Dashes to slashes
Please, give this patch a try.
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #15 from Ken Sharp kennybobs@o2.co.uk 2012-10-09 17:51:09 CDT --- Thanks Bruno. This patch seems to work fine.
http://bugs.winehq.org/show_bug.cgi?id=26944
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |00cpxxx@gmail.com
--- Comment #16 from Bruno Jesus 00cpxxx@gmail.com 2012-10-09 19:13:07 CDT --- Feel free to send to wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #17 from Ken Sharp kennybobs@o2.co.uk 2012-10-10 12:12:04 CDT --- http://www.winehq.org/pipermail/wine-patches/2012-October/118733.html
http://bugs.winehq.org/show_bug.cgi?id=26944
--- Comment #18 from Austin English austinenglish@gmail.com 2013-03-05 17:09:38 CST --- Still in wine-1.5.25-69-g402b100
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source
--- Comment #19 from Ken Sharp imwellcushtymelike@gmail.com --- Still present in Wine 1.7.11.
Wine's regedit handles both - and / but in a very different way (for reference).
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #20 from Ken Sharp imwellcushtymelike@gmail.com --- Scrub that: it actually seems to work although I cannot find any change in the code.
$ wine-git notepad & sleep 10 ; wine-git taskkill /im notepad.exe [1] 347579 Close message sent to top-level windows of process "notepad.exe" with PID 8.
$ wine-git notepad & sleep 10 ; wine-git taskkill -im notepad.exe [1] 347679 Close message sent to top-level windows of process "notepad.exe" with PID 8.
Fixed then.
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |---
--- Comment #21 from Ken Sharp imwellcushtymelike@gmail.com --- Turns out I had a "fixed" taskkill.exe in my path!
http://bugs.winehq.org/show_bug.cgi?id=26944
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEW
--- Comment #22 from Ken Sharp imwellcushtymelike@gmail.com --- Still an issue in Wine 1.7.11.
http://bugs.winehq.org/show_bug.cgi?id=26944
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |8a7687d868728bd3c9fe922562f | |5a78045f05242 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #23 from Bruno Jesus 00cpxxx@gmail.com --- Patch commited: http://source.winehq.org/git/wine.git/?a=commit;h=8a7687d868728bd3c9fe922562...
https://bugs.winehq.org/show_bug.cgi?id=26944
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.12.