You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting a consistent crash whenever I try to use 8face to preserve Eugene state. I can "record" a preset, but whenever I try to playback one of the recorded presets, it crashes rack.
How to reproduce:
Use the attached vcv patch. Click 8face's R/W toggle to "w". Press the first green button (.). Clock the R/W toggle back to "r". The press the first green button to "recall" the preset you just saved. Boom!
Looks like it crashed because 8face calls moduleFromJson from a thread other than the main thread. My JSON has the module's theme in it so ends up calling GL functions, which you're not allowed to call from other threads.
Just noticed the 8face docs warn about potential crashes, but it wasn't too difficult to prevent the crash once I figured out what was going on... and modulating between different presets does sound useful.
Disclaimer: Loading presets of modules was not designed to be controlled by CV or modulated at audio rate. Please do not contact the developers of Rack or any modules when unexpected behaviour occurs (i.e. crashes) or high CPU usage is noticeable.
8FaceMk2 will call dataFromJson from a thread other than the main one.
Eugene/Polygene load widget themes from the JSON which modifies GL state.
GL state can only be modified on the main thread or we may crash.
Resolves#3.
I am getting a consistent crash whenever I try to use 8face to preserve Eugene state. I can "record" a preset, but whenever I try to playback one of the recorded presets, it crashes rack.
How to reproduce:
Use the attached vcv patch. Click 8face's R/W toggle to "w". Press the first green button (.). Clock the R/W toggle back to "r". The press the first green button to "recall" the preset you just saved. Boom!
A representative crash:
eugene.vcv.zip
The text was updated successfully, but these errors were encountered: