Re: [Pdns-users] PowerDNS (2.9.22) crash with signal 8 (floating point exception)
On Sat, Sep 11, 2010 at 06:43:08PM +0700, Dmitriy Lyfar wrote: Hi, I'm using pdns with my own backend. Previous version I've used was 2.9.21 (from centos repo) and my backend works fine. But we decided to move to last version (pdns-static, 2.9.22, x86_64) and it can't even run with my backend. I've got a stack trace from debugging version, which looks like: Dmitry, Do you have a copy of your configuration? do you run with a chroot? Bert Sep 11 13:28:35 dnsfencetest pdns[15527]: Reading random entropy from '/dev/urandom' Sep 11 13:28:35 dnsfencetest pdns[15527]: Got a signal 11, attempting to print trace: Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance [0x816501e] Sep 11 13:28:35 dnsfencetest pdns[15527]: [0xe500] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance(aes_encrypt_key128+0) [0x81fa510] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance(_Z10seedRandomRKSs+0x893) [0x81fec05] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance(main+0x1b1c) [0x8166ed4] Sep 11 13:28:35 dnsfencetest pdns[15527]: /lib/libc.so.6(__libc_start_main+0xdc) [0x1a8e9c] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance [0x80f2971] Sep 11 13:28:36 dnsfencetest pdns[13550]: Our pdns instance (15527) exited after signal 6 So crash something inside of seedRandom function. I'm confused with this trace, is there any problems with /dev/urandom? Thank you. -- Regards, Lyfar Dmitriy ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] PowerDNS (2.9.22) crash with signal 8 (floating point exception)
Bert, BTW, I have compiled pdns from sources (2.9.22, the last one) as following: ./configure --prefix=$PWD/distr --enable-static-binaries --enable-shared=no --enable-verbose-logging make And replaced /usr/sbin/pdns_server with new executable. All works fine. Not sure I understand what is happening. On 11 September 2010 19:16, bert hubert bert.hub...@netherlabs.nl wrote: On Sat, Sep 11, 2010 at 06:43:08PM +0700, Dmitriy Lyfar wrote: Hi, I'm using pdns with my own backend. Previous version I've used was 2.9.21 (from centos repo) and my backend works fine. But we decided to move to last version (pdns-static, 2.9.22, x86_64) and it can't even run with my backend. I've got a stack trace from debugging version, which looks like: Dmitry, Do you have a copy of your configuration? do you run with a chroot? Bert Sep 11 13:28:35 dnsfencetest pdns[15527]: Reading random entropy from '/dev/urandom' Sep 11 13:28:35 dnsfencetest pdns[15527]: Got a signal 11, attempting to print trace: Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance [0x816501e] Sep 11 13:28:35 dnsfencetest pdns[15527]: [0xe500] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance(aes_encrypt_key128+0) [0x81fa510] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance(_Z10seedRandomRKSs+0x893) [0x81fec05] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance(main+0x1b1c) [0x8166ed4] Sep 11 13:28:35 dnsfencetest pdns[15527]: /lib/libc.so.6(__libc_start_main+0xdc) [0x1a8e9c] Sep 11 13:28:35 dnsfencetest pdns[15527]: /usr/sbin/pdns_server-instance [0x80f2971] Sep 11 13:28:36 dnsfencetest pdns[13550]: Our pdns instance (15527) exited after signal 6 So crash something inside of seedRandom function. I'm confused with this trace, is there any problems with /dev/urandom? Thank you. -- Regards, Lyfar Dmitriy ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users -- Regards, Lyfar Dmitriy | PM/Senior Developer at crystalnix.com | dly...@crystalnix.com | skype: lyfardmitriy ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] PowerDNS (2.9.22) crash with signal 8 (floating point exception)
On 11 September 2010 20:24, bert hubert bert.hub...@netherlabs.nl wrote: On Sat, Sep 11, 2010 at 08:02:48PM +0700, Dmitriy Lyfar wrote: Not sure I understand. You mean compilation of my backend? I'm using following compilation flags (all compiled by g++ compiler): CXXFLAGS: -Wall -O2 -fPIC -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv Can you recompile without -fexceptions -fstack-protector --param=ssp-buffer-size-4 -wrapv? Yes, but result is still the same with pdns-static from website (centos 5.5, x86_64). But I did some more. Please notice, if I compile pdns by myself, just ./configure make make install, I have no problems. -- Thanks, Lyfar Dmitriy ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users