From owner-freebsd-questions@FreeBSD.ORG Tue Jul 28 03:37:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8F52106566C for ; Tue, 28 Jul 2009 03:37:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 940858FC0A for ; Tue, 28 Jul 2009 03:37:28 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 8EDF67E818 for ; Mon, 27 Jul 2009 19:37:27 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Mon, 27 Jul 2009 19:37:26 -0800 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <20090727211751.GA76851@mech-cluster241.men.bris.ac.uk> <200907271407.45243.mel.flynn+fbsd.questions@mailing.thruhere.net> <45184C2B17C02813336AB862@ganymede.hub.org> In-Reply-To: <45184C2B17C02813336AB862@ganymede.hub.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907271937.26660.mel.flynn+fbsd.questions@mailing.thruhere.net> Subject: Re: Bind 9 (Was: bsdstats) - fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2009 03:37:29 -0000 On Monday 27 July 2009 18:35:17 Marc G. Fournier wrote: > --On Monday, July 27, 2009 14:07:44 -0800 Mel Flynn > > wrote: > > On Monday 27 July 2009 13:17:51 Anton Shterenlikht wrote: > >> On ia64 8.0-beta1 SMP, running bsdstats-5.4_2, > >> I get this error: > >> > >> # /usr/local/etc/periodic/monthly/300.statistics > >> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/task.c:1023: fatal > >> error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0) ? > >> 0 > >> > >> : 34) == 0) failed > > > > That error from bind, > > > >> [: 1: unexpected operator > > > > Is not handled gracefully in the bsdstats script. > > Is there something I can do to improve the script to handle it better? Well, if OP can provide sh -x /usr/local/etc/periodic/monthly/300.statistics output, it's easier to see which variable is empty as a result of a resolver error. Then fix the test expression and either exit or use a retry_x_times mechanism. -- Mel