Skip to content
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 with Ruby 1.9.3-p0 and Ubuntu 10.04 #69

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

segfault with Ruby 1.9.3-p0 and Ubuntu 10.04 #69

cjbottaro opened this issue Nov 13, 2011 · 2 comments

Comments

@cjbottaro
Copy link

$ 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

@zimbatm
Copy link
Contributor

zimbatm commented Jan 10, 2012

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

@zimbatm
Copy link
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 pushed a commit to zimbatm/god that referenced this issue Jan 10, 2012
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 mojombo#69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants