-
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
Crash when deleting control nodes from the Default Voice MSEG #7401
Comments
hmmm i can't recreate that on standalone on macOS. double click on last point just takes me from n to n-1 segments in envelope mode. i'll be in linux sometime this week so I'll try then. anyone else can repro on their system? |
Cannot reproduce on Windows, either. |
Hmm I trie this on my linux box last night also with no crash. Any chance of a stack trace or anything? |
@jhillest Some feedback would be appreciated, thanks! |
I've never done a backtrace before. |
A friend reminded me about |
Thank you! I’m away this weekend but will look next week to see what I can glean from these. crashes every time for you yeah? |
Yes @baconpaul - crashes every time, without fail. |
Oh I wonder if this is an “arch compiles prod software with asserts on” issue. Arch can crash with (say) an inverted clamp where Ubuntu will not because arch default build keeps asserts on in prod. Not anything to do but I literally just had this thought pop in my head so wanted to jot it down as note to self for next week |
Yeah look at this from the crash log
so lemme see if i can figure out what in drawAxis is oob on that array. |
ahh and now i can trap it on macOS too. Got it. Will have fix soon. |
A case where you deleted a loop node marker which reset the loop would result in a draw error since we didn't consistently use the constraineed loop endpoints to indedx the segments. This caused a crash in some situations. Closes surge-synthesizer#7401
A case where you deleted a loop node marker which reset the loop would result in a draw error since we didn't consistently use the constraineed loop endpoints to indedx the segments. This caused a crash in some situations. Closes #7401
OK I believe this is fixed @jhillest so
Since I was finally able to repro it on mac, i closed this issue with the merge, but if you still get it please let us know and we can re-open |
(and just so i remember, mac in RelWithDebInfo behaves like arch in this case) |
@baconpaul Your fix works! Also:
I'll be looking forward to submit more bug reports in the future! 🤓 Cordial regards |
Wonderful! Also lesson learned - if we get an arch bug report, try and repro it with macos/RelDebInfo :) Have fun using surge! (and also short circuit this year) |
Surge XT Version
1.3.makepkg.20a8e16ab
Reproduction Steps:
Steps to reproduce the behaviour, starting from default Init Saw patch:
Expected Behavior:
Deletion of the last control node, without crash.
Computer Information (please complete the following!):
Additional Information:
VST3 plugin crashes Ardour when triggering this behaviour.
Standalone version also crashes.
The text was updated successfully, but these errors were encountered: