bind fails with sig11 on start / pthread failure on ARM?
Bernd Walter
ticso at cicely7.cicely.de
Fri Feb 19 03:50:47 UTC 2010
On Thu, Feb 18, 2010 at 08:40:12PM -0700, M. Warner Losh wrote:
> In message: <20100219033000.GZ43625 at cicely7.cicely.de>
> Bernd Walter <ticso at cicely7.cicely.de> writes:
> : On Fri, Feb 19, 2010 at 04:12:00AM +0100, Bernd Walter wrote:
> : > On Thu, Feb 18, 2010 at 03:10:10PM +0200, Kostik Belousov wrote:
> : > > On Thu, Feb 18, 2010 at 01:49:07PM +0100, Bernd Walter wrote:
> : > > > On Tue, Feb 16, 2010 at 07:39:51PM +0100, Bernd Walter wrote:
> : > > > > On Mon, Feb 15, 2010 at 10:39:07PM +0100, Bernd Walter wrote:
> : > [Switching to thread 4 (Thread 20804140 (LWP 100053))]#0 0x0015755c in isc_atomic_cmpxchg ()
> : > (gdb) bt
> : > #0 0x0015755c in isc_atomic_cmpxchg ()
> : > #1 0x00157dac in isc_rwlock_lock ()
> : > #2 0x000f9790 in dns_db_register ()
> : > #3 0x0004d590 in dns_sdb_register ()
> : > #4 0x0000c974 in ns_builtin_init ()
> : > #5 0x0001aa90 in $a ()
> : > #6 0x0001aa90 in $a ()
> : >
> : > isc_atomic_cmpxchg really sounds quite interesting though.
> : > It is not only the crashing function it is also a type of function which
> : > sounds error prune.
> :
> : For me it looks like a bug in bind itself.
> : It is in contrib/bind9/lib/isc/arm/include/isc/atomic.h.
> : My assumption is that either the assembly is broken or it gets an
> : invalid pointer.
> : I'm not very expirienced with ARM assembly.
> : Warner - it names you in the copyright, so very likely you know this code.
> : I will build a debug version of bind, but as usual it will take some
> : time...
>
> Damn. It wasn't me.
>
> Oh, wait, maybe it was...
:-)
> I'll try to look at it tomorrow...
Thank you.
Recompiling libbind and named with debug support also takes some time.
--
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the freebsd-current
mailing list