- From: Tomoyuki Sakurai <
>
- To:
- Subject: [chef] chef-client segfaults on FreeBSD
- Date: Tue, 31 Jan 2012 13:28:14 +0900
hi,
i'm investigating chef-client segfault on FreeBSD. it's hard to reproduce
the issue but it happens often, saying "[BUG] Bus Error". it usually happens
somewhere in lib/chef/mixin/command/unix.rb.
ruby -v: ruby 1.8.7 (2011-06-30 patchlevel 352) [amd64-freebsd8]
uname -smr: FreeBSD 8.2-RELEASE-p1 amd64
so i built ruby with WITH_DEBUG=y, CFLAGS=-O0 and no strip. after 24 hours,
no crash.
if you have similar issue, try disabling optimization. add the following to
/etc/make.conf and rebuild the port.
.if ${.CURDIR:M*/lang/ruby18}
CFLAGS= -O -pipe
.endif
--
Tomoyuki Sakurai
- [chef] chef-client segfaults on FreeBSD, Tomoyuki Sakurai, 01/30/2012
Archive powered by MHonArc 2.6.16.