jeremyevans/home_run — Issue #43: Segfault when Chef tries to install home_run
Author: findchris
Created: 2012-02-15 02:46:38+00:00
State: open

This might be something you can't help with as it is quite specific, but we have Chef installing home_run on our servers (`gem install home_run; bundle exec home_run --install`) and a couple of servers failed with a segfault. See below.

```
[Tue, 14 Feb 2012 15:21:44 -0800] DEBUG: Processing execute[install home run] on i-af084bca
[Tue, 14 Feb 2012 15:21:44 -0800] DEBUG: Executing bundle exec home_run --install
[Tue, 14 Feb 2012 15:21:45 -0800] DEBUG: ---- Begin output of bundle exec home_run --install ----
[Tue, 14 Feb 2012 15:21:45 -0800] DEBUG: STDOUT:
[Tue, 14 Feb 2012 15:21:45 -0800] DEBUG: STDERR: cp lib/date.rb /opt/ruby-enterprise/lib/ruby/site_ruby/1.8
mkdir -p /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/date
cp lib/date/format.rb /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/date
cp lib/date_ext.so /opt/ruby-enterprise/lib/ruby/site_ruby/1.8/x86_64-linux
[Tue, 14 Feb 2012 15:21:45 -0800] DEBUG: ---- End output of bundle exec home_run --install ----
[Tue, 14 Feb 2012 15:21:45 -0800] DEBUG: Ran bundle exec home_run --install returned 0
[Tue, 14 Feb 2012 15:21:45 -0800] INFO: Ran execute[install home run] successfully
[Tue, 14 Feb 2012 15:21:45 -0800] INFO: execute[install home run] sending create action to ruby_block[home_run_installed_flag] (immediate)
[Tue, 14 Feb 2012 15:21:45 -0800] DEBUG: Signing the request as i-af084bca
/opt/ruby-enterprise/lib/ruby/site_ruby/1.8/date/format.rb:663: [BUG] Segmentation fault
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2011.03

Aborted
```

I think what's happening is that the Chef process has its Ruby perhaps during execution. If this is Chef specific and you aren't sure how to approach this, feel free to close the issue.

Cheers.