From owner-freebsd-stable@FreeBSD.ORG Mon Sep 10 05:45:08 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE8B2106566B for ; Mon, 10 Sep 2012 05:45:07 +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 7D5AC8FC0A for ; Mon, 10 Sep 2012 05:45:07 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so1308864wgb.31 for ; Sun, 09 Sep 2012 22:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=0WiWD95fHXv/fYuhfHhqM0W25YOVKZE0tqkn0Xyg+0A=; b=GkxfgVzC/nzH6AkoD4EIf2kffN97lRoLdLF92O8RZsfIHltSCDcdBYA/mQvvyjyF2d c+q3lsUWELWyQCH09hGGgAR5iA9kE/OEqRic0MXRwQYHccub1DKJA7vAFCAiTdvzCeS1 FHQIeVWx7ER5cDXMLmHbAo28HjPKUCt1akH3p4oVZXd2/RhwbgL7bnFzzE9m+LpKAP7W g5ccGIWePOKkE8Ru/QBqVTs0GSBzCTxa6N8sOCxzpNlFBcNGEglQicNTxA9gncp1NYvY 3amp0MbmxDKkZpJ5G4uWuBKqOAMCizg/DlRQ3u50cLNegAHjfitwNG+1V09tVClVjdR+ BHkw== Received: by 10.180.8.41 with SMTP id o9mr14569449wia.3.1347255904834; Sun, 09 Sep 2012 22:45:04 -0700 (PDT) Received: from localhost ([188.230.122.226]) by mx.google.com with ESMTPS id q4sm15468192wix.9.2012.09.09.22.45.02 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Sep 2012 22:45:03 -0700 (PDT) Date: Mon, 10 Sep 2012 08:45:01 +0300 From: Mikolaj Golub To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20120910054459.GA57302@gmail.com> References: <504D10A7.1070701@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <504D10A7.1070701@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 05:45:08 -0000 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. -- Mikolaj Golub