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

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 5 17:03:11 CST 2018


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

--- Comment #13 from Panard <panard at inzenet.org> ---
Created attachment 60151
  --> https://bugs.winehq.org/attachment.cgi?id=60151
output with WINEDEBUG=+ole

Here is the complete output with WINEDEBUG=+ole showing the
CoWaitForMultipleHandles calls.
However, I cannot find who is calling it, I found no matching call in the wine
source code.. (parameters/logs do not match). Could it be called directly by
MTGO??
But it is clearly where things go wrong - once on collection tab, we get
flooded with "waiting for rpc completion or window message".

To complete the story of CoWaitForMultipleHandles, after adding additional
TRACE, what seems to happen is the following:
- when CoWaitForMultipleHandles calls MsgWaitForMultipleObjectsEx
(dlls/ole32/compobj.c:4513), this latter returns that 1 message is waiting
- but, when calling PeekMessageW, no message is found: the peek_message routine
fails due to a STATUS_PENDING returned by wineserver request... (and then it
tries again).

Let me know if you are interested in the patch to enable the additional TRACE
and the corresponding output mixing ole and msg.

Any idea how to go further?

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