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

From: Bernd Walter <ticso_at_cicely7.cicely.de>
Date: Wed, 17 Feb 2010 03:30:26 +0100
On Tue, Feb 16, 2010 at 10:13:27PM +0100, Bernd Walter wrote:
> On Tue, Feb 16, 2010 at 11:02:24AM -0800, Doug Barton wrote:
> > On 2/16/2010 10:56 AM, Bernd Walter wrote:
> > >> 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.
> > 
> > Yeah, I figured that when I got your other reply just now. :)  I
> > received the trace message to the list in the same mail download as my
> > message to the list, which I thought was quite impressive on your part. :)
> > 
> > > Compiling however will take some time.
> > 
> > No problem, let us know how it works out.

Mmm - the port (without thread and without XML) works fine:
[78]Please.tell.me.who.am.I# host -a www.freebsd.org 127.0.0.1
Trying "www.freebsd.org"
Using domain server:
Name: 10.1.1.9
Address: 10.1.1.9#53
Aliases: 

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2501
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 5

;; QUESTION SECTION:
;www.freebsd.org.               IN      ANY

;; ANSWER SECTION:
www.freebsd.org.        3600    IN      MX      0 .
www.freebsd.org.        3600    IN      AAAA    2001:4f8:fff6::21
www.freebsd.org.        3600    IN      A       69.147.83.33

;; AUTHORITY SECTION:
freebsd.org.            3544    IN      NS      ns3.isc-sns.info.
freebsd.org.            3544    IN      NS      ns2.isc-sns.com.
freebsd.org.            3544    IN      NS      ns1.isc-sns.net.

;; ADDITIONAL SECTION:
ns2.isc-sns.com.        87978   IN      A       38.103.2.1
ns1.isc-sns.net.        87978   IN      A       72.52.71.1
ns1.isc-sns.net.        87978   IN      AAAA    2001:470:1a::1
ns3.isc-sns.info.       3546    IN      A       63.243.194.1
ns3.isc-sns.info.       3546    IN      AAAA    2001:5a0:10::1

Received 284 bytes from 10.1.1.9#53 in 135 ms

Feb 17 02:21:48 Please named[28754]: starting BIND 9.6.1-P3
Feb 17 02:21:48 Please named[28754]: built with '--localstatedir=/var' '--disable-linux-caps' '--with-randomdev=/dev/random' '--with-openssl=/usr' '--without-libxml2' '--without-idn' '--disable-threads' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=arm-portbld-freebsd9.0' 'build_alias=arm-portbld-freebsd9.0' 'CC=cc' 'CFLAGS=-O -pipe -mcpu=arm9' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'CXX=c++' 'CXXFLAGS=-O -pipe -mcpu=arm9'
Feb 17 02:21:54 Please named[28754]: max open files (957) is smaller than max sockets (4096)
Feb 17 02:21:57 Please named[28754]: command channel listening on 127.0.0.1#953
Feb 17 02:21:57 Please named[28754]: command channel listening on ::1#953
Feb 17 02:22:05 Please named[28754]: running

[75]Please.tell.me.who.am.I# sockstat | grep named
root     named      28754 3  dgram  -> /var/run/logpriv
root     named      28754 20 tcp4   127.0.0.1:53          *:*
root     named      28754 21 tcp4   127.0.0.1:953         *:*
root     named      28754 22 tcp6   ::1:953               *:*
root     named      28754 512 udp4  127.0.0.1:53          *:*

On the other hand a short pthread test worked fine as well.

-- 
B.Walter <bernd_at_bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Received on Wed Feb 17 2010 - 01:30:36 UTC

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