[Pdns-users] pdns_recursor seg fault on startup on Solaris 8

bert hubert bert.hubert at netherlabs.nl
Wed Sep 7 15:00:32 UTC 2005


On Wed, Sep 07, 2005 at 09:54:31AM -0500, Kenneth Marshall wrote:
> I am trying to get the recursor working on Solaris 8. When I
> start it, I get a Bus Error after the root cache is loaded:

Please see http://wiki.powerdns.com/projects/trac/changeset/471

It is probably easiest to delete the red line from mtasker.cc and replace it
by the green lines, and recompile.

alternatively, apply
http://wiki.powerdns.com/projects/trac/changeset/471?format=diff
following the instructions on
http://wiki.powerdns.com/projects/trac/wiki/HACKING

Or, if you are feeling lucky, try compiling from Subversion which has this
fix included - see the instructions in the HACKING page mentioned.

Good luck!

> 
> /usr/site/pdns/sbin/pdns_recursor --local-port=552 --local-address=127.0.0.1 --daemon=no
> Sep 07 09:50:26 Unable to parse configuration file '/usr/site/pdns-2.9.18/etc/recursor.conf'
> Sep 07 09:50:26 PowerDNS recursor 2.9.18 (C) 2001-2005 PowerDNS.COM BV (Sep  1 2005, 10:51:10, gcc 3.4.3) starting up
> Sep 07 09:50:26 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
> Sep 07 09:50:26 Sending UDP queries from 0.0.0.0:16838
> Sep 07 09:50:26 Listening for UDP queries on 127.0.0.1:552
> Sep 07 09:50:26 Listening for TCP queries on 127.0.0.1:552
> Sep 07 09:50:27 Done priming cache with root hints
> Bus Error
> 
> 
> When running it under truss here are the final few lines before
> the errer:
> 
> brk(0x000A01A8)                                 = 0
> brk(0x000A21A8)                                 = 0
> time()                                          = 1126104750
> Sep 07 09:52:30 write(2, " S e p   0 7   0 9 : 5 2".., 16)      = 16
> Done priming cache with root hintswrite(2, " D o n e   p r i m i n g".., 34)    = 34
> 
> write(2, "\n", 1)                               = 1
> sigaction(SIGUSR1, 0xFFBDF008, 0xFFBDF108)      = 0
> sigaction(SIGUSR2, 0xFFBDF008, 0xFFBDF108)      = 0
> sigaction(SIGPIPE, 0xFFBDF008, 0xFFBDF108)      = 0
> open64("/var/run/pdns_recursor.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 7
> getpid()                                        = 11808 [11807]
> write(7, " 1 1 8 0 8\n", 6)                     = 6
> close(7)                                        = 0
> getcontext(0x000A0770)
> brk(0x000A21A8)                                 = 0
> brk(0x000BA1A8)                                 = 0
> poll(0xFFBDF0F0, 3, 500)                        = 0
> getcontext(0x0009F140)
> setcontext(0xFFBDEE50)
> time()                                          = 1126104751
> time()                                          = 1126104751
>     Incurred fault #6, FLTBOUNDS  %pc = 0xFF0E4AA4
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008
>     Received signal #11, SIGSEGV [default]
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008
>         *** process killed ***
> 
> Does anyone have any ideas on what to try next? I saw a similar thread
> in the archives, but there was no resolution.
> 
> Ken
> 
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
> 
> 
> !DSPAM:431eff6c244763942790567!

-- 
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