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


Chronological Thread 
  • From: Steve Bennett < >
  • To:
  • Subject: [chef] Re: Re: chef client segment fault on lib/chef/mixin/command/unix.rb:190
  • Date: Tue, 4 Dec 2012 11:49:41 +1100

Hi,
  I'm also getting this segmentation fault:

115.146.84.xxx [2012-12-04T11:01:18+11:00] INFO: Processing cookbook_file[/mnt/data/Microscopy/Biology/mosquito.tif] action create (/var/chef/cache/cookbooks/atom-dataset-provider/recipes/default.rb line 126)
115.146.84.xxx /usr/lib/ruby/1.8/timeout.rb:58: 
115.146.84.xxx [BUG] 
115.146.84.xxx Segmentation fault
115.146.84.xxx 
115.146.84.xxx ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
115.146.84.xxx 

Sorry for the dumb question, but what's the correct way to upgrade Chef or Ruby? This server is built fresh from Ubuntu 12.04, then bootstrapped:

knife bootstrap -d ubuntu12.04-gems ....

So upgrading a component on the VM isn't that straightforward? (I assume from the output that the segfault is happening at the server end, not in the local chef client)

Steve




On 15 November 2012 06:44, Bryan McLellan < " target="_blank"> > wrote:
On Fri, Nov 9, 2012 at 8: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

We worked around more of these segfaults in 0.10.10. Could you try
upgrading to at least that version?

http://tickets.opscode.com/browse/CHEF-2916

A newer Chef (with the workaround) or a newer Ruby (with the fix)
should prevent these.

Bryan




Archive powered by MHonArc 2.6.16.

§