[Pdns-dev] Problem with starting PowerDNS on OpenBSD.

Tomasz Pajor t.pajor at ippartners.pl
Sun Jan 4 14:19:36 CET 2004


I've got a problem with starting PowerDNS on OpenBSD-current, precise
OpenBSD 3.4-current (GENERIC) #51: Sun Dec 28 17:28:41 MST 2003
deraadt at i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

PowerDNS 2.9.6 from port http://www.codeninja.nl/openbsd/powerdns/port-

I started pdns_server with gdb and got something like this :

ns2# gdb pdns_server
GNU gdb 4.16.1
Copyright 1996 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 "i386-unknown-openbsd3.4"...(no debugging symbols 
(gdb) run --daemon=no --guardian=no --control-console --loglevel=9
Starting program: /usr/local/sbin/pdns_server --daemon=no --guardian=no --
control-console --loglevel=9
Jan 04 14:18:02 This is a standalone pdns
Jan 04 14:18:02 Opened file '/etc/pdns.conf' for configuration
Jan 04 14:18:02 It is advised to bind to explicit addresses with the --local-
address option
Jan 04 14:18:02 UDP server bound to
Jan 04 14:18:02 UDPv6 server bound to ::1:53
Jan 04 14:18:02 PowerDNS 2.9.6 (C) 2002 PowerDNS.COM BV (Jan  4 2004, 
02:28:38) starting up
Jan 04 14:18:02 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free 
software, and you are welcome to redistribute it acc
ording to the terms of the GPL version 2.
Jan 04 14:18:02 Chrooted to '/var/empty'
% Jan 04 14:18:02 About to create 3 backend threads
Jan 04 14:18:02 Master/slave communicator launching
Jan 04 14:18:02 gmysql Connection succesful
Jan 04 14:18:02 gmysql Connection succesful

Program received signal SIGSEGV, Segmentation fault.
0x1c00486c in free ()
(gdb) backtrace
#0  0x1c00486c in free ()
#1  0x3c0bc954 in ?? ()
#2  0x1c0ea7bb in basic_string<char, string_char_traits<char>, 
__default_alloc_template<false, 0> >::~basic_string ()
#3  0x1c0557be in free ()
#4  0x1c077312 in free ()
#5  0x1c02d538 in free ()
#6  0x1c098745 in free ()
#7  0x1c1132f1 in basic_string<char, string_char_traits<char>, 
__default_alloc_template<false, 0> >::rfind ()
#8  0xd943d5d in _thread_start ()
#9  0x1f in ?? ()
Error accessing memory address 0xffffffff: Invalid argument.

Anybody know what's wrong with it ?

Best regards
Tomasz Pajor

More information about the Pdns-dev mailing list