-
Notifications
You must be signed in to change notification settings - Fork 275
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
Pedalboard v0.9.7+ with PyQt6 crashing on Windows 10, 11 (minimal reproducible example included) #372
Comments
UPD: It's not about PyQt6, unfortunately. The same result with just this:
So, it seems to be the same issue as this |
Hi, @psobot! Though I haven't found the reason why it occurs, I want to share with you some cases that may help to reproduce it, and some thoughts, impressions and insights if you don't mind. On my computer with Windows 10, the basic script, opening and reading an audio file, works. On the Windows 11 machine, it didn't work initially, but it seems to have been resolved for all Python environments (virtual and basic) after installing Visual Studio tools and building Pedalboard from source. Not sure if that was the real reason, just a kind of observation. But what remains constantly reproducible on all the Windows machines (including virtual ones like Parallels Desktop on macOS) is the failing to work properly with Now, my 5 cents about the The good news is that to workaround this and keep updating the Pedalboard versions, one can just switch the imports' order or simply write something like:
at the very beginning of a script or main module of an app. I'm not a technical guy and not very familiar with C++, but it looks like two Python libraries, wrapping C++ ones, are fighting for the same part of memory, which leads to segfault and crash... Another weird thing is that I could not reproduce this bug with Sorry for being verbose. But I felt I should share this in a hope this might be helpful. |
Hi, @psobot!
I have finally managed to make the minimal reproducible example, which causes the crashing with error code -1073741819 (0xC0000005)
The script works with pedalboard v0.9.6 or lower.
The text was updated successfully, but these errors were encountered: