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

Do not destroy the lock until the event is deregistered. #319

Merged
merged 1 commit into from
Jan 28, 2020

Conversation

jjhursey
Copy link
Member

  • Otherwise the evhandler callback could be referencing
    a rellock variable that was previous destroyed thus
    possibly corrupting memory, but more likely (as seen in debug)
    causing the lock/unlock around the variable to deadlock causing
    prun to hang.

 * Otherwise the `evhandler` callback could be referencing
   a `rellock` variable that was previous destroyed thus
   possibly corrupting memory, but more likely (as seen in debug)
   causing the lock/unlock around the variable to deadlock causing
   `prun` to hang.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
@jjhursey jjhursey requested a review from rhc54 January 28, 2020 16:37
@jjhursey jjhursey mentioned this pull request Jan 28, 2020
@rhc54 rhc54 merged commit a084fb9 into openpmix:master Jan 28, 2020
@jjhursey jjhursey deleted the fix-prun-lock branch January 28, 2020 18:52
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.

2 participants