Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2019 04:36:55 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Segmentation fault in netstat after r354373 -> r354373 update
Message-ID:  <20191107123655.GQ1194@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--IjidByZJ9GyRdto8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

(I haven't started to look for a culprit yet; thought I'd let folks know
about it first.  -- dhw)

g1-49(13.0-C)[1] uname -a
FreeBSD g1-49.catwhisker.org 13.0-CURRENT FreeBSD 13.0-CURRENT #514 r354436=
M/354436: Thu Nov  7 04:15:23 PST 2019     root@g1-49.catwhisker.org:/commo=
n/S4/obj/usr/src/amd64.amd64/sys/CANARY  amd64
g1-49(13.0-C)[2] which netstat
/usr/bin/netstat
g1-49(13.0-C)[3] ls -lT `!!`
ls -lT `which netstat`
-r-xr-sr-x  1 root  kmem  160192 Nov  7 04:17:46 2019 /usr/bin/netstat
g1-49(13.0-C)[4] netstat -nr
Segmentation fault
g1-49(13.0-C)[5] sudo netstat -nr
Segmentation fault
g1-49(13.0-C)[6] sudo gdb `which netstat`
Password:
GNU gdb (GDB) 8.3.1 [GDB v8.3.1 for FreeBSD]
Copyright (C) 2019 Free Software Foundation, Inc.
=2E..
Reading symbols from /usr/bin/netstat...
(No debugging symbols found in /usr/bin/netstat)
(gdb) run -nr
Starting program: /usr/bin/netstat -nr
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            172.17.0.1         UGS       wlan0
127.0.0.1          link#2             UH          lo0
172.17.0.0/16      link#3             U         wlan0
172.17.1.49        link#3             UHS         lo0

Internet6:
Destination                       Gateway                       Flags     N=
etif Expire
::/96                             ::1                           UGRS       =
 lo0
::1                               link#2                        UH         =
 lo0
::ffff:0.0.0.0/96                 ::1                           UGRS       =
 lo0
fe80::/10                         ::1                           UGRS       =
 lo0
fe80::%lo0/64                     link#2                        U          =
 lo0
fe80::1%lo0                       link#2                        UHS        =
 lo0
ff02::/16                         ::1                           UGRS       =
 lo0
[Inferior 1 (process 1993) exited normally]


So...  Heisenbug?

No changes directly to netstat sources (in the r354373 - r354373
interval).  Looks as if libxo got a bit of an overhaul, though.

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
It's ... rich ... for Trump to accuse someone else of being a liar.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--IjidByZJ9GyRdto8
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl3ED+dfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PcnTtQgAl7OFsD+wRBiaElaLuJqBweChmFv6kgZJrU5Qvze9hji0/FVgvY/NBi3P
Rhg13OaK+/KIR8JHsMPtl1G7kGtG9m30gzZrEEdC89X+IXdI3pHWO3u9p8Y3mh8m
AG99FUK/l6dfmCK+y7s4IlUDRBWk1hj4FEDy+z08uTv/o4FpOHvsonAT34WUXd5L
tI6ehZYPPeqZNpxusct7hN3/OwYwLIo+rnHLEF81qfMOCXQ7MFmxAu2LP4VM6Biv
ePkWcerkc7GV37KvcwaCmwa3NdBzKC/ytoXUh91FQdRPfjO8512XRMYUpCDolTqq
44Ez+s7Jhs7Xdym3Fc9npel7btC8XA==
=z5kc
-----END PGP SIGNATURE-----

--IjidByZJ9GyRdto8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191107123655.GQ1194>