Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2012 23:35:12 +0300
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bsnmpd always died on HDD detach
Message-ID:  <20120910203511.GA27221@gmail.com>
In-Reply-To: <504DFD37.60105@quip.cz>
References:  <504D10A7.1070701@quip.cz> <20120910054459.GA57302@gmail.com> <504DFD37.60105@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 10, 2012 at 04:46:15PM +0200, Miroslav Lachman wrote:
> Mikolaj Golub wrote:
> > On Sun, Sep 09, 2012 at 11:56:55PM +0200, Miroslav Lachman wrote:
> >> I am running bsnmpd with basic snmpd.config (only community and location
> >> changed).
> >>
> >> When there is a problem with HDD and disk disapeared from ATA channel
> >> (eg.: disc physically removed) the bsnmpd always dumps core:
> >>
> >> kernel: pid 1188 (bsnmpd), uid 0: exited on signal 11 (core dumped)
> >>
> >> I see this for a long rime on all releases of 7.x and 8.x branches (i386
> >> and amd64). I did not tested 9.x.
> >>
> >> Is it a known bug, or should I file PR?
> >
> > Do you happen to run bsnmp-ucd too? If you do then what version is it?
> > In bsnmp-ucd-0.3.5 I introduced a bug that lead to bsnmpd crash on a
> > disk detach. It has been fixed (thanks to Brian Somers) in 0.3.6.
> 
> No, I never installed bsnmpd-ucd. We are using plain bsnmpd from base 
> without any modules.
> It is used by MRTG only for network traffic. Nothing else.

Then the backtrace might be useful.

gdb /usr/sbin/bsnmpd /path/to/bsnmpd.core
bt

-- 
Mikolaj Golub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120910203511.GA27221>