Re: named crashes on assertion in rbtdb.c on sparc64/SMP

From: Marius Strobl <marius_at_alchemy.franken.de>
Date: Fri, 15 Jul 2011 10:40:39 +0200
On Thu, Jul 14, 2011 at 05:31:49PM -0700, Doug Barton wrote:
> On 07/14/2011 16:21, Marius Strobl wrote:
> > On Thu, Jul 14, 2011 at 09:53:42AM +0400, KOT MATPOCKuH wrote:
> >> 2011/7/11 KOT MATPOCKuH <matpockuh_at_gmail.com>:
> >>>> Oops, sorry, I forgot to revert the previous patch when test-compiling.
> >>>> Please re-fetch sparc64_isc_atomic.h.diff2 and try again.
> >>> I started named from ports (dns/bind96) at Sat Jul ?9 10:08:41 MSD,
> >>> and it worked properly till Sun Jul 10 22:25:41 MSD.
> >>> At 22:25:41 I restarted bind from base system with your
> >>> sparc64_isc_atomic.h.diff2.
> >>> From this moment till today, 15:57:05 he crashed 3 times:
> >>> Jul 10 23:19:19 sunrise kernel: pid 45352 (named), uid 53: exited on signal 6
> >>> Jul 11 14:52:20 sunrise kernel: pid 52032 (named), uid 53: exited on signal 6
> >>> Jul 11 15:14:15 sunrise kernel: pid 71300 (named), uid 53: exited on signal 6
> >>>
> >>> To make to ensure proper operation of bind from ports, I ran it again
> >>> at 15:57:05, and, I think, we need to wait several days.
> >> And from that time till now bind from ports never died and works properly...
> >>
> > 
> > Okay.
> > Doug, could you please disable the use of atomic operations for sparc64
> > in the in-tree BIND via the following patch in order to match what the
> > vendor source does?
> > http://people.freebsd.org/~marius/sparc64_isc_disable_atomic.diff
> 
> If you use the port and do 'make configure' are the values in config.h
> the same as the ones in your patch?  If so, that's likely to be the
> right answer, and I'll go ahead and apply your patch.
> 

The generated config.h and platform.h for sparc64 are these:
http://people.freebsd.org/~marius/bind96_config.h
http://people.freebsd.org/~marius/bind96_platform.h

Marius
Received on Fri Jul 15 2011 - 06:40:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:15 UTC