Re: [Pdns-users] pdns recursor 3.5.1 crash on Mac OSX mountain lion 10.8.3
hi, everybody, Which compiler do you use for compiling pnds-recursor on mac os? LLVM or GCC or GCC-LLVM ? *with best regards,* Jacky Wu *jacky.wuch...@gmail.com* jacky.wuch...@gmail.com *blog: **http://www.sanote.org* weibo: @object 2013/5/28 Aki Tuomi cmo...@youzen.ext.b2.fi Can you recompile the software with following changes: edit Makefile and make sure your OPTFLAGS are '-O0 -g' before starting, run 'ulimit -c unlimited' Then start it normally, and hope it crashes. It should produce a core file. You can see where it crashed by typing 'gdb /path/to/binary /path/to/core' Aki Tuomi On Tue, May 28, 2013 at 01:37:36PM +0800, jacky wu wrote: $ ./configure make install $ sudo /usr/sbin/pdns_recursor --daemon=no May 28 13:35:52 PowerDNS recursor 3.5.1 (C) 2001-2013 PowerDNS.COM BV (May 26 2013, 22:54:09, gcc 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.27)) starting up May 28 13:35:52 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 28 13:35:52 Operating in 64 bits mode May 28 13:35:52 Reading random entropy from '/dev/urandom' May 28 13:35:52 Only allowing queries from: 127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 May 28 13:35:52 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10, 0.0.0.0, :: May 28 13:35:52 NOT using IPv6 for outgoing queries - set 'query-local-address6=::' to enable May 28 13:35:52 Inserting rfc 1918 private space zones May 28 13:35:52 Listening for UDP queries on 127.0.0.1:53 May 28 13:35:52 Not decreasing socket buffer size from 131072 to 65000 May 28 13:35:52 Listening for TCP queries on 127.0.0.1:53 May 28 13:35:52 Launching 2 threads May 28 13:35:52 Done priming cache with root hints May 28 13:35:52 Done priming cache with root hints May 28 13:35:52 Enabled 'select' multiplexer May 28 13:35:52 Refreshed . records pdns_recursor(5159,0x10c85a000) malloc: *** error for object 0x7feca8c16de0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug help ! *with best regards,* Jacky Wu *jacky.wuch...@gmail.com* jacky.wuch...@gmail.com *blog: **http://www.sanote.org* weibo: @object ___ 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] pdns recursor 3.5.1 crash on Mac OSX mountain lion 10.8.3
Can you recompile the software with following changes: edit Makefile and make sure your OPTFLAGS are '-O0 -g' before starting, run 'ulimit -c unlimited' Then start it normally, and hope it crashes. It should produce a core file. You can see where it crashed by typing 'gdb /path/to/binary /path/to/core' Aki Tuomi On Tue, May 28, 2013 at 01:37:36PM +0800, jacky wu wrote: $ ./configure make install $ sudo /usr/sbin/pdns_recursor --daemon=no May 28 13:35:52 PowerDNS recursor 3.5.1 (C) 2001-2013 PowerDNS.COM BV (May 26 2013, 22:54:09, gcc 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.27)) starting up May 28 13:35:52 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 28 13:35:52 Operating in 64 bits mode May 28 13:35:52 Reading random entropy from '/dev/urandom' May 28 13:35:52 Only allowing queries from: 127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 May 28 13:35:52 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10, 0.0.0.0, :: May 28 13:35:52 NOT using IPv6 for outgoing queries - set 'query-local-address6=::' to enable May 28 13:35:52 Inserting rfc 1918 private space zones May 28 13:35:52 Listening for UDP queries on 127.0.0.1:53 May 28 13:35:52 Not decreasing socket buffer size from 131072 to 65000 May 28 13:35:52 Listening for TCP queries on 127.0.0.1:53 May 28 13:35:52 Launching 2 threads May 28 13:35:52 Done priming cache with root hints May 28 13:35:52 Done priming cache with root hints May 28 13:35:52 Enabled 'select' multiplexer May 28 13:35:52 Refreshed . records pdns_recursor(5159,0x10c85a000) malloc: *** error for object 0x7feca8c16de0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug help ! *with best regards,* Jacky Wu *jacky.wuch...@gmail.com* jacky.wuch...@gmail.com *blog: **http://www.sanote.org* weibo: @object ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users signature.asc Description: Digital signature ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users
[Pdns-users] pdns recursor 3.5.1 crash on Mac OSX mountain lion 10.8.3
$ ./configure make install $ sudo /usr/sbin/pdns_recursor --daemon=no May 28 13:35:52 PowerDNS recursor 3.5.1 (C) 2001-2013 PowerDNS.COM BV (May 26 2013, 22:54:09, gcc 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.27)) starting up May 28 13:35:52 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 28 13:35:52 Operating in 64 bits mode May 28 13:35:52 Reading random entropy from '/dev/urandom' May 28 13:35:52 Only allowing queries from: 127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10 May 28 13:35:52 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10, 0.0.0.0, :: May 28 13:35:52 NOT using IPv6 for outgoing queries - set 'query-local-address6=::' to enable May 28 13:35:52 Inserting rfc 1918 private space zones May 28 13:35:52 Listening for UDP queries on 127.0.0.1:53 May 28 13:35:52 Not decreasing socket buffer size from 131072 to 65000 May 28 13:35:52 Listening for TCP queries on 127.0.0.1:53 May 28 13:35:52 Launching 2 threads May 28 13:35:52 Done priming cache with root hints May 28 13:35:52 Done priming cache with root hints May 28 13:35:52 Enabled 'select' multiplexer May 28 13:35:52 Refreshed . records pdns_recursor(5159,0x10c85a000) malloc: *** error for object 0x7feca8c16de0: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug help ! *with best regards,* Jacky Wu *jacky.wuch...@gmail.com* jacky.wuch...@gmail.com *blog: **http://www.sanote.org* weibo: @object ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users