Re: port sysutils/bsdstats intermittent mutex error on ia64 HEAD

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Mon, 30 Nov 2009 12:02:33 +0000
On Mon, Nov 30, 2009 at 11:55:25AM +0000, Anton Shterenlikht wrote:
> I might've reported this before:
> 
> FreeBSD 9.0-CURRENT ia64
> 
> port bsdstats-5.5 sometimes works fine:
> 
> # /usr/local/etc/periodic/monthly/300.statistics -nodelay
> Posting monthly OS statistics to rpt.bsdstats.org
> #
> 
> but sometimes not:
> 
> # /usr/local/etc/periodic/monthly/300.statistics -nodelay
> /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:1966: fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&sock->lock))) == 0) ? 0 : 34) == 0) failed
> [:        1: unexpected operator
> Posting monthly OS statistics to rpt.bsdstats.org
> # 
> 
> Also, it doesn't work if run by an unprivileged user.
> I suppose this is the intended behaviour.

forgot to put the output from an unprivileged user:

> /usr/local/etc/periodic/monthly/300.statistics -nodelay
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/timer.c:906: fatal error: RUNTIME_CHECK(((pthread_mutex_destroy(((&manager->lock))) == 0) ? 0 : 34) == 0) failed
[:        1: unexpected operator
/usr/local/etc/periodic/monthly/300.statistics: cannot open /var/db/bsdstats: Permission denied
[: -lt: unexpected operator
.: Can't open /var/db/bsdstats: Permission denied


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Received on Mon Nov 30 2009 - 11:02:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC