http://bugs.winehq.org/show_bug.cgi?id=20069
Summary: IE6 100% CPU usage Product: Wine Version: unspecified Platform: PC URL: https://bugs.launchpad.net/bugs/205895 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: justonebug@mailinator.com
This bug comes from Ubuntu Launchpad, and it is still present at wine-1.0.1-0ubuntu6.
https://bugs.launchpad.net/bugs/205895 Bug #205895 reported by slamdunk on 2008-03-24 I have installed Wine 0.9.58 on my Hardy and Internet Explorer 6 + Flash plugin (using ies4linux). After few seconds "top" command reports processes IEXPLORE.EXE & winserver ~ 100% cpu usage. After closing IE6, remains wineserver 100% cpu usage.
---------------------------------------------------------------------------
#35 bdkoepke wrote on 2008-07-10: There is an additional bug at http://www.winehq.org/pipermail/wine-bugs/2008-March/098758.html (bug 11916) This person found the same thing as me, the problem is with the kernel32 patch. I will compile a .deb with the patch reversed if anyone is interested. The exact patch for anyone that is interested: WARNING: this may break other applications.
--- a/dlls/kernel32/sync.c +++ b/dlls/kernel32/sync.c
@@ -270,9 +270,19 @@ HANDLE WINAPI RegisterWaitForSingleObjectEx( HANDLE hObject, WAITORTIMERCALLBACK Callback, PVOID Context, ULONG dwMilliseconds, ULONG dwFlags ) { - FIXME("%p %p %p %d %d\n", + NTSTATUS status; + HANDLE hNewWaitObject; + + TRACE("%p %p %p %d %d\n", hObject,Callback,Context,dwMilliseconds,dwFlags); - return 0; + + status = RtlRegisterWait( &hNewWaitObject, hObject, Callback, Context, dwMilliseconds, dwFlags ); + if (status != STATUS_SUCCESS) + { + SetLastError( RtlNtStatusToDosError(status) ); + return NULL; + } + return hNewWaitObject; }
---------------------------------------------------------------------------
#36 kolian wrote on 2008-07-25: Once patch has been rolled back it runs well. Need more testing. The underlining problem is somewhere in implementation of RtlRegisterWait. Seems like there is a loop while polling for an even to become signalled Somebody familiar with the internals should take a look at this as it will affect other applications. The result is hurting ubuntu as you can't run IE on hardy anymore.
---------------------------------------------------------------------------
#37 Tyler Wagner wrote on 2008-10-03: Hi all. I've recompiled wine with the patch bdkoepke described rolled back. It is available in my repo for hardy on i386 and amd64 here: deb http://www.tolaris.com/apt/ hardy main http://www.tolaris.com/apt/pool/main/w/wine/wine_1.0.0-2eitri1_i386.deb
http://bugs.winehq.org/show_bug.cgi?id=20069
--- Comment #1 from justonebug justonebug@mailinator.com 2009-09-17 03:08:15 --- Tested with 1.1.29~winehq0~ubuntu~9.04-0ubuntu2 and this bug is still present. However, wine_1.0.0-2eitri1_i386.deb works fine.
http://bugs.winehq.org/show_bug.cgi?id=20069
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|kernel32 |-unknown Resolution| |DUPLICATE
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-09-17 04:23:14 --- Duplicate. Basically report all IEs4Linux bugs to its developers.
*** This bug has been marked as a duplicate of bug 11916 ***
http://bugs.winehq.org/show_bug.cgi?id=20069
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Version|unspecified |1.0.1
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2009-09-17 04:24:22 --- Closing duplicate.
http://bugs.winehq.org/show_bug.cgi?id=20069
--- Comment #4 from justonebug justonebug@mailinator.com 2009-09-18 01:19:32 --- ¿?
ies4linux is just a script that downloads i6 binaries and runs the installation process. What about if I had installed the binaries myself? ( http://appdb.winehq.org/objectManager.php?sClass=application&iId=25 ). The problem is that RtlRegisterWait eats CPU. IE6 is just a way to test it, but it can affect other software as well. A simple configurable switch to disable the call would do the trick in the meantime. By closing the bug you are ignoring the problem. But do as you please.
http://bugs.winehq.org/show_bug.cgi?id=20069
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2009-09-18 01:37:16 --- (In reply to comment #4)
¿?
ies4linux is just a script that downloads i6 binaries and runs the installation process. What about if I had installed the binaries myself? (
Each native dll brings some instability which can't be supported here especially for rpc/com/dcom.
http://appdb.winehq.org/objectManager.php?sClass=application&iId=25 ). The problem is that RtlRegisterWait eats CPU. IE6 is just a way to test it, but it
If you digged to reason why it fails or have a testcase for that open a bug for kernel32.
A simple configurable switch to disable the call would do the trick in the meantime.
This is not a solution.