New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to cancel SendMessage when switching apps in some cases #3825
Comments
Comment 2 by jteh on 2014-01-29 04:43 |
Comment 3 by James Teh <jamie@... on 2014-01-29 04:44
Changes:
|
Comment 4 by James Teh <jamie@... on 2014-01-31 08:02
|
Comment 5 by James Teh <jamie@... on 2014-02-03 10:39
|
Comment 6 by jteh on 2014-02-04 04:45 |
Comment 7 by James Teh <jamie@... on 2014-02-04 05:54
|
Comment 9 by James Teh <jamie@... on 2014-02-10 08:57
|
Comment 10 by James Teh <jamie@... on 2014-02-11 06:12
|
Comment 11 by James Teh <jamie@... on 2014-05-01 06:24
Changes:
|
Comment 12 by jteh on 2014-05-01 06:25 |
Reported by jteh on 2014-01-28 08:57
We hook SendMessage and SendMessageTimeout so that we can cancel them from watchdog. The hook uses SendMessageTimeout in a loop with a pretty short timeout. Unfortunately, it seems that SendMessageTimeout blocks until the window responds when switching apps in some cases, regardless of the timeout. SMTO_BLOCK fixes this, but it also breaks PowerPoint (#2900). I guess it gets stuck handling some sort of nonqueued message, but I can't see that in the stack.
Str:
Watchdog can't recover from this freeze, no matter how hard it tries.
We can get around this by running SendMessageTimeout in a background thread.
Blocked by #3801, #3859
The text was updated successfully, but these errors were encountered: