From nobody Wed Jun 14 09:53:50 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qh13Q48xtz4dMXy for ; Wed, 14 Jun 2023 09:54:10 +0000 (UTC) (envelope-from garyj@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qh13N6vkqz42P4; Wed, 14 Jun 2023 09:54:08 +0000 (UTC) (envelope-from garyj@gmx.de) Authentication-Results: mx1.freebsd.org; dkim=fail ("headers rsa verify failed") header.d=gmx.de header.s=s31663417 header.b=n3KNmx8d; spf=pass (mx1.freebsd.org: domain of garyj@gmx.de designates 212.227.15.19 as permitted sender) smtp.mailfrom=garyj@gmx.de; dmarc=pass (policy=none) header.from=gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1686736447; x=1687341247; i=garyj@gmx.de; bh=E1B1/zk355oI8zzXnl2GIQ/YZosgFtGpaDTPBcBMxp4=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References:Reply- To; b=n3KNmx8dZqEPtoVWhq5TuAHAQnYDbFLJuKwTzF9aUWLhKTfJgPeyDDFdGQhq+DJqZhPVuhY oORvAf3bnHNVjBsmhO4yuRTpdeBDkkOfTmYD2ZeqPHE4+NDDib1lCIIaVkhFsxK+kRp+Fg1Wc tRXeisa71oCaYcetWi5c22q1XX0gb3DfcO1XGkx+JbjjDE1r/C0aRP7HQTmZwPZCpREvwm7v5 /k9/fuFIUtl8D67vyUbshkv1s9eWVSxopaJDLVip3mScpLhpUNO5kenQvdo3OlqTIxwJx3ot0 kXFwdDTlNfdxMyzfyDa7jcmLJodq/vN91sR6o3dN//bs4GXRHAeA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from ernst.home ([91.59.239.189]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MRmfo-1qYDKv31Z4-00THLE; Wed, 14 Jun 2023 11:54:07 +0200 Date: Wed, 14 Jun 2023 09:53:50 +0000 From: Gary Jennejohn To: Alexander Chernikov Cc: current@freebsd.org Subject: Re: ifconfig dumps core and gdb uses an undefined symbol Message-ID: <20230614115350.5e7386fa@ernst.home> In-Reply-To: <20230614110135.15b928db@ernst.home> References: <20230614095956.26234554@ernst.home> <7A98AD66-35D3-447B-B808-2A52E9AD28F3@FreeBSD.org> <20230614110135.15b928db@ernst.home> Reply-To: garyj@gmx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Al4xE0TDbawykPkeuFObPhHxg6CV7lSJ9TJzmQOjQOZmWDele0V qRPGVXU/9ikxgfOL45+GWmffmjMwIMFpo8AUR7+Qb2znEs+O8xmNurP0yxqyMZY3Y71IhLF hetggSTIaHhM3jmUr0SjamWPrGpw12MIaK31rqMHUUP8xVhiuA8YV0G7mqrNcSODWk33kr/ d8OZnoCxyG+fPgQiJ9mjw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:zqB09FV7mC8=;xjzrfe6tZBMhJvaj/c11f84pfVb is6rHBxPTKZFWQyyPCtQdXavbtn+0V2LfFcMWju66C7IcpdcmPs6eMdueUNbMQVAT5rQ2xqKr 0oKlOtWAXWAwN+45QtvJC7hsT3yUzUDDxAP8oMHLb32SUb+E6m2D5mtEqRBW9/F7o6udT5avh fQhK/jioR0GbgcyjmmDLNGGC204BbWgdjAUSK6JpZ0N+n3WnjifZKkVE4soIHlLCf22uoUfK1 MyU6sc2HfAR4Bhl7j/rqGivePtpVWsABGbgc43+CGIM/zZgvSaFOBVsdvDTto/5WFfomHbsDf talcUvUCCxCT1dBDNX7kyrnxTh+LiGq2kOIiYamKct2PLb9eJhoc7Acgb1Dl6g4hK0s9RJRlp m4hGzzjI1mJvgl6mzv/Kmq7ZaevzpLy/cNaQ2mDpGcZXW7zwybLFXLsCtji7wFrSFAhLOIASl hWyznKZ0iSXg2eXdzA/WsnXvruTFyZW22uq3k7HN7bJnCv1SGM/z6OSSIFcME5x97PFB6n3NQ 68ztjv75RQWVDp+GxWjqzFmauUkBtBya1gGvsZo5qrSZNKDMW3udPE+GQZbfifiGR2wdFAP6S 2QTx3Ezf0fTacZQ+D+KUBu4YwAvWDia8WctHQh0YlOd6/ycGBauutIMxPIrIJw+UT6+CT+69l ayPtfDmU0/L1MCQjnS6o/59/jRlqZDS0ELQYUhRZ9iQUI03Vz68157neoYGpoiitkJP6XJAlU QIQvSTtatp7c0c4tlSNT9asqrflaJRLpQ8HKXYTWQa337ain09O2msDjaiunuYWuJSVQeD5KK qa5XZoCgTk7JmbO9FlE9me6p20oIEqN8XPh8aKKAYbxtvJa1CDuUED7XK1ZS2Xoo2rjX2i+qd 9yfEmXUCJ0jHtg8BS7SF8uSfJtEyoLrI6oT8VsNwujFnpERz6fzs5p3w0LafGXvfIlUtSw7l5 HeRFi4I64hmwLAGZpmNG2BucWTk= X-Spamd-Result: default: False [-1.17 / 15.00]; NEURAL_SPAM_LONG(0.98)[0.985]; NEURAL_HAM_MEDIUM(-0.86)[-0.860]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25:c]; RWL_MAILSPIKE_VERYGOOD(-0.20)[212.227.15.19:from]; NEURAL_HAM_SHORT(-0.19)[-0.193]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.19:from]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_REPLYTO(0.00)[garyj@gmx.de]; FREEMAIL_REPLYTO(0.00)[gmx.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[91.59.239.189:server fail]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FREEMAIL_ENVFROM(0.00)[gmx.de]; MIME_TRACE(0.00)[0:+]; R_DKIM_REJECT(0.00)[gmx.de:s=s31663417]; FREEMAIL_FROM(0.00)[gmx.de]; TO_DN_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmx.de:-]; FROM_EQ_ENVFROM(0.00)[]; DMARC_POLICY_ALLOW(0.00)[gmx.de,none]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Qh13N6vkqz42P4 X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N On Wed, 14 Jun 2023 09:01:35 +0000 Gary Jennejohn wrote: > On Wed, 14 Jun 2023 09:09:04 +0100 > Alexander Chernikov wrote: > > > > On 14 Jun 2023, at 08:59, Gary Jennejohn wrote: > > Hi Gary, > > > > > > So, now I have a new problem with current. > > > > > > I just now updated my current sources and ran buildworld and buildke= rnel, > > > since Gleb fixed the WITHOUT_PF problem. > > > > > > After installing the new world and kernel I see that ifconfig is dum= ping > > > a core, apparently when it tries to show lo0, since re0 is correctly > > > shown: > > > > > > ifconfig > > > re0: flags=3D8843 metric 0 m= tu 4088 options=3D82098 > > > 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_NETLIN= K=3Dyes in the make.conf & make -C sbin/ifconfig clean all install) and se= e if the new binary works? > > > > I already have WITHOUT_NETLINK=3Dyes in my /etc/src.conf. > > I didn't install ifconfig. I simply started it from the build directory. > > ifconfig lo0 shows the settings for lo0 and then dumps core. > After your most recent changes "ifconfig re0" and "ifconfg lo0" don't result in any errors. But "ifconfig" alone still results in a core dump, which per gdb is happening in the strlcpy() call at in_status_tunnel= () in af_inet.c. =2D- Gary Jennejohn