[Bug 20069] New: IE6 100% CPU usage
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Sep 17 02:26:13 CDT 2009
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 at winehq.org
ReportedBy: justonebug at 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
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list