From owner-freebsd-stable@FreeBSD.ORG Mon Sep 10 20:35:17 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6FB8106566B for ; Mon, 10 Sep 2012 20:35:17 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 720C98FC08 for ; Mon, 10 Sep 2012 20:35:17 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1958432wgb.31 for ; Mon, 10 Sep 2012 13:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=bgvclhEsPxruPrkknnTSqovtdy0KvW3WwSLnRf3SoRs=; b=p1v6g/5xDZZ3WA4suJnbiiEXpr9pMg82bn4kotZzv1oMxH8vKBg0G52sjuZzDCi8YE zjuwNXbn7LFNGxQkSHrbx86MyhBFnqSgw2Q4yrOdR/0dWJR7KteBeyxDzuAdO/xD8Dg+ 2ACWm5BcbAVzEBBjlZ8/Za5eCVbXUxzf/5n5JsNUFp8xmdtpaQ2BSzX4aWhZZ+Ad18H9 kekmvqshzIGOafgpM6Nk3zvzHVE76J6si9QmehzZ4AH5R+j4FJcxP8WD0VqfwYxnYXoz ped/VvR/HeUxLZDaJFIaer868jtlOJPMvqettz4Njst+8NHuTCJ7lul+Hcw/2uVgvISI Q/WA== Received: by 10.180.93.68 with SMTP id cs4mr19527278wib.14.1347309316056; Mon, 10 Sep 2012 13:35:16 -0700 (PDT) Received: from localhost ([95.69.174.83]) by mx.google.com with ESMTPS id j6sm212190wiy.4.2012.09.10.13.35.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Sep 2012 13:35:15 -0700 (PDT) Sender: Mikolaj Golub Date: Mon, 10 Sep 2012 23:35:12 +0300 From: Mikolaj Golub To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20120910203511.GA27221@gmail.com> References: <504D10A7.1070701@quip.cz> <20120910054459.GA57302@gmail.com> <504DFD37.60105@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <504DFD37.60105@quip.cz> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: bsnmpd always died on HDD detach X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 20:35:18 -0000 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