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 conn_close on master #71
Comments
This is fixed in my tree now. The problem is that in sock-bsd.c, we're reading up to 500 events The easy way to fix this is to read only one event at a time, so |
Thanks so much Keith - I don't think I'd have worked that out! Will let you know if I find any other issues :) |
I run into similar problem with a v1.6 build on ubuntu 10.04 with downloaded 1.6.zip. I double-checked the src and cb16211 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. Core was generated by `/usr/bin/beanstalkd -l 0.0.0.0 -p 11300 -b /var/lib/beanstalkd'. (gdb) print *c |
Can we reopen this issue? I am running this on production and the frequent crashing caused a lot of issues. Thanks! |
The segfault occurs on the master branch (e3158bc) with the following backtrace
I've seen this segfault several times this evening (while developing locally on OS X 10.7), but unfortunately I can't identify steps to reproduce reliably. However, needless to say, this happens when I try to close the connection to beanstalkd!
/cc @miksago who's been debugging this with me
The text was updated successfully, but these errors were encountered: