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
segfault in connclose (v1.6) #126
Comments
Thanks. The backtrace is really helpful. I tried to fix the markup, but I'm not sure this is what you intended. |
FYI, now I downgraded to v1.4.6. The same client code read/write to it, and it never crashes. So I suspect the newer version 1.5 and 1.6, is vulnerable to unclean client connection termination. |
@zhenghouzz could you please run this build of beanstalkd and let https://s3.amazonaws.com/krheroku/beanstalkd
If it works well I'll make a release. |
@kr, will give it try in production today or tomorrow. Thanks for the effort to get this fixed. |
@zhenghouzz how did the test go? |
@kr, I put this version on production, so far it works fine. I restarted connected clients and the server stays up. The action triggered the beanstalkd crash on the older v1.6. |
Excellent, thanks! Closing this as fixed in 7261f57. |
Actually, this is a dup of #119. |
I run into similar problem as #71. I built from v1.6.zip on ubuntu 10.04. I double-checked the src and cb16211 patch has been applied.
My use case is: I have python consumer daemon to dequeue from beanstalk. The daemon generates a lot of log, so I use logrotate to rotate the log. I restart the daemon in postrotate to use the new log file. However, whenever I run the logrotate, the beanstalkd server will go down. I enabled core dump and here it is the info. Let me know if you need the core file.
I made the following patch (sorry for the format, I don't know how to paste it without triggering the markup), but not sure if it is the right way. I wonder how the conn got into this corrupted state.
The text was updated successfully, but these errors were encountered: