[Pdns-users] wildcard throws signal 11

Chris Seufert chris at shopa.com.au
Tue May 22 04:39:31 UTC 2007


I'm having the same problem as described.


I tried with the Debian Etch i386 binaries, and have tried the sid 
source, back-ported to Etch.

Still no Joy

This is the backtrace i get:
May 22 11:32:50 This is module gmysqlbackend.so reporting
May 22 11:32:50 This is a standalone pdns
May 22 11:32:50 UDP server bound to 202.53.7.29:53
May 22 11:32:50 TCP server bound to 202.53.7.29:53
May 22 11:32:50 PowerDNS 2.9.21 (C) 2001-2006 PowerDNS.COM BV (May 22 
2007, 12:43:48, gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) 
starting up
May 22 11:32:50 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 22 11:32:50 Set effective group id to 113
May 22 11:32:50 Set effective user id to 109
May 22 11:32:50 Creating backend connection for TCP
% May 22 11:32:50 gmysql Connection succesful
May 22 11:32:50 About to create 3 backend threads for UDP
May 22 11:32:50 gmysql Connection succesful
May 22 11:32:50 gmysql Connection succesful
May 22 11:32:50 gmysql Connection succesful
May 22 11:32:50 Done launching threads, ready to distribute questions
May 22 11:33:06 Distributor misses a thread (4<3), spawning new one
May 22 11:33:06 gmysql Connection succesful
May 22 11:33:06 Got a signal 11, attempting to print trace:
May 22 11:33:06 /usr/sbin/pdns_server [0x80b8eba]
May 22 11:33:06 /lib/tls/libc.so.6 [0xb7d979e8]
May 22 11:33:06 /lib/tls/libc.so.6(strlen+0xb) [0xb7dda80b]
May 22 11:33:06 /lib/tls/libc.so.6(vsnprintf+0xb1) [0xb7dcc211]
May 22 11:33:06 /lib/tls/libc.so.6(snprintf+0x35) [0xb7db3365]
May 22 11:33:06 
/usr/sbin/pdns_server(_ZN11GSQLBackend6lookupERK5QTypeRKSsP9DNSPacketi+0x19e) 
[0x811b18e]
May 22 11:33:06 
/usr/sbin/pdns_server(_ZN12UeberBackend6lookupERK5QTypeRKSsP9DNSPacketi+0x56c) 
[0x80c5ebc]
May 22 11:33:06 
/usr/sbin/pdns_server(_ZN13PacketHandler17questionOrRecurseEP9DNSPacketPb+0x1005) 
[0x8087e05]
May 22 11:33:06 
/usr/sbin/pdns_server(_ZN13PacketHandler8questionEP9DNSPacket+0x29) 
[0x808b379]
May 22 11:33:06 
/usr/sbin/pdns_server(_ZN11DistributorI9DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x3ba) 
[0x80fb5ca]
May 22 11:33:06 /lib/tls/libpthread.so.0 [0xb7ea60bd]
May 22 11:33:06 /lib/tls/libc.so.6(__clone+0x5e) [0xb7e3a9ee]
Aborted

This is my /etc/powerdns/pdns.conf:
allow-recursion=127.0.0.1
config-dir=/etc/powerdns
daemon=yes
disable-axfr=yes
guardian=yes
launch=gmysql
lazy-recursion=yes
local-address=202.53.7.29
local-port=53
module-dir=/usr/lib/powerdns
setgid=pdns
setuid=pdns
socket-dir=/var/run
version-string=powerdns
include=/etc/powerdns/pdns.d

and my /et/powerdns/pdns.d/
gmysql-socket=/var/run/mysqld/mysqld.sock
gmysql-dbname=hosting
gmysql-user=powerdns
gmysql-password=******
gmysql-basic-query=select * from vpowerdns WHERE dnstype='%s' and data='%s'
gmysql-id-query=select * from vpowerdns WHERE dnstype='%s' and data='%s' 
and siteid='%s'
gmysql-any-query=select * from vpowerdns WHERE data='%s'
gmysql-any-id-query=select * from vpowerdns WHERE data='%s' and siteid='%s'
gmysql-list-query=select * from vpowerdns WHERE siteid='%s'

host lookups for normal domains work perfectly, however wild card 
lookups kill it.

Any patch in the works, this is killing me.

- Chris




More information about the Pdns-users mailing list