Re: bind fails with sig11 on start / pthread failure on ARM?

From: Bernd Walter <ticso_at_cicely7.cicely.de>
Date: Tue, 16 Feb 2010 19:56:14 +0100
On Tue, Feb 16, 2010 at 10:45:14AM -0800, Doug Barton wrote:
> On 2/16/2010 10:39 AM, Bernd Walter wrote:
> > [55]Please.tell.me.who.am.I# gdb /usr/sbin/named named.core 
> > GNU gdb 6.1.1 [FreeBSD]
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you are
> > welcome to change it and/or distribute copies of it under certain conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > This GDB was configured as "arm-marcel-freebsd"...(no debugging symbols found)...
> > Core was generated by `named'.
> > Program terminated with signal 5, Trace/breakpoint trap.
> > Reading symbols from /lib/libcrypto.so.6...(no debugging symbols found)...done.
> > Loaded symbols for /lib/libcrypto.so.6
> > Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
> > Loaded symbols for /lib/libthr.so.3
> > Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
> > Loaded symbols for /lib/libc.so.7
> > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
> > Loaded symbols for /libexec/ld-elf.so.1
> > #0  0x203571b0 in _thread_bp_create () from /lib/libthr.so.3
> > [New Thread 20804280 (LWP 100062)]
> > [New Thread 20804140 (LWP 100052)]
> > (gdb) bt
> > #0  0x203571b0 in _thread_bp_create () from /lib/libthr.so.3
> > #1  0x203572b8 in _thread_bp_death () from /lib/libthr.so.3
> > #2  0x20349da4 in pthread_create () from /lib/libthr.so.3
> > #3  0x00164cb8 in ?? ()
> > (gdb) 
> > 
> > Do we have a general threading problem on ARM?
> 
> Wow, that was fast. :)  It sure looks like that's the problem. Can you
> try compiling ports/dns/bind96 without threads and see if that works for
> you? If it does then it would be good to follow up on
> freebsd-arm_at_FreeBSD.org and see if the problem can be addressed.

I'd send it before I saw your mail.
Compiling however will take some time.

-- 
B.Walter <bernd_at_bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Received on Tue Feb 16 2010 - 17:56:19 UTC

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