BillyDM / iced-baseplug-examples

Simple examples to demonstrate full-stack Rust audio plugin dev with baseplug and iced_audio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SIGABRT on OS X

bgaster opened this issue · comments

On opening the plugin GUI a SIGABRT causes the plugin and plugin host to crash.

Debugging this issue a little the crash happens when polling the run_instance within on_frame. It happens on the 2nd time it calls poll. Within this context the actual crash happens with the event loop in run_instance and specificly on handlgin the RuntimeEvent::OnFrame and more percisely the call in the term:

let new_mouse_interaction = compositor.draw(
                        &mut renderer,
                        &mut swap_chain,
                        state.viewport(),
                        state.background_color(),
                        &primitive,
                        &debug.overlay(),
                    );