Bug in nethserver-inventory?

Hi friends,

this morning I got this failure-messages:

/etc/cron.daily/nethserver-inventory:
 
-e: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.9p490 (2016-03-30 revision 54437) [x86_64-linux]
 
-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 E:000328 TOP    [FINISH]
 
 
-- C level backtrace information -------------------------------------------
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x1e23bc) [0x7f466cd7e3bc] vm_dump.c:690
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x77723) [0x7f466cc13723] libioP.h:886
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(rb_bug+0xb3) [0x7f466cc14373] error.c:339
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x15aa93) [0x7f466ccf6a93] ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1064
/lib64/libpthread.so.0(+0xf6d0) [0x7f4674c8a6d0] ../nptl/sysdeps/pthread/funlockfile.c:29
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x7deb3) [0x7f466cc19eb3] genops.c:921
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x7e746) [0x7f466cc1a746] strops.c:105
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(rb_exc_raise+0x78) [0x7f466cc1bbc8] arena.c:812
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x1ee7c7) [0x7f466cd8a7c7] thread.c:2007
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x1d5792) [0x7f466cd71792] vm_eval.c:239
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(+0x1d636f) [0x7f466cd7236f] vm_eval.c:50
/opt/puppetlabs/puppet/lib/libruby.so.2.1.0(rb_funcall+0xca) [0x7f466cd72a7a] vm_eval.c:592
/opt/puppetlabs/puppet/lib/leatherman_ruby.so.0.8.1(_ZNK10leatherman4ruby3api4is_aEmm+0x2d) [0x7f46762d310d] ../iconv/skeleton.c:497
/opt/puppetlabs/puppet/lib/libfacter.so.3.4.1(_ZN6facter4ruby10ruby_value7to_jsonERKN10leatherman4ruby3apiEmRN9rapidjson12CrtAllocatorERNS7_12GenericValueINS7_4UTF8IcEES8_EE+0xb3) [0x7f46768e0623] ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2785
/opt/puppetlabs/puppet/lib/libfacter.so.3.4.1(+0xd18b1) [0x7f46768608b1] ../locale/weight.h:48
/opt/puppetlabs/puppet/lib/libfacter.so.3.4.1(_ZN6facter5facts10collection5writeERSoNS0_6formatERKSt3setISsSt4lessISsESaISsEEbb+0xce) [0x7f46768610ee] regcomp.c:1770
/opt/puppetlabs/puppet/bin/facter(main+0x194e) [0x4146ee]
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f46748d0445] ../csu/libc-start.c:274
/opt/puppetlabs/puppet/bin/facter() [0x415b19]

Is this relevant in any way?

1 Like

I guess it is a #subscription. I’ve never seen a Ruby crash in inventory-send. It’s not an urgent problem IMO because it is the process that uploads every day the system settings to my.nethserver.com: let’s see if it happens again tomorrow.

Hi Davide,

thanks for reply. o.k. Let’s see what’s happen…

@filippo_carletti reported the same once on a customer machine.
If the error persist we will try to narrow down the problem.

Thank you for reporting.

Today the same message again.

/etc/cron.daily/nethserver-inventory:
 
-e: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.9p490 (2016-03-30 revision 54437) [x86_64-linux]
 
-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 E:0010a8 TOP    [FINISH]

Doesn’t wory me and seems to be not urgent.
Just want to report, that it happens sporadically.

2 Likes