dhcpd -6 crashing...

Andreas Liebe liebe at hrz.tu-darmstadt.de
Tue Feb 28 16:55:19 UTC 2012


Hi perl-list,

On Tue, 2012-02-28 at 11:24 -0500, perl-list wrote:
> I seem to have a crash bug in dhcpd -6 
> 
> 
> using 4.2.3-p1
> 
> 
> I can remove the crash problem by clearing the leases file
> 
> 
> Anyone else had this problem?
> 
> 
> Please let me know if there is some further info needed...
> 
> 
> The following prints when it crashes to the screen when it crashes 
> 
> 
> ../../../lib/isc/heap.c:241: REQUIRE(index >= 1 && index <=
> heap->last) failed, back trace
> 
> #0 0x8180c51 in ??
...
> Aborted

not a crash, it's an abort but same thing here, also with 4.2.3P2. I've
been unable to find the root cause yet. dhcpd is running for some
seconds and dies the error. Removing the lease file will keep it up a
bit longer:

../../../lib/isc/heap.c:241: REQUIRE(index >= 1 && index <= heap->last)
failed, back trace

(gdb) where
#0  0x00007ffff7aaf1b5 in raise () from /lib/libc.so.6
#1  0x00007ffff7ab1fc0 in abort () from /lib/libc.so.6
#2  0x000000000054b29f in isc_assertion_failed (file=<value optimized out>, 
    line=<value optimized out>, type=<value optimized out>, 
    cond=<value optimized out>) at ../../../lib/isc/assertions.c:58
#3  0x000000000055e8a9 in isc_heap_decreased (heap=<value optimized out>, 
    index=<value optimized out>) at ../../../lib/isc/heap.c:241
#4  0x000000000044faf8 in renew_lease6 (pool=0x939b40, lease=0xe3cec0)
    at mdb6.c:1031
#5  0x0000000000445168 in reply_process_ia_na (reply=0x7f52e0, ia=0xd9aa50)
    at dhcpv6.c:1845
#6  0x00000000004440cd in lease_to_client (reply_ret=0x7ffffffee0b0, 
    packet=0x10194b0, client_id=0x7ffffffedf50, server_id=0x7ffffffedf30)
    at dhcpv6.c:1308
#7  0x0000000000449e9e in dhcpv6_request (reply_ret=0x7ffffffee0b0, 
    packet=0x10194b0) at dhcpv6.c:4149
#8  0x000000000044d1b9 in build_dhcpv6_reply (reply=0x7ffffffee0b0, 
    packet=0x10194b0) at dhcpv6.c:5753
#9  0x000000000044caf1 in dhcpv6_relay_forw (reply_ret=0x7ffffffee1d0, 
    packet=0xe664d0) at dhcpv6.c:5575
#10 0x000000000044d283 in build_dhcpv6_reply (reply=0x7ffffffee1d0, 
    packet=0xe664d0) at dhcpv6.c:5780
#11 0x000000000044d535 in dhcpv6 (packet=0xe664d0) at dhcpv6.c:5873
#12 0x000000000046e154 in do_packet6 (interface=0x891f50, 
    packet=0x7ffffffee2c0 "\f", len=206, from_port=8962, from=0x7fffffffe2c0, 
    was_unicast=isc_boolean_true) at options.c:3885
#13 0x000000000045bbb9 in got_one_v6 (h=0x891f50) at discover.c:1501
#14 0x0000000000492f3f in omapi_iscsock_cb (task=0x7ffff7f74010, 
    socket=0x7ffff7f7a658, cbarg=0x105a1a0, flags=1) at dispatch.c:174
#15 0x000000000056b1ef in internal_fdwatch_read (me=0x7ffff7f74010, 
    ev=0x7ffff7f7a6f0) at ../../../../lib/isc/unix/socket.c:3442
#16 0x000000000056fe45 in dispatch (manager0=<value optimized out>)
    at ../../../lib/isc/task.c:1012
#17 isc__taskmgr_dispatch (manager0=<value optimized out>)
    at ../../../lib/isc/task.c:1436
#18 0x000000000055f8bb in evloop (ctx=0x7ffff7f6d010)
    at ../../../../lib/isc/unix/app.c:497
#19 0x000000000055fae7 in isc__app_ctxrun (ctx0=<value optimized out>)
    at ../../../../lib/isc/unix/app.c:696
#20 0x000000000045ca6b in dispatch () at dispatch.c:113
#21 0x00000000004048b1 in main (argc=7, argv=0x7fffffffe6d8) at dhcpd.c:863

Regards,

 -Andreas

-- 
Andreas Liebe/TU Darmstadt/+49 6151 16-3150/3050(FAX)



More information about the dhcp-users mailing list