Midi Overlay Panels in Compiled Plugin Crashing DAWS?
DimitrisSP last edited by DimitrisSP
I have a simple test project where i use a Midi Player and 2 Floating Tiles (Midi Overlay Panels)...one of them is set to index 0 for drag n drop to DAW and the other is set to index 1 for visual representation of the loaded sequence.
I use also a Load button to load the midi file a play button for playback and 3 buttons (Half speed, Normal speed, and Double speed) to control playback speed.
Everything work as expected but the compiled plugin introduces problems (and finaly crash all DAWS that i tested).
For to be more precise on what i say the story is going like this...
In any DAW when you load the compiled plugin for the first time everything is working great...It opens as it should be with the Midi Overlay panels presented there...and not any midi file loaded...
Pressing the Load button the midi file is loaded, we have the sequence being presented to one of the midi Overlay Panels and "Drop Midi" to the other panel so it is ready for drag n drop.
The Play button and the 3 speed buttons working as expected and everything looks to be fine.
But if i close(unload) the plugin and load it again i get a crash in any DAW...
If i will not get an instant crash on the second load the plugin will be loaded without the Midi Overlay Panels...and it will stay like this (Without the Panels)...on every next load until it crashes the DAW...
The crash may happen on the second, or third, or fourth etc Load and it is tested on Mac and in all DAWS i use (Logic Pro X, Reaper, Studio One, Cubase).
I narrowd my search on the problem and saw that if i delete the Midi Overlay Panels everything is ok without any crash...so the problem is the Midi Overlay Panels.
So guys if it is easy for some of you to compile the same project on your end we could see if it is a problem on my end or if it is a Midi Overlay Panel bug.
Here is the snippet
and here is the midi file
although i suppose any midi file will be ok to test
I am working on Develop Branch
Natan last edited by
Could You Please Let Me Know What Commit You're Using?
Latest Ones Won't Build Here
@Natan Hi my friend.
I build this version of Hise on 3 September
I am not sure if it was the commit of 3 September (and i also had some compiling problems with some commits) so it is maybe the commit of 1 September if not 3 September.
New information...I compiled the latest commit of 6 September and nothing changed...i have crashes exactly like before.
Unfortunately it seems that i can't confirm 100% if it is a Midi Overlay Panel bug (because noone of the forum had the time to test it in his system)...although i am almost sure that it is a bug (if i delete the Midi Overlay Panels and compile the test plugin everything is ok without any crash)...but then it's impossible to use the drag'n'drop to DAW functionality...so dead end.
@Christoph-Hart could you please check if it is happening the same way in your system...and if so...is there a solution on this problem?
@DimitrisSP Bump bump.
Did anyone has test it? If it is finaly a bug it will affect anyone who uses midi files in his plugin and wants to have the functionality of Drag to DAW or any other Midi Overlay functionality.
@Christoph-Hart please take a look at the problem...if it's finaly a bug it tends to be a very serious problem for this kind of plugins.