Crash! With DHCP 4.2.3-P2

Mike Meredith mike.meredith at port.ac.uk
Thu Apr 19 14:29:26 UTC 2012


Hi!

On a dhcp server I run, we have been getting very occasional crashes
(segmentation faults - reported in the system log with "XXX"). These
occur many days appart on a moderately busy network (18000 leases and
about 20,000-90,000 DHCPDISCOVERs per day).

Environment:-

        ISC DHCPD 4.2.3-P2 (self compiled)
        SLES 11SP1 on x86_64

Crash trace :-

(gdb) bt
#0  dns_client_cancelupdate (trans=0xdededededededede) at ../../../lib/dns/client.c:2808
#1  0x00000000004499dd in ddns_cancel (ddns_cb=0x1cac1f0) at dns.c:1744
#2  0x00000000004311ff in ddns_updates (packet=0x1c85ed0, lease=0x7f7d771b4a40, old=0x7f7d774b9d28, lease6=0x0, old6=0x0, options=0x1cae290) at ddns.c:106
#3  0x0000000000409cf0 in ack_lease (packet=0x1c85ed0, lease=0x7f7d774b9d28, offer=5, when=0,
    msg=0x7ffffc7c1fe0 "DHCPREQUEST for 148.197.107.122 from d0:27:88:XX:XX:XX (XXXXXXXX) via 148.197.107.254", ms_nulltp=0, hp=0x0) at dhcp.c:2438
#4  0x000000000040df0b in dhcprequest (packet=0x1c85ed0, ms_nulltp=0, ip_lease=<optimized out>) at dhcp.c:676
#5  0x000000000040eb6f in dhcp (packet=0x1c85ed0) at dhcp.c:229
#6  0x0000000000457755 in do_packet (interface=0x86af50, packet=0x7ffffc7c2590, len=326, from_port=17152, from=..., hfrom=0x7ffffc7c3630) at options.c:3759
#7  0x00000000004477b2 in got_one (h=0x86af50) at discover.c:1441
#8  0x0000000000472e6c in omapi_iscsock_cb (task=<optimized out>, socket=<optimized out>, cbarg=0xf8c8f0, flags=1) at dispatch.c:174
#9  0x00000000005491e8 in internal_fdwatch_read (me=0x7f7d7a6fb010, ev=0x7f7d7a7014d8) at ../../../../lib/isc/unix/socket.c:3442
#10 0x000000000054d15b in dispatch (manager=<optimized out>) at ../../../lib/isc/task.c:1012
#11 isc__taskmgr_dispatch (manager0=<optimized out>) at ../../../lib/isc/task.c:1436
#12 0x000000000053c8bf in evloop (ctx=0x7f7d7a6f4010) at ../../../../lib/isc/unix/app.c:497
#13 0x000000000053caf7 in isc__app_ctxrun (ctx0=<optimized out>) at ../../../../lib/isc/unix/app.c:696
#14 0x00000000004498f0 in dispatch () at dispatch.c:113
#15 0x0000000000404ef7 in main (argc=7, argv=0x7ffffc7c3998) at dhcpd.c:863


From what I read, there's a new maintenance release of dhcp due sometime
soon, and it appears it may be sorting out stuff in this area.

Can I ask if this crash looks as if it may be caused by known issues in
this area ?

-- 
Mike Meredith, University of Portsmouth
Principle Systems Engineer, Hostmaster, Postmaster and Security 
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20120419/8c5ce556/attachment.bin>


More information about the dhcp-users mailing list