Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2009 14:07:44 -0800
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org
Cc:        Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-ia64@freebsd.org
Subject:   Re: Bind 9 (Was: bsdstats) - fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0)
Message-ID:  <200907271407.45243.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <20090727211751.GA76851@mech-cluster241.men.bris.ac.uk>
References:  <20090727211751.GA76851@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

The annoyance is that ISC Bind finds it not useful to print errno, which is 
what you'd need to figure out why this lock can't be destroyed. It is however 
a programming error in bind, or a rare case of stack corruption by the kernel.

If you see this error a lot or can reliably reproduce it, I'd file a PR.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907271407.45243.mel.flynn%2Bfbsd.questions>