Page 1 of 1

CollectInvalidRect( ) crashes with AGain sample Plugin

Posted: Tue Dec 25, 2018 4:22 pm
by willpirkle
I reported this issue in detail on the VST3 SDK forum as it is not clear where the problem lies, but I wanted to tag a topic here as well. The VST3 SDK topic is here:

viewtopic.php?f=4&t=628

- Will Pirkle

Re: CollectInvalidRect( ) crashes with AGain sample Plugin

Posted: Thu Dec 27, 2018 11:09 am
by ray
Hi Will,

Maybe this is in some way related to the following "issue": viewtopic.php?f=5&t=542 ?

It happened when my host implementation called into invalid() from any other thread than the UI thread (a design restriction that goes for all VSTGUI calls except setDirty() afaik).

Best,
Ray

Re: CollectInvalidRect( ) crashes with AGain sample Plugin

Posted: Thu Dec 27, 2018 3:30 pm
by willpirkle
Thanks Ray - yeah, I do remember seeing that and it jogged my memory when I saw the Rect Collection error.

To be clear, this report is for a VST3 SDK Sample Plugin compiled directly from the SDK with no modifications, and not one of my own plugins or GUI objects.

So I think this is an issue for Steinberg first. It also happens in 3 different VST3 hosts from 3 different manufacturers (the user who found this did issue a trouble ticket for Tracktion).

- Will

Re: CollectInvalidRect( ) crashes with AGain sample Plugin

Posted: Thu Dec 27, 2018 4:08 pm
by ray
willpirkle wrote:Thanks Ray - yeah, I do remember seeing that and it jogged my memory when I saw the Rect Collection error.

To be clear, this report is for a VST3 SDK Sample Plugin compiled directly from the SDK with no modifications, and not one of my own plugins or GUI objects.

So I think this is an issue for Steinberg first. It also happens in 3 different VST3 hosts from 3 different manufacturers (the user who found this did issue a trouble ticket for Tracktion).

- Will
Hi Will,

Okay, I see. I was under the impression that it could be a host issue, e.g. if the “perform UI calls from the UI thread exclusively” principle is violated by the implementation for some reason. I agree this seems unlikely if this happens in 3 established hosts.

Best,
Ray