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
[5.72] test_aics_unit_testcases (test-vcp.c) fails on x86_64 #726
Comments
@macmpi try running it with valgrind to see if that reports anything. |
I'm afraid I'm unsure how to set this in the context of Alpine CI build: |
some more logs details on this:
produced vcp test and codedump are below |
Maybe related to #683. |
Thank for the ref @xry111 : tried without "-flto" option in CFLAGS, but no more success unfortunately. |
seems fixed in 5.73. |
5.73 unfortunately still fails for me with LTO (specifically the 'unit/test-vcp' test). Bug: bluez/bluez#683 Bug: bluez/bluez#726 Closes: https://bugs.gentoo.org/925745 Signed-off-by: Sam James <sam@gentoo.org>
is back from 5.74 (x86 and x86_64) |
If you get segfaults, it's simplest to compile with ASAN (AddressSanitizer) enabled, as if it crashes then the backtraces will usually tell you immediately what's going on. Valgrind in principle could also be used, but it's slower and ASAN probably changes the timings less, and for bluetoothd on PCs there's not a lot of reasons why not have ASAN enabled all the time. |
Thanks for the tip. |
Why not just |
this is also failing with bluez 5.73 on our 3.20 package builders (where we're rebuilding world for the upcoming stable release) https://build.alpinelinux.org/buildlogs/build-3-20-x86_64/main/bluez/bluez-5.73-r0.log |
disable test_aics_unit_testcases (fails on x86 & x86_64) bluez/bluez#726 ver 5.75: - Fix issue with build system and header inclusion. ver 5.74: - Fix issue with not enabling Wideband Speech when available. - Fix issue with UserspaceHID and Bluetooth Classic devices. - Fix issue with checking for services being connected. - Fix issue with GATT client connection creation. - Fix issue with OBEX and small file transfers. - Fix issue with handling pairing with Apple AirPods.
[ commit 86624eb322d9b0016d57c35fd6aaf7a0a1a1bdb3 ] disable test_aics_unit_testcases (fails on x86 & x86_64) bluez/bluez#726 ver 5.75: - Fix issue with build system and header inclusion. ver 5.74: - Fix issue with not enabling Wideband Speech when available. - Fix issue with UserspaceHID and Bluetooth Classic devices. - Fix issue with checking for services being connected. - Fix issue with GATT client connection creation. - Fix issue with OBEX and small file transfers. - Fix issue with handling pairing with Apple AirPods.
Trying to build bluez 5.72 on Alpine (musl): it now fails on x86_64 (only)
Dunno how to get more detailed info on actual failure.
Other arches ARM (32 & 64) , x86, etc are fine.
test_aics_unit_testcases
seems the offending part: disabling it fixes build.The text was updated successfully, but these errors were encountered: