Skip to content

Conversation

@methane
Copy link
Member

@methane methane commented Oct 24, 2014

@rmca
Copy link

rmca commented Oct 24, 2014

Seems to work.

BTW, I threw together a clumsy script to attempt to reproduce this. You may need to run it a few times to see it deadlock. Running it against a remote MySQL instance worked better for me but ymmv. Simulating some latency may do the trick as well.

https://gist.github.com/rmca/f6eb0c3bd33a632027dc

methane added a commit that referenced this pull request Oct 26, 2014
@methane methane merged commit 2e7a9e5 into master Oct 26, 2014
@methane methane deleted the fix/deadlock-in-dealloc branch October 26, 2014 14:06
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

Successfully merging this pull request may close these issues.

Deadlock on connection close triggered by interpreter clean up

3 participants