All of lore.kernel.org
 help / color / mirror / Atom feed
* BlueZ meshctl segv in config-client.c:read_input_parameters()
@ 2017-12-08 15:39 Steve Brown
  2017-12-08 16:38 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Brown @ 2017-12-08 15:39 UTC (permalink / raw)
  To: linux-bluetooth

Caught one running the current head.

Steve

[Zephyr-Node-0104]# 
Program received signal SIGSEGV, Segmentation fault.
0x00021970 in read_input_parameters (argc=-1, argc@entry=0, argv=0x4, argv@entry=0x0) at mesh/config-client.c:291
291		if (!argc || argv[1][0] == '\0')
(gdb) bt
#0  0x00021970 in read_input_parameters (argc=-1, argc@entry=0, argv=0x4, argv@entry=0x0) at mesh/config-client.c:291
#1  0x00022b1c in cmd_get_composition (argc=0, argv=0x0) at mesh/config-client.c:362
#2  0x00022fd4 in config_client_get_composition (dst=<optimized out>) at mesh/config-client.c:851
#3  0x0001d598 in beacon_update (iv_index=5, iv_update=<optimized out>, first=<optimized out>) at mesh/net.c:1007
#4  process_beacon (size=<optimized out>, data=0x47551 <gatt_pkt+1> "\001") at mesh/net.c:1085
#5  net_data_ready (msg=0x47551 <gatt_pkt+1> "\001", len=<optimized out>) at mesh/net.c:1874
#6  0x00018c60 in pipe_read (io=<optimized out>, prov=<optimized out>, user_data=0x601c8) at mesh/gatt.c:399
#7  0x0002d250 in watch_callback (channel=<optimized out>, cond=<optimized out>, user_data=<optimized out>) at src/shared/io-glib.c:170
#8  0x76ee3fe8 in g_main_context_dispatch () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#9  0x76ee43b8 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) 


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

* Re: BlueZ meshctl segv in config-client.c:read_input_parameters()
  2017-12-08 15:39 BlueZ meshctl segv in config-client.c:read_input_parameters() Steve Brown
@ 2017-12-08 16:38 ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2017-12-08 16:38 UTC (permalink / raw)
  To: Steve Brown; +Cc: linux-bluetooth

Hi Steve,

On Fri, Dec 8, 2017 at 1:39 PM, Steve Brown <sbrown@cortland.com> wrote:
> Caught one running the current head.
>
> Steve
>
> [Zephyr-Node-0104]#
> Program received signal SIGSEGV, Segmentation fault.
> 0x00021970 in read_input_parameters (argc=-1, argc@entry=0, argv=0x4, argv@entry=0x0) at mesh/config-client.c:291
> 291             if (!argc || argv[1][0] == '\0')
> (gdb) bt
> #0  0x00021970 in read_input_parameters (argc=-1, argc@entry=0, argv=0x4, argv@entry=0x0) at mesh/config-client.c:291
> #1  0x00022b1c in cmd_get_composition (argc=0, argv=0x0) at mesh/config-client.c:362
> #2  0x00022fd4 in config_client_get_composition (dst=<optimized out>) at mesh/config-client.c:851
> #3  0x0001d598 in beacon_update (iv_index=5, iv_update=<optimized out>, first=<optimized out>) at mesh/net.c:1007
> #4  process_beacon (size=<optimized out>, data=0x47551 <gatt_pkt+1> "\001") at mesh/net.c:1085
> #5  net_data_ready (msg=0x47551 <gatt_pkt+1> "\001", len=<optimized out>) at mesh/net.c:1874
> #6  0x00018c60 in pipe_read (io=<optimized out>, prov=<optimized out>, user_data=0x601c8) at mesh/gatt.c:399
> #7  0x0002d250 in watch_callback (channel=<optimized out>, cond=<optimized out>, user_data=<optimized out>) at src/shared/io-glib.c:170
> #8  0x76ee3fe8 in g_main_context_dispatch () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
> #9  0x76ee43b8 in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> (gdb)

Just sent a fix for that.

-- 
Luiz Augusto von Dentz

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

end of thread, other threads:[~2017-12-08 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08 15:39 BlueZ meshctl segv in config-client.c:read_input_parameters() Steve Brown
2017-12-08 16:38 ` Luiz Augusto von Dentz

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.