> >>>>> On Wed, 11 Oct 2006 09:56:52 +0200,
> >>>>> Marco Schumann said:

>
> >> Oops, sorry, the patch was not really correct. Please use this one
> >> (attached below) instead.
> >>
> >> But the actual behavior of these two patches should be the same...do
> >> you mean named exited during initialization by 'refused to start'? Or
> >> do you mean it existed just after starting? In any case, if it dumped
> >> core, backtrace (of all threads) would be helpful as before.

>
> > Hello,

>
> > again the error:
> > 11-Oct-2006 09:40:09.365 general: rbtdb.c:1128: INSIST(((unsigned
> > int)((&rbtdb->node_locks[node->locknum].references)->refs))) failed
> > 11-Oct-2006 09:40:09.365 general: exiting (due to assertion failure)

>
> > Here the backtrace:

>
> Thanks, and what about the other threads? Whether by
> (gdb) thread apply all bt
> or the way I showed.
>
> > Next I am going to try your second patch. Would it be helpful to compile
> > with debug flags? (I assume that and thus will use --enable-debug
> > although not documented)

>
> Not really, because BIND9 is built with debug flags by default. But
> building it without compiler optimization flags might be a bit
> helpful. I usually do that by
>
> % CFLAGS=-g ./configure (--enable-threads)
>
> but there maybe a better way (at least this won't work with csh).


./configure --enable-threads CFLAGS=-g

> JINMEI, Tatuya
> Communication Platform Lab.
> Corporate R&D Center, Toshiba Corp.
> jinmei@isl.rdc.toshiba.co.jp
>
>

--
ISC Training! October 16-20, 2006, in the San Francisco Bay Area,
covering topics from DNS to DHCP. Email training@isc.org.
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org