Bind 9 (Was: bsdstats) - fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0)

Mel Flynn mel.flynn+fbsd.questions at mailing.thruhere.net
Tue Jul 28 03:37:29 UTC 2009


On Monday 27 July 2009 18:35:17 Marc G. Fournier wrote:
> --On Monday, July 27, 2009 14:07:44 -0800 Mel Flynn
>
> <mel.flynn+fbsd.questions at mailing.thruhere.net> 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


More information about the freebsd-questions mailing list