Skip to content
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

DestroyNotify: thread blocked indefinitely in an STM transaction #6

Open
jchnkl opened this issue Apr 25, 2014 · 0 comments
Open

DestroyNotify: thread blocked indefinitely in an STM transaction #6

jchnkl opened this issue Apr 25, 2014 · 0 comments

Comments

@jchnkl
Copy link
Contributor

jchnkl commented Apr 25, 2014

I get repeatable BlockedIndefinitelyOnSTM exceptions whenever a client exits and a DestroyNotify event is issued.
Edit:
The error happens only if the window which generates the DestroyNotify event had its focus set with SetInputFocus. If then a request (e.g. ConfigureWindow) is issued prior to the DestroyNotify event, e.g. in response to a LeaveNotify event on the now non-existing window, the error will occur.

Edit 2:
As a workaround I've getInputFocus c >>= void . getReply in the LeaveNotify event handler. Now the error doesn't occur anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant