Discussion:
wpa_supplicant: SIGBUS after main-n247052-d40cd26a86a7 -> main-n247092-ec7b47fc81b2
David Wolfskill
2021-06-01 12:18:03 UTC
Permalink
Reading symbols from /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wpa_supplicant/wpa_supplicant...
(No debugging symbols found in /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wpa_supplicant/wpa_supplicant)
[New LWP 100168]
Core was generated by `/usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_supplicant.conf -D bsd -P /v'.
Program terminated with signal SIGBUS, Bus error.
--Type <RET> for more, q to quit, c to continue without paging--
#0 0x00000000010fb34f in wpa_sm_rx_eapol ()
(gdb) bt
#0 0x00000000010fb34f in wpa_sm_rx_eapol ()
#1 0x00000000010f3afe in l2_packet_receive ()
#2 0x0000000001122ef3 in eloop_run ()
#3 0x00000000010b44a8 in wpa_supplicant_run ()
#4 0x000000000109fdec in main ()
(gdb)

wlan0 is an iwn(4) device, in this case. Not yet sure how reproducible
this is, but wpa_supplicant's issue(s) do not (yet) seem to prevent the
machine from using teh network (as I'm typing on the laptop's keyboard
to write this).

uname strings: yesterday:

FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #258 main-n247052-d40cd26a86a7: Mon May 31 05:48:18 PDT 2021 ***@g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018

today:

FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #259 main-n247092-ec7b47fc81b2: Tue Jun 1 04:49:26 PDT 2021 ***@g1-55.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018

(Though the laptop did just lose connectivity; checking /var/log/messages:

<6>1 2021-06-01T12:06:15.336865+00:00 g1-55.catwhisker.org kernel - - - wlan0: link state changed to DOWN
<2>1 2021-06-01T12:09:26.811751+00:00 g1-55.catwhisker.org kernel - - - if_delmulti_locked: detaching ifnet instance 0xfffff800126d6800
<2>1 2021-06-01T12:09:26.811773+00:00 g1-55.catwhisker.org syslogd - - - last message repeated 5 times
<6>1 2021-06-01T12:09:26.811774+00:00 g1-55.catwhisker.org kernel - - - lo0: link state changed to DOWN
<27>1 2021-06-01T12:09:27.317032+00:00 g1-55.catwhisker.org dhclient 441 - - My address (172.17.1.55) was deleted, dhclient exiting
<2>1 2021-06-01T12:09:27.317474+00:00 g1-55.catwhisker.org kernel - - - if_delmulti_locked: detaching ifnet instance 0xfffff800129a1800

I tried "sudo service netif restart" and that brought the connection back
(for now, anyway).

As the laptop is a machine that I connect to networks I do not
control, it uses packet filtering (ipfw, which I've been using since
Whistle Communications, ca. 1998).

The build typescript will be up at
https://www.catwhisker.org/~david/FreeBSD/history/laptop.14_build_typescript.txt
shortly.

Peace,
david
--
David H. Wolfskill ***@catwhisker.org
Claiming that Donald Trump won the 2020 election is the opposite of
patriotism. Make of that what you will.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.
Cy Schubert
2021-06-01 21:02:06 UTC
Permalink
Can you provide me with a backtrace, using the bt command, please.
--
Cheers,
Cy Schubert <***@cschubert.com>
FreeBSD UNIX: <***@FreeBSD.org> Web: https://FreeBSD.org
NTP: <***@nwtime.org> Web: https://nwtime.org

The need of the many outweighs the greed of the few.
--+ZZXH3gC4eszK4ZV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Reading symbols from /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wpa_supplica=
nt/wpa_supplicant...
(No debugging symbols found in /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wp=
a_supplicant/wpa_supplicant)
[New LWP 100168]
Core was generated by `/usr/sbin/wpa_supplicant -s -B -i wlan0 -c /etc/wpa_=
supplicant.conf -D bsd -P /v'.
Program terminated with signal SIGBUS, Bus error.
--Type <RET> for more, q to quit, c to continue without paging--
#0 0x00000000010fb34f in wpa_sm_rx_eapol ()
(gdb) bt
#0 0x00000000010fb34f in wpa_sm_rx_eapol ()
#1 0x00000000010f3afe in l2_packet_receive ()
#2 0x0000000001122ef3 in eloop_run ()
#3 0x00000000010b44a8 in wpa_supplicant_run ()
#4 0x000000000109fdec in main ()
(gdb)=20
wlan0 is an iwn(4) device, in this case. Not yet sure how reproducible
this is, but wpa_supplicant's issue(s) do not (yet) seem to prevent the
machine from using teh network (as I'm typing on the laptop's keyboard
to write this).
FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #258 main-n2=
org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018
FreeBSD g1-55.catwhisker.org 14.0-CURRENT FreeBSD 14.0-CURRENT #259 main-n2=
org:/common/S4/obj/usr/src/amd64.amd64/sys/CANARY amd64 1400018 1400018
<6>1 2021-06-01T12:06:15.336865+00:00 g1-55.catwhisker.org kernel - - - wla=
n0: link state changed to DOWN
<2>1 2021-06-01T12:09:26.811751+00:00 g1-55.catwhisker.org kernel - - - if_=
delmulti_locked: detaching ifnet instance 0xfffff800126d6800
<2>1 2021-06-01T12:09:26.811773+00:00 g1-55.catwhisker.org syslogd - - - la=
st message repeated 5 times
<6>1 2021-06-01T12:09:26.811774+00:00 g1-55.catwhisker.org kernel - - - lo0=
: link state changed to DOWN
<27>1 2021-06-01T12:09:27.317032+00:00 g1-55.catwhisker.org dhclient 441 - =
- My address (172.17.1.55) was deleted, dhclient exiting
<2>1 2021-06-01T12:09:27.317474+00:00 g1-55.catwhisker.org kernel - - - if_=
delmulti_locked: detaching ifnet instance 0xfffff800129a1800
I tried "sudo service netif restart" and that brought the connection back
(for now, anyway).
As the laptop is a machine that I connect to networks I do not
control, it uses packet filtering (ipfw, which I've been using since
Whistle Communications, ca. 1998).
The build typescript will be up at
https://www.catwhisker.org/~david/FreeBSD/history/laptop.14_build_typescrip=
t.txt
shortly.
Peace,
david
--=20
Claiming that Donald Trump won the 2020 election is the opposite of
patriotism. Make of that what you will.
See https://www.catwhisker.org/~david/publickey.gpg for my public key.
--+ZZXH3gC4eszK4ZV
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmC2JXtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PclQaQgA18e9tascZE1aSW6elcBrSo/cIRQU1KeguDAea+6LdqOx1ONqODh7GAQt
GDhQylVwnZTci4aEXl48katwt4yYiqm+HvCD99uN1NJYw3Fjvn1jr0ql0x6ZNG3V
hmd+pdatIJXGRwE9g/HFP0quvbDOdkHonCmZtZZaR8zb0azSMA3MbmWgcoPs+G/n
JpNCZuPWs0fAKtK20pi9fsTL8LDu0Y6bAHPA5Ch1Hrmi/yuj2EJwYwj+Un2WwAY4
NfVeUQW4glansw3JDAX7Uws3qvBXsz+l9QGvTNGMG2YscqLNlAgUsj+HX/UFi2vs
X0QU8GDr7bXH9Kzmsa8orIbB/Hv3hQ==
=WZoK
-----END PGP SIGNATURE-----
--+ZZXH3gC4eszK4ZV--
Mark Millard via freebsd-current
2021-06-02 04:41:54 UTC
Permalink
Post by Cy Schubert
Can you provide me with a backtrace, using the bt command, please.
That was in the original message from David W. A copy was
Post by Cy Schubert
Post by David Wolfskill
(gdb) bt
#0 0x00000000010fb34f in wpa_sm_rx_eapol ()
#1 0x00000000010f3afe in l2_packet_receive ()
#2 0x0000000001122ef3 in eloop_run ()
#3 0x00000000010b44a8 in wpa_supplicant_run ()
#4 0x000000000109fdec in main ()
(No debugging symbols found in /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/wp=
a_supplicant/wpa_supplicant)
So it was apparently a non-debug build without symbols, limiting
the information that is available.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
Cy Schubert
2021-06-02 04:46:36 UTC
Permalink
In message <72A5E40F-C973-473C-B2A4-***@yahoo.com>, Mark Millard
write
Post by Mark Millard via freebsd-current
Post by Cy Schubert
Can you provide me with a backtrace, using the bt command, please.
That was in the original message from David W. A copy was
Post by Cy Schubert
Post by David Wolfskill
(gdb) bt
#0 0x00000000010fb34f in wpa_sm_rx_eapol ()
#1 0x00000000010f3afe in l2_packet_receive ()
#2 0x0000000001122ef3 in eloop_run ()
#3 0x00000000010b44a8 in wpa_supplicant_run ()
#4 0x000000000109fdec in main ()
(No debugging symbols found in /usr/obj/usr/src/amd64.amd64/usr.sbin/wpa/
wp=
Post by Cy Schubert
Post by David Wolfskill
a_supplicant/wpa_supplicant)
So it was apparently a non-debug build without symbols, limiting
the information that is available.
Correct. We have debug symbols now and are chasing it down. I suspect a
static function address in a structure may be incorrect.
--
Cheers,
Cy Schubert <***@cschubert.com>
FreeBSD UNIX: <***@FreeBSD.org> Web: https://FreeBSD.org
NTP: <***@nwtime.org> Web: https://nwtime.org

The need of the many outweighs the greed of the few.
Loading...