Issue #4777 has been updated by Markus Roberts.

Status changed from Investigating to Needs more information

The segfaults appear to be due to one of a few known bugs in the ruby regexp 
library, which supports the "bad data from the puppetmaster causes the agent to 
fail" theory (most of the cases that trigger the bug in ruby occur with strange 
data).

Assuming the "~240Ko, I saw some catalog files at 3Mo" was 240Kb vs. 3Mb that 
would be a factor of 6 larger than expected.  

Could you provide any more information about the "odd" catalogs and possibly 
look inside to see if you can spot what's odd about them?  Also, could you 
retry with a different preferred serialization format to see if that changes 
the behavior?  And finally, what ruby versions are you running on the various 
machines?

----------------------------------------
Bug #4777: puppet agent segfault
http://projects.puppetlabs.com/issues/4777

Author: arnaud chong
Status: Needs more information
Priority: High
Assignee: Markus Roberts
Category: executables
Target version: 2.6.2
Affected version: 2.6.1
Keywords: 
Branch: 


After an upgrade from 0.25.4 to 2.6.1 my puppet agent segfault :(
I have only a strace log
    
    6192  nanosleep({0, 10000000}, {5, 3075828636}) = 0
    6192  nanosleep({0, 10000000}, {5, 3075828636}) = 0
    6192  nanosleep({0, 10000000},  <unfinished ...>
    6185  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    6185  write(2, 
"/usr/lib/ruby/gems/1.8/gems/puppet-2.6.1/lib/puppet/util/zaml.rb:233: "..., 
70) = 70
    6185  write(2, "[BUG] "..., 6)          = 6
    6185  write(2, "Segmentation fault"..., 18) = 18
    6185  write(2, "\nruby 1.8.7 (2008-08-11 patchlevel 72) 
[i486-linux]\n\n"..., 53) = 53
    6185  rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0

I'm trying to have more data ...


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to