Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 1999 12:30:11 -0800 (PST)
From:      mjy@pobox.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   misc/14850: dhclient crashes (communicating with bootpd)
Message-ID:  <19991112203011.6805714D47@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14850
>Category:       misc
>Synopsis:       dhclient crashes (communicating with bootpd)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 12 12:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Marinos J. Yannikos
>Release:        3.3-RELEASE
>Organization:
>Environment:
FreeBSD devil 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Thu Sep 16 23:40:35 GMT 1999     jkh@highwing.cdrom.com:/usr/src/sys/compile/GENERIC  i386

>Description:
When communicating with a BOOTP server, dhclient fails to configure
the interface (the BOOTP configuration works with Win98 and Linux)
and crashes.

Core dump shows:
(gdb) bt
#0  0x80700ca in memcpy ()
#1  0xbfbfbd0c in ?? ()
#2  0x804aa96 in dhcpack (packet=0xbfbfbd60)
    at /usr/src/sbin/dhclient/../../contrib/isc-dhcp/client/dhclient.c:529
#3  0x804b191 in dhcp (packet=0xbfbfbd60)
    at /usr/src/sbin/dhclient/../../contrib/isc-dhcp/client/dhclient.c:722
#4  0x80562fd in do_packet (interface=0x8095000, packet=0xbfbfc5d8, len=300,
    from_port=17152, from={len = 4,
      iabuf = "\n\000\000\001V\001\000\000\000P\t\b\024Ö¿¿"}, hfrom=0xbfbfd5f0)
    at /usr/src/sbin/dhclient/../../contrib/isc-dhcp/common/options.c:638
#5  0x8051e39 in got_one (l=0x8098070)
    at /usr/src/sbin/dhclient/../../contrib/isc-dhcp/common/dispatch.c:713
#6  0x8051d2e in dispatch ()
    at /usr/src/sbin/dhclient/../../contrib/isc-dhcp/common/dispatch.c:677
#7  0x804a4c7 in main (argc=2, argv=0xbfbfd820, envp=0xbfbfd82c)
    at /usr/src/sbin/dhclient/../../contrib/isc-dhcp/client/dhclient.c:281
#8  0x80480e9 in _start ()

>How-To-Repeat:
Should be deterministic, using BOOTP. Here's my bootptab:

.allhost:hd=/tmp:bf=null:\
    :ds=10.0.0.1:\
    :sm=255.255.255.0:\
    :gw=10.0.0.1:\
    :ts=128.130.2.3:\
    :lp=10.0.0.1:\
    :to=0:

devil:ht=1:ha=00409501B465:ip=10.0.0.4:tc=.allhost:

>Fix:
Contributed code, so ask the ISC to fix it. Seems like the lease time isn't
being used for BOOTP, but the dhclient crashes trying to use it.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991112203011.6805714D47>