-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Crash when cleaning up persistent sockets #3074
Labels
Comments
Finally got a core dump - this issue is very occasionally reoccurring. It contained some relevant information:
|
jmarrama
added a commit
to jmarrama/hhvm
that referenced
this issue
Jul 15, 2014
This is a fix for facebook#3074 where cleaning up dead persistent sockets sometimes caused a segfault, because the dead socket was removed from the persistent resource store before being closed. Removing an object from the persistent resource store can end up deleting the object, which is what happened in the segfault case.
facebook-github-bot
pushed a commit
that referenced
this issue
Jul 16, 2014
Summary: This is a fix for #3074 where cleaning up dead persistent sockets sometimes caused a segfault, because the dead socket was removed from the persistent resource store before being closed. Removing an object from the persistent resource store can end up deleting the object, which is what happened in the segfault case. Closes #3101 Created from: #3101 Reviewed By: mwilliams, ptarjan Differential Revision: D1435379
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following stacktrace:
The offending line at ext_socket.cpp:1090 was added in one of my recent pull requests to fix a failing test (see the last commit).
I'm worried that there might be a bad race condition between Sweepable::SweepAll() and calling sock->Close(), or something else weird is happening. FWIW, I observed this problem after clearing HHVM's on-disk HHBC cache.
The text was updated successfully, but these errors were encountered: