[Pdns-users] powerdns_server crashes after a few minutes

Scott Wunsch powerdns-list at tr.wunsch.org
Thu May 26 20:58:48 UTC 2005


On Wed, 25-May-2005 at 19:45:14 +0200, bert hubert wrote:

> Ok, thanks. Could you try to capture a coredump? You can do this by running
> 'ulimit -c unlimited' before starting PowerDNS. After a few minutes when you get
> a coredump, run 'gdb path-to-pdns_server core.number', where number depends
> on the pid.

Hmm.  Took me a bit to realize that having configured pdns_server to drop
root privileges would mean that it wouldn't be able to write a core file
:-).

> When gdb starts, enter 'bt' and copy paste the output to this list.

#0  0xffffe410 in ?? ()
#1  0x432dcd60 in ?? ()
#2  0x00000006 in ?? ()
#3  0x0000506b in ?? ()
#4  0x4018c805 in raise () from /lib/tls/libc.so.6
#5  0x4018e1e9 in abort () from /lib/tls/libc.so.6
#6  0x080c0c4e in tbhandler ()
#7  <signal handler called>
#8  0x08138526 in __gnu_cxx::hashtable<std::pair<std::string const, std::vector<BBResourceRecord, std::allocator<BBResourceRecord> > >, std::string, hash_string, std::_Select1st<std::pair<std::string const, std::vector<BBResourceRecord, std::allocator<BBResourceRecord> > > >, compare_string, std::allocator<std::vector<BBResourceRecord, std::allocator<BBResourceRecord> > > >::resize ()
#9  0x081385c5 in __gnu_cxx::hashtable<std::pair<std::string const, std::vector<BBResourceRecord, std::allocator<BBResourceRecord> > >, std::string, hash_string, std::_Select1st<std::pair<std::string const, std::vector<BBResourceRecord, std::allocator<BBResourceRecord> > > >, compare_string, std::allocator<std::vector<BBResourceRecord, std::allocator<BBResourceRecord> > > >::find_or_insert ()
#10 0x081388cd in __gnu_cxx::hash_map<std::string, std::vector<BBResourceRecord, std::allocator<BBResourceRecord> >, hash_string, compare_string, std::allocator<std::vector<BBResourceRecord, std::allocator<BBResourceRecord> > > >::operator[] ()
#11 0x0812d283 in BindBackend::lookup ()
#12 0x080cd23e in UeberBackend::lookup ()
#13 0x0808d230 in PacketHandler::makeCanonic ()
#14 0x08093eda in PacketHandler::question ()
#15 0x080fd504 in Distributor<DNSPacket, DNSPacket, PacketHandler>::makeThread ()
#16 0x40159b3c in start_thread () from /lib/tls/libpthread.so.0
#17 0x4022492a in clone () from /lib/tls/libc.so.6

-- 
Take care,
Scott \\'unsch

... It's not as important how much an item costs, it's how much you save!


More information about the Pdns-users mailing list