| Summary: | dhclient crashes (communicating with bootpd) | ||
|---|---|---|---|
| Product: | Base System | Reporter: | mjy <mjy> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 3.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed Duplicate of 14850 |
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 () 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. 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: