-
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
tests/bluetooth/hci_prop_evt fails with code coverage enabled in qemu_x86 #18207
Comments
This looks like it might be some kind of stack overflow. |
This test does not fail with coverage enabled on mps2_an385 |
@joerchan can you please take a look? |
Bluetooth TX stack was overflowing.
However, it appears enabling QEMU_X86 with code coverage has a severe stack size increase, almost twice the amount of stack use for all stacks. Enabling code coverage would break many optimized stack sizes in the system. QEMU Code Coverage = y
QEMU Code Coverage = n
Also shameless advertising to have a look at #23258 which provided me with these numbers. |
Closing this issue without fixing the build configuration. Running these tests with qemu_x86 will require increasing stack sizes for multiple tests. |
This references #17324
This test fails with code coverage enabled in qemu_x86 with a double fault (see below)
This can be reproduced by running
./scripts/sanitycheck --coverage -p qemu_x86 -T tests/bluetooth/
After running with gdb, it seems to be failing on line 339 of subsys/bluetooth/host/hci_core.c
The text was updated successfully, but these errors were encountered: