-
Notifications
You must be signed in to change notification settings - Fork 128
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
macOS: cubeb_enumerate_devices seems to crash when airpods are "disconnected" #719
Comments
I can't reproduce this. Here's what I tried:
This works as it should here on macOS 12.5. Maybe it would be possible to get stacks so we can figure out what's going on? |
Hi, I'm the user which has the issue in the original post. I tested again on macOS 12.5.1 and the issue only occurs on macOS 13.0 beta. I'm not sure how to provide stacks, should I reproduce the crash on macOS 13 and post the "error report" here? |
If you can attach a debugger, and reproduce the crash, it would be amazing, as I don't have macOS 13 beta yet on a machine. It would go like this:
|
Invoking the cubeb APIs from within a cubeb callback is not safe in general, unfortunately. Some combinations of calls/backends may happen to work, but I'd recommend using the |
A user reported that the application crashes when they takes off their airpods while the device is selected as default device.
I tracked this down to cubeb_enumerate_devices.
In particular, we try to reconnect a new default device in the device_collection_changed_cb.
EDIT: the default device is connected and a stream is open before the airpods are taken off
So here's a snippet:
The text was updated successfully, but these errors were encountered: