% pdns_recursor May 26 09:12:12 PowerDNS recursor 3.2 (C) 2001-2010 PowerDNS.COM BV (May 26 2010, 08:46:38, gcc 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) starting up May 26 09:12:12 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. May 26 09:12:12 Operating in 32 bits mode May 26 09:12:12 Reading random entropy from '/dev/urandom' zsh: segmentation fault pdns_recursor
Same thing without a /etc/powerdns/recursor.conf. Same thing is run as root. % g++ --version g++ (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % uname -a NetBSD golgoth 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Oct 1 15:46:16 CEST 2009 steph...@golgoth:/usr/obj/sys/arch/i386/compile/GENERIC i386 Boost is 1.38.0nb1 With the debugger (I have zero experience in debugging C++ programs): (gdb) run Starting program: /usr/sbin/pdns_recursor (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) May 26 09:13:01 PowerDNS recursor 3.2 (C) 2001-2010 PowerDNS.COM BV (May 26 2010, 08:46:38, gcc 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) starting up May 26 09:13:01 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. May 26 09:13:01 Operating in 32 bits mode May 26 09:13:01 Reading random entropy from '/dev/urandom' Program received signal SIGSEGV, Segmentation fault. 0x08095a97 in std::string::_S_construct<char const*> () (gdb) bt #0 0x08095a97 in std::string::_S_construct<char const*> () #1 0x0809e390 in std::string::_S_construct<char const*> () #2 0x080a5215 in std::string::_S_construct<char const*> () #3 0x0804ccd4 in ?? () #4 0x00000001 in ?? () #5 0xbfbfea78 in ?? () #6 0xbfbfea80 in ?? () #7 0x0804cc46 in ?? () #8 0xbfbfeb88 in ?? () #9 0xbfbfea80 in ?? () #10 0xbbbf2000 in ?? () #11 0xbfbffff0 in ?? () #12 0x00000000 in ?? () Very little difference when compiling with -O0 -g: (gdb) run Starting program: /usr/sbin/pdns_recursor (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) May 26 09:29:04 PowerDNS recursor 3.2 (C) 2001-2010 PowerDNS.COM BV (May 26 2010, 09:23:52, gcc 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) starting up May 26 09:29:04 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. May 26 09:29:04 Operating in 32 bits mode May 26 09:29:04 Reading random entropy from '/dev/urandom' Program received signal SIGSEGV, Segmentation fault. 0x080a1fac in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*> () (gdb) bt #0 0x080a1fac in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*> () #1 0x080a84b0 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*> () #2 0x080b2e04 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*> () #3 0x0804e044 in ?? () #4 0x00000001 in ?? () #5 0xbfbfea30 in ?? () #6 0xbfbfea38 in ?? () #7 0x0804dfb6 in ?? () #8 0xbfbfeb40 in ?? () #9 0xbfbfea38 in ?? () #10 0xbbbf2000 in ?? () #11 0xbfbffff0 in ?? () #12 0x00000000 in ?? () _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users