Skip to content
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

Upgrade to 0.6.16 - load_state not working? #152

Open
AI-Guru opened this issue Mar 8, 2023 · 2 comments
Open

Upgrade to 0.6.16 - load_state not working? #152

AI-Guru opened this issue Mar 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@AI-Guru
Copy link

AI-Guru commented Mar 8, 2023

Hi! I considered and decided to post this finding I have reported elsewhere in a separate issue.

I upgraded to 0.6.16. It seems that synth.load_state(synth_state) does not work anymore. The instrument I chose just uses its default settings.

On top of that there seem to be more segmentation faults now.

@DBraun
Copy link
Owner

DBraun commented Mar 8, 2023

Can you share a script and hopefully let me know the plugin too? Are you using multiprocessing and are you on macOS?

@DBraun DBraun self-assigned this Mar 8, 2023
@DBraun DBraun added the bug Something isn't working label Mar 8, 2023
@Meteorlk
Copy link

Same issue. This bug can be reproduced by removing and re-making the plugin processor before loading the state. In my case, the program exits immediately like a segment fault.

I also verified that 0.6.15 doesn't have this issue.

import dawdreamer as daw
engine = daw.RenderEngine(44100, 128)

# save state and remove plugin
plugin = engine.make_plugin_processor('my_plugin', plugin_path)
plugin.open_editor()
plugin.save_state(state_path)
engine.remove_processor('my_plugin')

# reload plugin
plugin = engine.make_plugin_processor('my_plugin', plugin_path)
plugin.load_state(state_path)  # the program exits here
# ......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants