Date: Wed, 14 Jun 2023 09:09:04 +0100 From: Alexander Chernikov <melifaro@FreeBSD.org> To: garyj@gmx.de Cc: current@freebsd.org Subject: Re: ifconfig dumps core and gdb uses an undefined symbol Message-ID: <7A98AD66-35D3-447B-B808-2A52E9AD28F3@FreeBSD.org> In-Reply-To: <20230614095956.26234554@ernst.home> References: <20230614095956.26234554@ernst.home>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 14 Jun 2023, at 08:59, Gary Jennejohn <garyj@gmx.de> wrote: Hi Gary, >=20 > So, now I have a new problem with current. >=20 > I just now updated my current sources and ran buildworld and = buildkernel, > since Gleb fixed the WITHOUT_PF problem. >=20 > After installing the new world and kernel I see that ifconfig is = dumping > a core, apparently when it tries to show lo0, since re0 is correctly > shown: >=20 > ifconfig > re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu = 4088 = options=3D82098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > ether redacted > inet 192.168.178.XXX netmask 0xffffff00 broadcast = 192.168.178.255 > Segmentation fault (core dumped) Could you please try to narrow down the crashing command? e.g. Ifconfig lo0 Ifconfig lo0 net Ifconfig lo0 inet6 Could you try to rebuild ifconfig w/o netlink (e.g. set = WITHOUT_NETLINK=3Dyes in the make.conf & make -C sbin/ifconfig clean all = install) and see if the new binary works? >=20 > Unfortunately, I see this error message when I try to look at the core > file with gdb: >=20 > gdb /sbin/ifconfig ifconfig.core > ld-elf.so.1: Undefined symbol "rl_eof_found" referenced from COPY > relocation in /usr/local/bin/gdb Not a specialist here, but if you could build the binary with debug = (make DEBUG_FLAGS=3D=E2=80=9C-O0 -g3=E2=80=9D sbin/ifconfig clean all = install) & share the binary & core with me, I could take a look on = what=E2=80=99s happening. >=20 > pkg claims that my packages are all up to date. >=20 > Not exactly a fatal error, but still rather surprising. >=20 > -- > Gary Jennejohn >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7A98AD66-35D3-447B-B808-2A52E9AD28F3>