From owner-freebsd-current@FreeBSD.ORG Thu Sep 24 21:15:00 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 494A2106566B for ; Thu, 24 Sep 2009 21:15:00 +0000 (UTC) (envelope-from lambert@lambertfam.org) Received: from sysmon.tcworks.net (sysmon.tcworks.net [65.66.76.4]) by mx1.freebsd.org (Postfix) with ESMTP id 12A618FC1A for ; Thu, 24 Sep 2009 21:14:59 +0000 (UTC) Received: from sysmon.tcworks.net (localhost [127.0.0.1]) by sysmon.tcworks.net (8.13.1/8.13.1) with ESMTP id n8OLExEg094332; Thu, 24 Sep 2009 16:14:59 -0500 (CDT) (envelope-from lambert@lambertfam.org) Received: (from lambert@localhost) by sysmon.tcworks.net (8.13.1/8.13.1/Submit) id n8OLEx0v094331; Thu, 24 Sep 2009 16:14:59 -0500 (CDT) (envelope-from lambert@lambertfam.org) X-Authentication-Warning: sysmon.tcworks.net: lambert set sender to lambert@lambertfam.org using -f Date: Thu, 24 Sep 2009 16:14:59 -0500 From: Scott Lambert To: Tim Kientzle Message-ID: <20090924211459.GD4858@sysmon.tcworks.net> Mail-Followup-To: Tim Kientzle , freebsd-current@freebsd.org References: <20090922212905.GA77503@sysmon.tcworks.net> <4ABAF113.9030904@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4ABAF113.9030904@freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: freebsd-current@freebsd.org Subject: Re: Nagios SIGSEGV on FreeBSD 8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2009 21:15:00 -0000 On Wed, Sep 23, 2009 at 09:09:55PM -0700, Tim Kientzle wrote: > Scott Lambert wrote: > >I've posted this to FreeBSD-ports and Nagios-Users without a nibble. > > > >[New Thread 28326280 (LWP 100051)] > >[New Thread 28301140 (LWP 100222)] > >(gdb) bt > >#0 0x0807fe8b in get_next_comment_by_host () > >#1 0x08080940 in delete_host_acknowledgement_comments () > >#2 0x28331180 in ?? () > >#3 0x4aaac053 in ?? () > >#4 0x080cc394 in __JCR_LIST__ () > > Build with debug symbols and try again; maybe you can get > more detail. Also, check a couple of core dumps to > see if it's crashing in the same place; that might > also give a clue. I rebuilt nagios and did not strip the installed binaries to get that backtrace. What else would I need to do? Rebuild the OS with a knob in /etc/src.conf? I suppose I would also need to rebuild and reinstall any ports on which nagios depends. > Do the "New Thread" messages mean that Nagios is running > multiple threads? If so, I wonder what the other > thread is doing? I have theorized that to be the case. I really don't know how to find out what the other thread is doing. With my backlog of work at the moment, I'm probably just going to be happy with the workaround/bandaid of disabling "J" in malloc options. Maybe I will be able to get back to it in a month or three. I really do appreciate the replies I have gotten. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org