-
Notifications
You must be signed in to change notification settings - Fork 247
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
crash in a2dp_suspend_complete() - bluez 5.71 #701
Comments
I also have a Fedora 39 with bluez |
Here is the debug log from another crash, as extracted from |
Commit 052534a ("transport: Update transport release flow for bcast src") introduced a crash where it assumes transport->data always refers to struct bap_transport which causes a crash when the transport is in fact A2DP. Fixes: bluez/bluez#701
@mdontu could you please check if the above changes does fixes the problem? @silviubarbulescu could also verify if these changes don't break BAP broadcast support in the process? |
Hi all, we already submitted a patch for this problem. https://patchwork.kernel.org/project/bluetooth/patch/20231219124916.44173-2-vlad.pruteanu@nxp.com/ This patch was already test with broadcast. |
A bit sad that this made it into the release, I reported it on the mailing list in october (guess I CCed the wrong people though) :/ https://lore.kernel.org/linux-bluetooth/59f3df96-3972-4266-a9ff-14c21af15c47@v0yd.nl/ |
Release is not meant to check the type of the stream, thus why Ive made it into the suspend_bap, but we might as well have proper callbacks for broadcast instead. |
Commit 052534a ("transport: Update transport release flow for bcast src") introduced a crash where it assumes transport->data always refers to struct bap_transport which causes a crash when the transport is in fact A2DP. Fixes: bluez/bluez#701
The above patch (link) appears to resolve the issue. |
@Vudentz I confirm the updates in https://github.com/BluezTestBot/bluez/commits/814200 do no break BAP broadcast (tested both source and sink). As a side note, the tests were performed on 81420 branch + multiple BISes patch (this will be submitted today) on top. |
The following crash happens every few hours with bluez 5.71 while using my
Bose QuietComfort 35
:I have not seen these with bluez 5.70 and there is no indication of a problem in syslog.
OS: Gentoo ~amd64 (glibc 2.38, glib 2.78.3, gcc 13.2.1).
The text was updated successfully, but these errors were encountered: