Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller gets stuck when disabling advertising (no assert) #3386

Closed
zephyrbot opened this issue Mar 21, 2017 · 0 comments
Closed

Controller gets stuck when disabling advertising (no assert) #3386

zephyrbot opened this issue Mar 21, 2017 · 0 comments
Assignees
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Milestone

Comments

@zephyrbot
Copy link
Collaborator

zephyrbot commented Mar 21, 2017

Reported by Johan Hedberg:

Occasionally after long periods of continuous scanning and sending out Mesh advertising packets, the controller gets stuck when disabling advertising without emitting any assert.

HCI:

< HCI Command: LE Set Advertise Enable (0x08|0x000a) plen 1 [hci1] 3472.571335
Advertising: Disabled (0x00)

backtrace:

(gdb) bt
#0 __SEV () at /home/jh/src/zephyr/ext/hal/cmsis/Include/cmsis_gcc.h:406
#1 cpu_sleep ()
at /home/jh/src/zephyr/subsys/bluetooth/controller/hal/cpu.h:14
#2 0x0000414a in role_disable (
ticker_id_primary=ticker_id_primary@entry=5 '\005',
ticker_id_stop=ticker_id_stop@entry=3 '\003')
at /home/jh/src/zephyr/subsys/bluetooth/controller/ll_sw/ctrl.c:7048
#3 0x00008b1e in radio_adv_disable ()
at /home/jh/src/zephyr/subsys/bluetooth/controller/ll_sw/ctrl.c:7272
#4 0x00009b22 in ll_adv_enable (enable=)
at /home/jh/src/zephyr/subsys/bluetooth/controller/ll_sw/ll.c:441
#5 0x00001782 in le_set_adv_enable (
buf=0x20002cc8 <_net_buf_pool_cmd_tx_pool>,
evt=0x20002c7c <tx_thread_stack+660>)
at /home/jh/src/zephyr/subsys/bluetooth/controller/hci/hci.c:385
#6 controller_cmd_handle (evt=0x20002c7c <tx_thread_stack+660>,
cmd=0x20002cc8 <_net_buf_pool_cmd_tx_pool>, ocf=10 '\n')
at /home/jh/src/zephyr/subsys/bluetooth/controller/hci/hci.c:759
#7 hci_cmd_handle (cmd=cmd@entry=0x20002cc8 <_net_buf_pool_cmd_tx_pool>)
at /home/jh/src/zephyr/subsys/bluetooth/controller/hci/hci.c:900
#8 0x00001efe in cmd_handle (buf=0x20002cc8 <_net_buf_pool_cmd_tx_pool>)
at /home/jh/src/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:147
#9 hci_driver_send (buf=0x20002cc8 <_net_buf_pool_cmd_tx_pool>)
---Type to continue, or q to quit---
/zephyr/subsys/bluetooth/controller/hci/hci_driver.c:176

(Imported from Jira ZEP-1941)

@zephyrbot zephyrbot added priority: high High impact/importance bug area: Bluetooth bug The issue is a bug, or the PR is fixing a bug labels Sep 23, 2017
@zephyrbot zephyrbot added this to the v1.8.0 milestone Sep 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants