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

Unhandled exception when using vstgui #288

Open
justdanpo opened this issue Mar 13, 2023 · 2 comments
Open

Unhandled exception when using vstgui #288

justdanpo opened this issue Mar 13, 2023 · 2 comments

Comments

@justdanpo
Copy link

Hello.
I've tried buliding plugins which use vstgui. One of them is generated by vst3projectgenerator, another - VST_SDK\my_plugins\helloworld_with_VSTGUI. They work fine when built with debug configuration and both cause DAWs crashes (Ableton, FL) when bulit with release. editorhost and VST3PluginTestHost execute these plugins well.

vst sdk 3.7.7, vstgui 4.12

I've added debug logging and found this:

!initialized pimpl (CFrame::CFrame)	
!uninitialized pimpl (CFrame::beforeDelete)	
!null pimpl in VSTGUI::CFrame::invalidRect //invalid memory access

beforeDelete() is called from VST3Editor::open

	if (!enableEditing (false))
	{
		getFrame ()->forget ();
		return false;
	}
@justdanpo
Copy link
Author

Ooook, this happens when not full plugin bundle is installed (no .uidesc file available in resources path) which is surely bad, but crashing DAW isn't good either.

@scheffle
Copy link
Collaborator

Thanks for the report. And you're right, it should not crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants