-
Notifications
You must be signed in to change notification settings - Fork 76
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
Ableton crashes at startup when ASIO4ALL is also installed #86
Comments
For reference, there's a log at #83 (comment)
I've never seen PortAudio fail on start() before and it looks like there's an error handling bug on the PortAudio side where the error doesn't percolate through to FlexASIO. Most likely PortAudio ends up in a messed up state and that's what's making the process crash.
Strangely, this error starts being returned earlier, during |
Off the top of my head I can only think of two hypotheses:
@motorboyxx Do you have other ASIO drivers installed? If so, can you try uninstalling them and see what happens? (You can also temporarily disable a driver by deleting its registry key under |
I do have ASIO4ALL installed as well. Disabling ASIO4ALL actually makes me able to launch with FlexASIO without crashing! Hopefully that will give you a clue! |
Okay, that actually makes some sense. If Ableton is attempting to concurrently initialize multiple ASIO drivers, then one of them might grab exclusive access to the hardware while FlexASIO is trying to probe it. This is exactly something that ASIO4ALL might do, since it uses WDM-KS internally which does imply exclusive access. I'm not quite sure how I could make FlexASIO more resilient to this issue. Maybe it could try to detect this situation, or repeatedly retry failing PortAudio calls to try to circumvent races. I wish host applications would refrain from concurrently initializing multiple ASIO drivers at the same time - that's really playing with fire. Until I come up with a fix, my suggestion would be to avoid having multiple ASIO drivers installed at the same time when using Ableton. |
Hi, I uninstalled every other ASIO drivers but still have a loud noise at Ableton startup. Do you have a definitive fix for this issue? |
This issue is about Ableton crashes on initialization due to racing with other ASIO drivers. What you are describing (loud noises) seems like a completely different and unrelated problem. Can you open a new issue and attach a log? |
No description provided.
The text was updated successfully, but these errors were encountered: