Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

segfault with Ruby 1.9.3-p0 and Ubuntu 10.04 #69

Open
cjbottaro opened this Issue Nov 13, 2011 · 2 comments

Comments

Projects
None yet
2 participants
$ sudo bundle exec god check
using event system: netlink
starting event handler
forking off new process
forked process with pid = 31245
killing process

It starts up fine if the process it's monitoring is already running, but if I kill the process, God restarts it then segfaults. So it seems that it's caused by the "start" transition.

Segfault detailed here:
https://gist.github.com/1361613

Contributor

zimbatm commented Jan 10, 2012

+1 I get around this with upstart monitoring god :-p

Contributor

zimbatm commented Jan 10, 2012

When compiling without "-O3", it shows that it's breaking on line 82. I was expecting rb_thread_select to fail since threading changed in 1.9.3 but no.

zimbatm added a commit to zimbatm/god that referenced this issue Jan 10, 2012

netlink C ext: add PROC_EVENT_SID
Apparently it didn't exist in 2.6.28 but got introduced later. Maybe it
makes sense to just add a default case to be future proof.

Since I fixed that, I wasn't able to reproduce issue #69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment