Subject: Re: dhclient segfaults
To: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 05/25/2001 15:54:56
On Thu, May 24, 2001 at 07:05:52PM +0100, Patrick Welche wrote:
> On Fri, May 25, 2001 at 02:18:11AM +0900, Takahiro Kambe wrote:
> > Dhclient compiled with -DSMALL might be broken.
> >
> > Is this patch solve your problem?
>
> I'm afraid not. More tomorrow...
>
> 2 trivia by the way:
> - dhclient-script is installed in /sbin on the system, /etc on the install
> floppy
> - I think something is up with CLEANFILES+= ${SRCS:M*.OM.c} in
> x_dhclient/Makefile as stuff is left behind..
Finally got a backtrace:
Program terminated with signal 11, Segmentation fault.
#0 0x8050c26 in omapi_object_allocate (o=0xbfbfcfe4, type=0x0, size=0,
file=0x80a5f40 "/usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/common/discover.c", line=269) at alloc.OM.c:376
376 if (type -> allocator) {
(gdb) bt
#0 0x8050c26 in omapi_object_allocate (o=0xbfbfcfe4, type=0x0, size=0,
file=0x80a5f40 "/usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/common/discover.c", line=269) at alloc.OM.c:376
#1 0x8075930 in interface_allocate (p=0xbfbfcfe4,
file=0x80a5f40 "/usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/common/discover.c", line=269)
at /usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/common/discover.c:80
#2 0x8075c48 in discover_interfaces (state=2)
at /usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/common/discover.c:269
#3 0x804953b in main (argc=1, argv=0xbfbfd494, envp=0xbfbfd49c)
at /usr/src/distrib/utils/x_dhclient/../../../usr.sbin/dhcp/client/dhclient.c:340
#4 0x80481e5 in ___start ()
(This is without the patches...)