From owner-freebsd-bugs Fri Nov 12 12:40: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2107614FDE for ; Fri, 12 Nov 1999 12:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA08791; Fri, 12 Nov 1999 12:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 6805714D47; Fri, 12 Nov 1999 12:30:11 -0800 (PST) Message-Id: <19991112203011.6805714D47@hub.freebsd.org> Date: Fri, 12 Nov 1999 12:30:11 -0800 (PST) From: mjy@pobox.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: misc/14850: dhclient crashes (communicating with bootpd) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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