[Bug 43728] Magic: The Gathering Online intensive CPU usage when idle

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 5 15:16:33 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=43728

--- Comment #12 from Anton Romanov <theli.ua at gmail.com> ---
(In reply to Panard from comment #11)
> So here is what is happening:
> 
> 1. Call to CoWaitForMultipleHandles (ole32/compobj.c)
> 2. Enters while(TRUE) section with message_loop = TRUE
> 3. Call MsgWaitForMultipleObjectsEx (line 4513 of vanilla git)
> 4. Returns WAIT_OBJECT_0 + cHandles, enters the if section (line 4517)
> 5. COM_CurrentApt()->filter is false
> 6. Call to COM_PeekMessage
> 7. Call to PeekMessageW twice, both returns 0
> 8. Therefore the continue instruction restarts the loop, and we go back to 3.
> 
> Using WINEDEBUG=ole, we can see some CoWaitForMultipleHandles call
> terminate, but I suspect there could be parallel ones to an infinite one..
> but what we can also see is an infinite flood of
> trace:ole:CoWaitForMultipleHandles waiting for rpc completion or window
> message
> 
> We would need an expert of the ole32 dll to help here..

Where is CoWaitForMultipleHandles even called from? Its not in your log extract

-- 
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