[Pdns-users] Segmentation fault

Massimo Bandinelli massimo.bandinelli at register.it
Wed Mar 7 08:52:56 UTC 2007


I tried to add this one and I tried to download the last snapshot.

Now it compiles with no problems. But during the boot, it crash when it
does not find a zone file

This is the log

***************
Mar  7 09:16:35 daitarn1 pdns-register[24441]: [bindbackend] parsing
'elicta.it' from file '/db/elicta.it'
Mar  7 09:16:35 daitarn1 pdns-register[24441]: [bindbackend] sorting
'elicta.it'
Mar  7 09:16:35 daitarn1 pdns-register[24441]: [bindbackend] parsing
'elida.it' from file '/db/elida.it'
Mar  7 09:16:35 daitarn1 pdns-register[24441]: [bindbackend] sorting
'elida.it'
Mar  7 09:16:35 daitarn1 pdns-register[24441]: [bindbackend] parsing
'elidarplay.com' from file '/db/elidarplay.com'
Mar  7 09:16:36 daitarn1 pdns-register[24441]: Caught an exception
instantiating a backend, cleaning up
Mar  7 09:16:36 daitarn1 pdns-register[24441]: Exiting because of STL
error: Unable to open file '/db/elidarplay.com': No such file 
or directory
Mar  7 09:16:36 daitarn1 pdns-register[24438]: Our pdns instance exited
with code 1
Mar  7 09:16:36 daitarn1 pdns-register[24438]: Respawning
Mar  7 09:16:37 daitarn1 pdns-register[25817]: Virtual configuration
name: register
Mar  7 09:16:37 daitarn1 pdns-register[25817]: Guardian is launching an
instance
Mar  7 09:16:37 daitarn1 pdns-register[25817]: This is a guarded
instance of pdns
Mar  7 09:16:37 daitarn1 pdns-register[25817]: UDP server bound to
195.110.123.147:53
Mar  7 09:16:37 daitarn1 pdns-register[25817]: TCP server bound to
195.110.123.147:53
Mar  7 09:16:37 daitarn1 pdns-register[25817]: PowerDNS 2.9.21-svn (C)
2001-2006 PowerDNS.COM BV (Mar  7 2007, 09:13:00, gcc 3.4.6) 
starting up
Mar  7 09:16:37 daitarn1 pdns-register[25817]: PowerDNS comes with
ABSOLUTELY NO WARRANTY. This is free software, and you are welcom
e to redistribute it according to the terms of the GPL version 2.
Mar  7 09:16:37 daitarn1 pdns-register[25817]: Chrooted to
'/usr/local/named'
Mar  7 09:16:37 daitarn1 pdns-register[25817]: Set effective group id to
250
Mar  7 09:16:37 daitarn1 pdns-register[25817]: Set effective user id to
250
Mar  7 09:16:37 daitarn1 pdns-register[25817]: Creating backend
connection for TCP
Mar  7 09:16:39 daitarn1 pdns-register[25817]: [bindbackend] Parsing
343425 domain(s), will report when done
Mar  7 09:16:39 daitarn1 pdns-register[25817]: [bindbackend] Warning!
Skipping 'hint' zone ''
Mar  7 09:16:39 daitarn1 pdns-register[25817]: [bindbackend] parsing
'0.0.127.IN-ADDR.ARPA' from file '/db/localhost.rev'
Mar  7 09:16:39 daitarn1 pdns-register[25817]: [bindbackend] sorting
'0.0.127.IN-ADDR.ARPA'
Mar  7 09:16:39 daitarn1 pdns-register[25817]: [bindbackend] parsing
'0-0-0-loghi-suonerie-cellulari-gsm-sms-nokia.com' from file '/
db/0-0-0-loghi-suonerie-cellulari-gsm-sms-nokia.com'
Mar  7 09:16:39 daitarn1 pdns-register[25817]: [bindbackend] sorting
'0-0-0-loghi-suonerie-cellulari-gsm-sms-nokia.com'

*************

The precompiled version returns me always the same sigfault error
"Signal 11"



-----Original Message-----
From: bert hubert [mailto:bert.hubert at netherlabs.nl] 
Sent: Tuesday, March 06, 2007 2:08 PM
To: Massimo Bandinelli
Cc: pdns-users at mailman.powerdns.com
Subject: Re: [Pdns-users] Segmentation fault

On Tue, Mar 06, 2007 at 12:24:41PM +0100, Massimo Bandinelli wrote:
> ******
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -D_GNU_SOURCE
> -I/usr/local/src/boost_1_33_1 -Wall -O2 -MT
> libbind2backend_la-bindparser.lo -MD -MP -MF
> .deps/libbind2backend_la-bindparser.Tpo -c bindparser.cc  -fPIC -DPIC
-o
> .libs/libbind2backend_la-bindparser.o
> In file included from bindparser.yy:10:
> ../../misc.hh:46: error: 'uint64_t' is used as a type, but is not
> defined as a 
>    type.

Try adding:
#include <stdint.h>

to the top of misc.hh. Apologies!

	Bert

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services


More information about the Pdns-users mailing list