-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Bluetooth: Host: Deadlock with Mesh and Ext Adv on native_posix #43246
Comments
@LingaoM Can you please provide more information, as requested by the bug report template? How exactly can this be reproduced? Any logs you can share? What commit SHA are you on? |
Extended advertising reports cannot be discarded as the host needs to do reassembly of long advertising data. Legacy advertising reports can be discarded because each report is complete. |
From the current design, whether discarded or not, there will be problems, so it needs to be reconstructed |
Can you elaborate more on how/why it is causing a deadlock? |
The Bluetooth receiving thread may not be able to process broadcast |
Ah, so the But as @hermabe said, the extended advertising reports cannot be discarded that easily anymore, and doesn't the same issue exist for any other event unsolicited event (including PA reports as well)? We current have a system with 2 priorities for events that somewhat handles this. Perhaps we need a 3rd priority, such that |
Yes
Yes #30957 (comment) |
@alwa-nordic @jori-nordic it would be great if you could try to reproduce this issue |
@LingaoM is this still an issue? Could you re-check? |
Closed |
Use native_posix as Bluetooth Mesh Demo
Use Another board as Controller,attach to host.
Note:EXT_ADV used.
https://github.com/zephyrproject-rtos/zephyr/blob/main/drivers/bluetooth/hci/userchan.c#L67
Not Mark discardable flag, cause deadlock.
May be introduce by #41337
@hermabe CC
The text was updated successfully, but these errors were encountered: