[Pdns-users] Crashing 2.9.11

bert hubert ahu at ds9a.nl
Sun Sep 28 17:05:04 UTC 2003


On Sat, Sep 27, 2003 at 09:45:49AM +0200, Marc van de Geijn wrote:

> Sep 27 09:37:27 server1 pdns[26314]: Got a signal 6, attempting to print
> trace:

Is there nothing relevant above this line? Which compiler did you compile
with? If this is gcc 2.95, I suggest recompiling with gcc 3.3.

I have a hard time understanding this trace.

This appears to indicate an uncaught exception, which should not ever kill
PDNS in this case.

> Sep 27 09:37:27 server1 pdns[26314]:
> /usr/sbin/pdns_server-instance(_ZN6SMySQL7doQueryERKSs+0xe4) [0x8068004]

This is probably:

  if(mysql_query(&d_db,query.c_str())) 
    throw sPerrorException("Failed to execute mysql_query");

> Sep 27 09:37:27 server1 pdns[26314]:
> /usr/sbin/pdns_server-instance(_ZN6SMySQL7doQueryERKSsRSt6vectorIS2_ISsSaISs
> EESaIS4_EE+0x10b) [0x806836b]

this is the 'outer' doQuery()

> Sep 27 09:37:27 server1 pdns[26314]:
> /usr/sbin/pdns_server-instance(_ZN11GSQLBackend20getUnfreshSlaveInfosEPSt6ve
> ctorI10DomainInfoSaIS1_EE+0x5d) [0x80fc0bd]

This is GSQLBackend::getUnfreshSlaveInfos()

> Sep 27 09:37:27 server1 pdns[26314]:
> /usr/sbin/pdns_server-instance(_ZN12UeberBackend20getUnfreshSlaveInfosEPSt6v
> ectorI10DomainInfoSaIS1_EE+0x2c) [0x80b4f2c]

This is the UeberBackend::getUnfreshSlaveInfos()
(...)

> Sep 27 09:37:27 server1 pdns[26314]:
> /usr/sbin/pdns_server-instance(_ZN17CommunicatorClass8mainloopEv+0x11b)
> [0x80cb7db]

Now, the problem is, mainloop() should catch all exceptions thrown. So I
don't understand what happened.

Thanks.


-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


More information about the Pdns-users mailing list