All of lore.kernel.org
 help / color / mirror / Atom feed
* AP mode crash
@ 2020-02-04  8:09 Daniel Wagner
  2020-02-04 16:58 ` Denis Kenzior
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Wagner @ 2020-02-04  8:09 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 2917 bytes --]

Hi,

While playing with the AP mode I triggered following crash:


AP Probe Request from 30:4b:07:ee:49:8d
AP Probe Response sent OK
src/netdev.c:netdev_unicast_notify() Unicast notification 59
AP Probe Request from 30:4b:07:ee:49:8d
src/netdev.c:netdev_unicast_notify() Unicast notification 59
AP Probe Request from 30:4b:07:ee:49:8d
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/agent.c:agent_unregister() agent unregister
src/agent.c:agent_free() agent free 0xde6820
src/netdev.c:netdev_mlme_notify() MLME notification Stop AP(16)
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_bridge_port_event() netdev: 8 added to bridge: 9
src/netdev.c:netdev_link_notify() event 16 on ifindex 2
src/netdev.c:netdev_link_notify() event 16 on ifindex 9
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_bridge_port_event() netdev: 8 added to bridge: 9
src/netdev.c:netdev_link_notify() event 17 on ifindex 8
src/netdev.c:netdev_bridge_port_event() netdev: 8 removed from bridge: 9
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_link_notify() event 17 on ifindex 9
src/netdev.c:netdev_link_notify() event 16 on ifindex 2
src/agent.c:agent_register() agent register called
src/agent.c:agent_register() agent :1.83 path /net/connman/iwd_agent
src/netdev.c:netdev_link_notify() event 16 on ifindex 8
src/netdev.c:netdev_unicast_notify() Unicast notification 59
AP Probe Request from 30:4b:07:ee:49:8d
src/netdev.c:netdev_unicast_notify() Unicast notification 59
AP Probe Request from 30:4b:07:ee:49:8d
src/netdev.c:netdev_unicast_notify() Unicast notification 59
AP Probe Request from 30:4b:07:ee:49:8d
Aborting (signal 11) [/home/wagi/prj/connman/iwd/src/iwd]
++++++++ backtrace ++++++++
#0  0x7fc63e910030 in /lib64/libc.so.6
#1  0x7fc63ea35891 in /lib64/libc.so.6
#2  0x43ad5e in ap_probe_req_cb() at src/ap.c:1100 (discriminator 1)
#3  0x45435a in frame_watch_unicast_notify() at src/frame-xchg.c:184 
(discriminator 6)
#4  0x4818c3 in dispatch_unicast_watches() at ell/genl.c:899
#5  0x48197b in process_unicast() at ell/genl.c:919
#6  0x481d21 in received_data() at ell/genl.c:1035
#7  0x47cfea in io_callback() at ell/io.c:126
#8  0x47baf8 in l_main_iterate() at ell/main.c:473
#9  0x47bbff in l_main_run() at ell/main.c:516
#10 0x47bf17 in l_main_run_with_signal() at ell/main.c:642
#11 0x404a36 in main() at src/main.c:497
#12 0x7fc63e8fae0b in /lib64/libc.so.6
+++++++++++++++++++++++++++

What I did was, enabling WiFi tethering in ConnMan, terminate ConnMan 
(this tells iwd to shutdown the connection) and restart ConnMan again. 
ConnMan then tries to restore the old setup, starting the AP mode.

Haven't really debugged it yet. Maybe someone spots the problem more 
easily than I do :)

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AP mode crash
  2020-02-04  8:09 AP mode crash Daniel Wagner
@ 2020-02-04 16:58 ` Denis Kenzior
  2020-02-04 17:29   ` Daniel Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Kenzior @ 2020-02-04 16:58 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]

Hi Daniel,

> #0  0x7fc63e910030 in /lib64/libc.so.6
> #1  0x7fc63ea35891 in /lib64/libc.so.6
> #2  0x43ad5e in ap_probe_req_cb() at src/ap.c:1100 (discriminator 1)
> #3  0x45435a in frame_watch_unicast_notify() at src/frame-xchg.c:184 
> (discriminator 6)
> #4  0x4818c3 in dispatch_unicast_watches() at ell/genl.c:899
> #5  0x48197b in process_unicast() at ell/genl.c:919
> #6  0x481d21 in received_data() at ell/genl.c:1035
> #7  0x47cfea in io_callback() at ell/io.c:126
> #8  0x47baf8 in l_main_iterate() at ell/main.c:473
> #9  0x47bbff in l_main_run() at ell/main.c:516
> #10 0x47bf17 in l_main_run_with_signal() at ell/main.c:642
> #11 0x404a36 in main() at src/main.c:497
> #12 0x7fc63e8fae0b in /lib64/libc.so.6
> +++++++++++++++++++++++++++
> 
> What I did was, enabling WiFi tethering in ConnMan, terminate ConnMan 
> (this tells iwd to shutdown the connection) and restart ConnMan again. 
> ConnMan then tries to restore the old setup, starting the AP mode.
> 
> Haven't really debugged it yet. Maybe someone spots the problem more 
> easily than I do :)
> 

I'm guessing Andrew's patches (applied upstream) that came in a few 
hours after this report fixed this issue?

Regards,
-Denis

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AP mode crash
  2020-02-04 16:58 ` Denis Kenzior
@ 2020-02-04 17:29   ` Daniel Wagner
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Wagner @ 2020-02-04 17:29 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

> I'm guessing Andrew's patches (applied upstream) that came in a few hours
> after this report fixed this issue?

I was testing with 1.4-35-g0508879e2a64 this morning. Now with
1.4-43-gfff6c97e996e the crash is gone.

Thanks for fixing it!
Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-04 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04  8:09 AP mode crash Daniel Wagner
2020-02-04 16:58 ` Denis Kenzior
2020-02-04 17:29   ` Daniel Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.