-
Notifications
You must be signed in to change notification settings - Fork 641
Segfault on Release audio connection (port/linux-port) #685
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
Comments
Do you have a backtrace for this? A packet log might be helpful, too. |
At the moment, I can't get a proper backtrace. No, it doesn't happen on modplayer (a2dp source demo tested) |
Tricky. I'm currently don't have a laptop with a Linux vm, which would allow me to reproduce this. I'll get a new laptop in 1-2 weeks on which I'll setup a new Ubuntu VM. I hope this is not urgent and can wait a bit. Until then: could you send me a packet log for the case where you just disable SCO audio with 'B'? |
Of course, in this log dump, I disabled SCO audio with 'B'. |
What do you mean by "files ... get corrupted"? BTstack has code to write: the packet log, persistent storage (by default into /tmp) and in this demo, a .wav file (into the current directory) Thanks for the log. Nothing strange in there, just an SCO disconnect. I have currently no idea what's going on the there. I'm optimistic that this is easy to debug & fix with a debugger and hope that I can replicate it in a regular Ubuntu VM when I get the new laptop. |
I know that BTstack has code to write those files and nothing else. I'm just wondering if there's some unexpected behaviour, caused by the segfault, that causes the corruption of something on the fs. Anyway, let's just focus on the segfault. If I can replicate the issue or encounter any other problem, I'll let you know for sure. |
Describe the bug
Using linux-port, when running/debugging the hfp_ag_demo file, a segfault happens when the audio connection is established, and I try to close it, both with stdin process input command or CTRL+C.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Audio connection should close without any errors
Additional context
Running on linux embedded custom platform
The text was updated successfully, but these errors were encountered: