Segfault during system resume in Ubuntu #220

tdg5 opened this Issue Dec 14, 2013 · 1 comment


None yet

2 participants

tdg5 commented Dec 14, 2013

Introduced in e284bad, when resuming after a system suspend, beanstalkd segfaults in Ubuntu 12.04. From my understanding of the bug, it it seems likely that other flavors of Linux using epoll would be similarly affected, but BSD should be unaffected.

Using git bisect and a little manual testing, I was able to narrow down the scope of where the bug was introduced to this portion of the breaking commit: tdg5@7026e86

I haven't included a core dump because I haven't been able to get a lot of useful information from them. The segfault always occurs here and sock is the pointer causing the segfault. I am happy to include a core dump if it would be useful.

This problem also occurs if you run beanstalkd in the foreground, background it with CTRL-z, then try to bring it back to the foreground with fg.

@tailhook tailhook added a commit to tailhook/beanstalkd that referenced this issue Aug 4, 2014
@tailhook tailhook Fix SIGSEGV on EINTR (fixes #220) 06f82a9
kr commented Aug 5, 2014

Fixed in #221.

@kr kr closed this Aug 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment