Ticket #27 (closed defect: fixed)

Opened 8 years ago

Last modified 6 years ago

PDNS to crashing on Solaris 9

Reported by: laurence.brockman@… Owned by: somebody
Priority: normal Milestone: milestone1
Component: component1 Version: 2.0
Severity: major Keywords:
Cc:

Description

Running on SunOS 5.9 Generic_118558-04 sun4u sparc SUNW,Ultra-80

This causes our server to crash every couple of minutes.

bash-2.05$ sudo mdb /path/to/pdns_server core/core.pdns_server.9979.hostname.0.0.1126551082

Loading modules: [ libc.so.1 libthread.so.1 ld.so.1 ]

$?

no process SIGBUS: Bus Error %g0 = 0x00000000 %l0 = 0x00291800 pdns_server`_ZTVSt15basic_stringbufIcSt11char_traitsIcESaIcEE+0x28 %g1 = 0x000ff000 net_real_write+0x1f0 %l1 = 0x00290fc0 pdns_server`_ZZ4theLRKSsE1l+0x48 %g2 = 0x00000000 %l2 = 0xfe9fba78 %g3 = 0x00000000 %l3 = 0x00000000 %g4 = 0x00000000 %l4 = 0x00000000 %g5 = 0x00000000 %l5 = 0x00000000 %g6 = 0x00000000 %l6 = 0x00000000 %g7 = 0xff180a00 %l7 = 0x00000000 %o0 = 0x00000000 %i0 = 0x002b0086 %o1 = 0x0000001b %i1 = 0x00000010 %o2 = 0xfe9fba88 %i2 = 0x00291858 pdns_server`_ZNSs4_Rep20_S_empty_rep_storageE %o3 = 0x002a9240 %i3 = 0xfe9fbb40 %o4 = 0x00000001 %i4 = 0x00000000 %o5 = 0x00000006 %i5 = 0x00000000 %o6 = 0xfe9fb9a0 %i6 = 0xfe9fbab0 %o7 = 0x000401e4 _ZN6LoggerlsERKSs+0x2d4 %i7 = 0x00097154 _ZN8DNSProxy12getID_lockedEv+0xe4

%psr = 0xfe401006 impl=0xf ver=0xe icc=nZvc

ec=0 ef=4096 pil=0 s=0 ps=0 et=0 cwp=0x6

%y = 0x00000000

%pc = 0x0006e178 _Z16sockAddrToStringP11sockaddr_inj+0x5c

%npc = 0x0006e17c _Z16sockAddrToStringP11sockaddr_inj+0x60

%sp = 0xfe9fb9a0 %fp = 0xfe9fbab0

%wim = 0x00000000 %tbr = 0x00000000

Running with monitor:

Sep 12 16:10:44 Received packet from recursor backend with id 2 which is a duplicate Sep 12 16:10:44 Discarding untracked packet from recursor backend with id 5. Contrack table size=5 Sep 12 16:10:44 Discarding untracked packet from recursor backend with id 7. Contrack table size=5 Sep 12 16:10:44 Received packet from recursor backend with id 1 which is a duplicate Sep 12 16:11:02 Received packet from recursor backend with id 0 which is a duplicate Sep 12 16:11:06 Received packet from recursor backend with id 4 which is a duplicate /path/to/startup/pdns: line 179: 4033 Bus Error (core dumped) $pdns_server --daemon=no --guardian=no --control-console --loglevel=9

Change History

Changed 8 years ago by Laurence

When I attach to a running pdns_server process I get this eventually...

mdb: stop on SIGBUS mdb: target stopped at: _Z16sockAddrToStringP11sockaddr_inj+0x5c: ld [%i0 + 0xc], %o3 mdb: You've got symbols!

Changed 8 years ago by anonymous

  • summary changed from pdns_control purge <record> causing PDNS to crash on Solaris 9 to PDNS to crashing on Solaris 9

I changed the title of the ticket... I think the pdns_control might be misleading and just happens to kind of coincide with our crashes...

Loading modules: [ libc.so.1 libthread.so.1 ld.so.1 ]

$C

fe7fb9a0 _Z16sockAddrToStringP11sockaddr_inj+0x5c(2b1816, 10, 291858, fe7fbb40, 0, 2) fe7fbab0 _ZN8DNSProxy12getID_lockedEv+0xe4(2a98ec, 2a98f0, 2b1810, 2b1800, 0, a009273) fe7fbb78 _ZN8DNSProxy10sendPacketEP9DNSPacket+0xe0(0, 3f1d40, fe7fbdc8, 2a98b0, 332a0100, fe7fbc48) fe7fbcd0 _ZN13PacketHandler8questionEP9DNSPacket+0x2348(2d8650, 1, 3f1d84, fe7fbe68, fe7fbdd0, fe7fbdc0) fe7fbea8 _ZN11DistributorI9DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x524(2a9910, 2a9990, 5dc, 2a9938, 291800, fe7fbf80) fe7fbfa0 libthread.so.1`_lwp_start(0, 0, 0, 0, 0, 0)

Changed 8 years ago by anonymous

Loading modules: [ libc.so.1 libthread.so.1 ld.so.1 ]

$C

fe7fb9a0 _Z16sockAddrToStringP11sockaddr_inj+0x5c(2b1816, 10, 291858, fe7fbb40, 0, 2)
fe7fbab0 _ZN8DNSProxy12getID_lockedEv+0xe4(2a98ec, 2a98f0, 2b1810, 2b1800, 0, a009273)
fe7fbb78 _ZN8DNSProxy10sendPacketEP9DNSPacket+0xe0(0, 3f1d40, fe7fbdc8, 2a98b0, 332a0100, fe7fbc48)
fe7fbcd0 _ZN13PacketHandler8questionEP9DNSPacket+0x2348(2d8650, 1, 3f1d84, fe7fbe68, fe7fbdd0, fe7fbdc0)
fe7fbea8 _ZN11DistributorI9DNSPacketS0_13PacketHandlerE10makeThreadEPv+0x524(2a9910, 2a9990, 5dc, 2a9938, 291800, fe7fbf80)
fe7fbfa0 libthread.so.1`_lwp_start(0, 0, 0, 0, 0, 0)

I wanted to format that last entry for clearer reading

Changed 7 years ago by kkkkoaaa

  • milestone set to milestone1

Keep a good job up!  http://quick-adult-links.com

Changed 6 years ago by ahu

  • status changed from new to closed
  • type set to defect
  • resolution set to fixed

Probably fixed by move to ComboAddress?

Note: See TracTickets for help on using tickets.