[chef] Re: chef client segment fault on lib/chef/mixin/command/unix.rb:190


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: chef client segment fault on lib/chef/mixin/command/unix.rb:190
  • Date: Mon, 12 Nov 2012 09:33:17 -0800


On Friday, November 9, 2012 at 5:49 PM, wrote:

Is there anybody know about the following segmentation fault? Where is the core
file located?

===>
/usr/lib/ruby/gems/1.8/gems/chef-0.10.6/bin/../lib/chef/mixin/command/unix.rb:190:
[BUG] Segmentation fault
When researching a similar bug, I found that ruby was allocating objects during GC, which then triggered the segfault[0]

If this is blocking you, your options are:
* Upgrade ruby. If you install Chef with the omnibus packages, this is taken care of for you. (see: http://www.opscode.com/chef/install/)
* Modify the provider that's triggering this error to use mixlib-shellout instead of run_command or popen4. mixlib-shellout has a workaround for the bug.

-- 
Daniel DeLeo

0. See comments in here: https://github.com/opscode/mixlib-shellout/blob/master/lib/mixlib/shellout/unix.rb



Archive powered by MHonArc 2.6.16.

§