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

(Rare) deadlock in TestSuite #256

Open
edsko opened this issue Sep 13, 2014 · 1 comment
Open

(Rare) deadlock in TestSuite #256

edsko opened this issue Sep 13, 2014 · 1 comment
Labels

Comments

@edsko
Copy link
Collaborator

edsko commented Sep 13, 2014

Very occasionally the test suite seems to deadlock. @dcoutts , perhaps you review the section "Concurrency Control" in TestSuite/TestSuite/State.hs and see if anything jumps out at you?

@dcoutts
Copy link
Collaborator

dcoutts commented Sep 14, 2014

Nothing jumps out at me. What does this deadlock look like? Is it a 0% cpu deadlock or a 100% livelock? A 0% cpu deadlock should be impossible with STM, so if that's the case then it cannot be in those concurrency control functions. If it's livelock then it could plausibly be many transactions retrying and failing. Many of the transactions are read;write on the same var, so if we have loads and loads of threads doing that then we could get lots of reties. Whether that'd be enough to block the progress of e.g. giving up exclusive access I don't know.

@mgsloan mgsloan added the bug label Jul 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants