-
Notifications
You must be signed in to change notification settings - Fork 404
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
OSC (open sound control) - /q/all_params can crash Surge XT on Mac #7410
Comments
I was sitting here thinking “I bet the crash log is in the dynamic value code” and hey voila there it is I bet there’s a timing issue with the oscillator switching later than the Param inquiry. Thanks for the excellent report |
Yes, great use of the script for an excellent report. Paul, is there anything I need to help with on this? |
Nah I'll just have to look and fix it - something is out of order or on the wrong thread or not defensive enough with the parameter type switches |
Great! |
That makes sense. If the audio thread runs and settles down then is configuration won’t be there any more |
The twist engine lacked a defensive test for the bipolar detector which meant some automation events which didn't load an entire oscillator state could result in an out of boudns read. Closes surge-synthesizer#7410
The twist engine lacked a defensive test for the bipolar detector which meant some automation events which didn't load an entire oscillator state could result in an out of boudns read. Closes #7410
Bug Description:
I'm the guy making a TouchOSC-template for Surge XT. Currently, to keep the TouchOSC interface in sync with Surge, I have to get a number of different params when changing oscillator types. This is because the osc-types have different controls for param 1-7 and so when changing osc-types I just query for all parameter info.
When switching from osc-type 'String' to 'Twist', and immediately fetching all params, Surge will reliably crash on Mac OS.
I'm sending these OSC messages:
Unfortunately I'm away from home right now and don't have a linux box on hand to test other setups.
Surge XT Version
Reproduction Steps:
As described, using TouchOS.
In the testscript used by @pkstone, adding and running the following code will crash Surge.
Expected Behavior:
After changing the osc type, Surge sends OSC messages for all of its params.
Computer Information (please complete the following!):
Attached is a crashlog generated by Mac OS.
surge_crashlog_231225.txt
The text was updated successfully, but these errors were encountered: