Debug vs Release
-
This post is deleted! -
I think I'm getting somewhere! It's the floating tile. I removed the floating keyboard tile from my simple test project and the problem disappears. I also noticed in the build output there are some warnings about floatingTiles so maybe that will be of help in fixing this.
Compiling include_hi_lac.cpp In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from ../../Source/Plugin.cpp:2: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_core/hi_core.cpp:13, from ../../JuceLibraryCode/include_hi_core.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_dsp/hi_dsp.cpp:33, from ../../JuceLibraryCode/include_hi_dsp.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.cpp:33, from ../../JuceLibraryCode/include_hi_components.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~ Compiling include_hi_modules.cpp In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_frontend/hi_frontend.cpp:36, from ../../JuceLibraryCode/include_hi_frontend.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~ Compiling include_hi_sampler.cpp In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_modules/hi_modules.cpp:2, from ../../JuceLibraryCode/include_hi_modules.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~ Compiling include_hi_scripting.cpp In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_sampler/hi_sampler.cpp:35, from ../../JuceLibraryCode/include_hi_sampler.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~ Compiling include_hi_streaming.cpp Compiling include_hi_tools.cpp In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘void hise::SharedPoolBase<DataType>::loadAllFilesFromProjectFolder()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:691:38: warning: invalid use of incomplete type ‘class hise::MainController’ auto fileList = getMainController()->getCurrentFileHandler().getFileList(type, false, true); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h: In member function ‘hise::SharedPoolBase<DataType>::ManagedPtr hise::SharedPoolBase<DataType>::loadFromReference(hise::PoolReference, hise::PoolHelpers::LoadingType)’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:819:26: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:71:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExternalFilePool.h:881:24: warning: invalid use of incomplete type ‘class hise::MainController’ getMainController()->getDebugLogger().logMessage(r.getReferenceString() + " wasn't found."); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:58:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/UtilityClasses.h:39:7: note: forward declaration of ‘class hise::MainController’ class MainController; ^~~~~~~~~~~~~~ Compiling include_hi_zstd_1.cpp In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/FloatingLayout.h:55:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:88, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h: In member function ‘void hise::GenericPanel<ContentType>::resized()’: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/floating_layout/MiscFloatingPanelTypes.h:634:40: warning: invalid use of incomplete type ‘class hise::FloatingTile’ component->setBounds(getParentShell()->getContentBounds()); ^~ In file included from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/hi_core.h:74:0, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core.h:309, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/hi_dsp.h:55, from /media/dave/Work 1/HISE Development Builds/HISE/hi_components/hi_components.h:57, from ../../JuceLibraryCode/JuceHeader.h:17, from /media/dave/Work 1/HISE Development Builds/HISE/hi_scripting/hi_scripting.cpp:35, from ../../JuceLibraryCode/include_hi_scripting.cpp:9: /media/dave/Work 1/HISE Development Builds/HISE/hi_components/../hi_dsp/../hi_core/hi_core/ExpansionHandler.h:39:7: note: forward declaration of ‘class hise::FloatingTile’ class FloatingTile; ^~~~~~~~~~~~
-
Aww man, this is getting really annoying. Googling the type of warning leads into weird C++ template issues for g++, but I am pretty sure that I don't violate the rules for using incomplete classes in templates, however I found one link that could explain the memory leaks.
I'll throw on my virtual machine and see whether I can reproduce this. Does this happen on your normal build machine too, or is this problem new since you were time-travelling to the older Linux distro?
-
@christoph-hart It's on my normal build and Ubuntu 18, I haven't tested on the earlier one, I just used that to build the plugin. I can try it if it would be useful. A user reported the same issue when scanning the plugin in carla, I've asked him to send me the core dump to analyse. I tried in carla and although I didn't get the crash or a core dump I did get all those assertions and LockHelpers.cpp things.
-
Hmm, I checked the assertion locations and somehow it fails to detect the different threads which are normally identified by their handle.
I've added another assertion / logging that fires if the threads can't be detected. Can you rebuild your plugin and check this?
I've also removed the one incomplete pointer warning in the floating tile code, but it this removes the crash, I might as well stop coding and start a black magic cult as this will require similar amounts of logic.
-
@christoph-hart Downloading now, will report back soon
-
Might be black magic time.
My test plugin runs fine in Reaper, even with the floating tile. My woodwind plugin doesn't. However I'm no longer seeing any warnings about floating tiles, I'm only seeing the warnings about MainController.
The core dump backtrace is quite different now and I don't think very informative.
Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/REAPER/reaper...(no debugging symbols found)...done. [New LWP 3539] [New LWP 3520] [New LWP 3515] [New LWP 3516] [New LWP 3519] [New LWP 3523] [New LWP 3529] [New LWP 3514] [New LWP 3518] [New LWP 3527] [New LWP 3530] [New LWP 3528] [New LWP 3540] [New LWP 3525] [New LWP 3541] [New LWP 3522] [New LWP 3524] [New LWP 3521] [New LWP 3517] [New LWP 3531] [New LWP 3526] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/opt/REAPER/reaper'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fc1113cae08 in ?? () [Current thread is 1 (Thread 0x7fc0feefc700 (LWP 3539))] (gdb) bt #0 0x00007fc1113cae08 in () #1 0x000000005bb637ff in () #2 0x0000000015453890 in () #3 0x000000005bb637fe in () #4 0x00000000000d131a in () #5 0x0000000000000040 in () #6 0x9d1aab0124981600 in () #7 0x0000000005685ae0 in () #8 0x0000000005685958 in () #9 0x0000000005685ae0 in () #10 0x00000000000001f4 in () #11 0x0000000000000000 in ()
I was thinking I'll start adding stuff to the test project and see if I can get it to break again.
-
I just noticed that when Reaper crashes it leaves this in the console
Creating Frontend Processor Initialising MainController Unknown thread with ID 139711976238336 Segmentation fault (core dumped)
-
And it seems I was looking at the wrong core file. Here is the correct one:
Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/REAPER/reaper...(no debugging symbols found)...done. [New LWP 5629] [New LWP 5632] [New LWP 5634] [New LWP 5631] [New LWP 5637] [New LWP 5639] [New LWP 5636] [New LWP 5641] [New LWP 5644] [New LWP 5643] [New LWP 5649] [New LWP 5651] [New LWP 5640] [New LWP 5642] [New LWP 5650] [New LWP 5633] [New LWP 5635] [New LWP 5647] [New LWP 5645] [New LWP 5646] [New LWP 5638] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/opt/REAPER/reaper'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f4e1dfd42f6 in juce::String::operator+=(juce::String const&) () from /home/dave/.vst/Sofia Woodwinds.so [Current thread is 1 (Thread 0x7f4e62f68d00 (LWP 5629))] (gdb) bt #0 0x00007f4e1dfd42f6 in juce::String::operator+=(juce::String const&) () at /home/dave/.vst/Sofia Woodwinds.so #1 0x00007f4e1dfd9254 in juce::operator+(char const*, juce::String const&) () at /home/dave/.vst/Sofia Woodwinds.so #2 0x00007f4e1de92ec1 in hise::MainController::KillStateHandler::getCurrentThread() const () at /home/dave/.vst/Sofia Woodwinds.so #3 0x00007f4e1de93145 in hise::MainController::KillStateHandler::currentThreadHoldsLock(hise::LockHelpers::Type) const () at /home/dave/.vst/Sofia Woodwinds.so #4 0x00007f4e1df2beb3 in hise::Processor::setParentProcessor(hise::Processor*) () at /home/dave/.vst/Sofia Woodwinds.so #5 0x00007f4e1df5cee8 in hise::ModulatorSynth::ModulatorSynth(hise::MainController*, juce::String const&, int) () at /home/dave/.vst/Sofia Woodwinds.so #6 0x00007f4e1df5f20f in hise::ModulatorSynthChain::ModulatorSynthChain(hise::MainController*, juce::String const&, int, juce::UndoManager*) () at /home/dave/.vst/Sofia Woodwinds.so #7 0x00007f4e1dfb3910 in hise::FrontendProcessor::FrontendProcessor(juce::ValueTree&, juce::AudioDeviceManager*, juce::AudioProcessorPlayer*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::ValueTree*, juce::ValueTree*) () at /home/dave/.vst/Sofia Woodwinds.so #8 0x00007f4e1df31ffa in hise::FrontendFactory::createPluginWithAudioFiles(juce::AudioDeviceManager*, juce::AudioProcessorPlayer*) () at /home/dave/.vst/Sofia Woodwinds.so ---Type <return> to continue, or q <return> to quit--- #9 0x00007f4e1db4e852 in createPluginFilterOfType(juce::AudioProcessor::WrapperType) () at /home/dave/.vst/Sofia Woodwinds.so #10 0x00007f4e1db83efe in VSTPluginMain () at /home/dave/.vst/Sofia Woodwinds.so #11 0x0000000000828100 in () #12 0x0000000000828a44 in () #13 0x000000000082af4f in () #14 0x000000000082b295 in () #15 0x00007f4e61496a26 in () at /opt/REAPER/libSwell.so #16 0x00007f4e6148b147 in () at /opt/REAPER/libSwell.so #17 0x00007f4e61496e87 in () at /opt/REAPER/libSwell.so #18 0x00007f4e614a49d3 in () at /opt/REAPER/libSwell.so #19 0x00000000006a2431 in () #20 0x000000000082cae8 in () #21 0x00000000005adf77 in () #22 0x00007f4e61496a26 in () at /opt/REAPER/libSwell.so #23 0x00007f4e6148b147 in () at /opt/REAPER/libSwell.so #24 0x00007f4e61499195 in () at /opt/REAPER/libSwell.so #25 0x00007f4e614b2813 in () at /opt/REAPER/libSwell.so #26 0x00007f4e614b2c84 in () at /opt/REAPER/libSwell.so #27 0x00007f4e614b3125 in () at /opt/REAPER/libSwell.so #28 0x00007f4e5f68f765 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #29 0x00007f4e5f6bff82 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 #30 0x00007f4e5e514287 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #31 0x00007f4e5e5144c0 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x00007f4e5e51454c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #33 0x00007f4e614b456a in () at /opt/REAPER/libSwell.so #34 0x00007f4e61496da2 in () at /opt/REAPER/libSwell.so #35 0x0000000000412a5e in () #36 0x00007f4e61935b97 in __libc_start_m
-
I am starting to make progress here. It seems that the message thread detection is somehow failing during initialisation - I can't even load the BasicSynth plugin into the plugin host. Not sure why this is happening and why it is appearing now and not months ago when I changed the threading model, but anyways, I think this might be the reason for all the weirdness that you're experiencing...
-
I've made a fix that allows me to open the BasicSynth plugin in REAPER again - please try if this solves also your issues, the message thread detection should be working again, however I am waiting for the JUCE guys to comment on this, since the fix is a rather invasive change in their codebase which I am sure they would have done already if it makes sense.
-
I'm getting this when building the latest version of HISE
In file included from ../../JuceLibraryCode/include_juce_gui_extra.cpp:9:0: ../../../../JUCE/modules/juce_gui_extra/juce_gui_extra.cpp:97:12: fatal error: gtk/gtk.h: No such file or directory #include <gtk/gtk.h> ^~~~~~~~~~~ compilation terminated. Makefile:292: recipe for target 'build/intermediate/Release/include_juce_gui_extra_6dee1c1a.o' failed make: *** [build/intermediate/Release/include_juce_gui_extra_6dee1c1a.o] Error 1
Projucer also gave me some message about missing opengl module
-
Oh, please try the commit before that:
https://github.com/christophhart/HISE/commit/16a5978cabde3e7f36652b5bcaf0d198032d3fb3
I've merged another branch that enables Linux headless plugins which might caused some hiccups.
BTW, the projucer binary you sent me didn't work on my system (gave me an illegal instruction app). Why is Linux so weird when it comes to binary compatibility?
-
@christoph-hart HISE built ok but plugin still causing problems in Reaper.
-
Now I disabled link time optimization and Reaper loads up and scans the plugin, the console output includes
Initialising MainController Checking license Load images Load embedded audio files Load samplemaps Restoring main container JUCE Assertion failure in LFOModulator.h:249 JUCE Assertion failure in LFOModulator.h:249 JUCE Assertion failure in ModulatorSamplerData.cpp:219 JUCE Assertion failure in ModulatorSamplerSound.cpp:559 JUCE Assertion failure in ModulatorSamplerSound.cpp:559 JUCE Assertion failure in ModulatorSamplerSound.cpp:559
That last line is repeated a billion times. Then
Compiling all scripts Adding plugin parameters Restoring global settings Setting disk mode Samples are validated. Skipping reference check Loading samples JUCE Assertion failure in MainControllerHelpers.cpp:349
I also get this line
JUCE Assertion failure in ModulatorSamplerSound.cpp:559
when I insert an instance of the plugin. If I close the plugin's interface in Reaper I get this(reaper:7545): Gdk-WARNING **: 12:53:41.145: gdk_window_set_user_time called on non-toplevel
.And when I close Reaper, with or without the plugin's UI open I get this:
JUCE Assertion failure in LockHelpers.cpp:54 JUCE Assertion failure in LockHelpers.cpp:54 JUCE Assertion failure in LockHelpers.cpp:54 JUCE Assertion failure in LockHelpers.cpp:54 JUCE Assertion failure in KillStateHandler.cpp:256 JUCE Assertion failure in MainControllerHelpers.cpp:349 *** Leaked objects detected: 1 instance(s) of class ExternalScriptFile JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 19 instance(s) of class GlyphInfo JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 30 instance(s) of class ActionBase JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 3 instance(s) of class MidiList JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 2 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 11 instance(s) of class ScriptButton JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 3 instance(s) of class ScriptingSynth JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 2 instance(s) of class ScriptingMidiProcessor JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 2 instance(s) of class ScriptingModulator JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class PathObject JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 12 instance(s) of class ExternalFileData JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 175 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 175 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 590 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 3808 instance(s) of class Statement JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 39 instance(s) of class Object JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 3 instance(s) of class ScriptFloatingTile JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 7 instance(s) of class ScriptTable JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 8 instance(s) of class ScriptComboBox JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 38 instance(s) of class ScriptPanel JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 38 instance(s) of class GraphicsObject JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 95 instance(s) of class ScriptComponent JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1028 instance(s) of class ModulatorState JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 3 instance(s) of class SimpleEnvelope JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 10 instance(s) of class ProcessorValueConverter JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class VelocityModulator JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 2 instance(s) of class SliderPackProcessor JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 24 instance(s) of class LookupTableProcessor JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 24 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 16 instance(s) of class DownsampledSmoother JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 199 instance(s) of class DebugInformation JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class Colours JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class Console JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 8 instance(s) of class SelectedItemSet<SelectableItemType> JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class Synth JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class SelectedItemSet<SelectableItemType> JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class Engine JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class Message JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class Content JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 4 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 191 instance(s) of class ApiClass JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class HiseJavascriptEngine JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 16 instance(s) of class ModChainWithBuffer JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 21 instance(s) of class ModulatorChain JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 21 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 21 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 21 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 25 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 30 instance(s) of class PolyphonyManager JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 48 instance(s) of class Modulator JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 48 instance(s) of class Modulation JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 69 instance(s) of class FactoryType JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class MidiProcessor JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 56 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 81 instance(s) of class Path JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class FTFaceWrapper JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class FTLibWrapper JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class CustomTypeface JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class Typeface JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 6 instance(s) of class Font JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 221 instance(s) of class SafeChangeBroadcaster JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 221 instance(s) of class FlagTimer JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 221 instance(s) of class AsyncBroadcaster JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 36 instance(s) of class CodeDocument JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 36 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class TimerPimpl JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 10 instance(s) of class MidiBuffer JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 365 instance(s) of class AudioBuffer JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class LibraryLoader JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class StaticDspFactory JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 5 instance(s) of class SharedResourcePointer JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 583 instance(s) of class DynamicObject JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 36 instance(s) of class UndoManager JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 72 instance(s) of class OwnedArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 343 instance(s) of class AsyncUpdater JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 177 instance(s) of class BigInteger JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 171 instance(s) of class SharedObject JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 1 instance(s) of class MemoryBlock JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 742 instance(s) of class WaitableEvent JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 2 instance(s) of class Random JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 30 instance(s) of class Image JUCE Assertion failure in juce_LeakedObjectDetector.h:88 *** Leaked objects detected: 30 instance(s) of class StringArray JUCE Assertion failure in juce_LeakedObjectDetector.h:88 malloc_consolidate(): invalid chunk size Aborted (core dumped)
And the core dump:
[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/opt/REAPER/reaper'. Program terminated with signal SIGABRT, Aborted. #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. [Current thread is 1 (Thread 0x7f3fb2373d00 (LWP 7474))] (gdb) bt #0 0x00007f3fb0d5de97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007f3fb0d5f801 in __GI_abort () at abort.c:79 #2 0x00007f3fb0da8897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f3fb0ed5b9a "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007f3fb0daf90a in malloc_printerr (str=str@entry=0x7f3fb0ed73f0 "malloc_consolidate(): invalid chunk size") at malloc.c:5350 #4 0x00007f3fb0dafbae in malloc_consolidate (av=av@entry=0x7f3fb110ac40 <main_arena>) at malloc.c:4441 #5 0x00007f3fb0db37d8 in _int_malloc (av=av@entry=0x7f3fb110ac40 <main_arena>, bytes=bytes@entry=2049) at malloc.c:3703 #6 0x00007f3fb0db48f5 in _int_realloc (av=av@entry=0x7f3fb110ac40 <main_arena>, oldp=oldp@entry=0x1b113df0, oldsize=oldsize@entry=272, nb=nb@entry=2064) at malloc.c:4570 #7 0x00007f3fb0db7f9b in __GI___libc_realloc (oldmem=0x1b113e00, bytes=bytes@entry=2048) at malloc.c:3230 #8 0x00007f3fa7831cd5 in juce::HeapBlock<char, true>::realloc<unsigned long>(unsigned long, unsigned long) (elementSize=1, newNumElements=2048, this=0x7fff3230b400) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/memory/juce_HeapBlock.h:275 #9 0x00007f3fa7831cd5 in juce::MemoryBlock::setSize(unsigned long, bool) (this=0x7fff3230b400, newSize=2048, initialiseToZero=<optimised out>) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/memory/juce_MemoryBlock.cpp:127 #10 0x00007f3fa785e4a4 in juce::MemoryOutputStream::prepareToWrite(unsigned long) (this=this@entry=0x7fff3230b3e0, numBytes=numBytes@entry=1358) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/streams/juce_MemoryOutputStream.cpp:84 #11 0x00007f3fa785e613 in juce::MemoryOutputStream::write(void const*, unsigned long) (this=0x7fff3230b3e0, buffer=0x7fff32309380, howMany=1358) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/streams/juce_MemoryOutputStream.cpp:109 #12 0x00007f3fa782e3f0 in juce::OutputStream::writeFromInputStream(juce::InputStream&, long long) (this=0x7fff3230b3e0, source=..., numBytesToWrite=<optimised out>) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/streams/juce_OutputStream.cpp:266 #13 0x00007f3fa783cfd4 in juce::operator<<(juce::OutputStream&, juce::InputStream&) (stream=..., streamToRead=...) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/streams/juce_OutputStream.cpp:340 #14 0x00007f3fa7882289 in juce::InputStream::readEntireStreamAsString() (this=this@entry=0x7fff3230b470) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/streams/juce_InputStream.cpp:212 #15 0x00007f3fa7882363 in juce::File::loadFileAsString() const (this=this@entry=Python Exception <class 'RecursionError'> maximum recursion depth exceeded while getting the str of an object: 0x7fff3230b538) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/files/juce_File.cpp:555 #16 0x00007f3fa784be20 in juce::File::readLines(juce::StringArray&) const (this=this@entry=Python Exception <class 'RecursionError'> maximum recursion depth exceeded while getting the str of an object: 0x7fff3230b538, destLines=...) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/files/juce_File.cpp:560 #17 0x00007f3fa784bee2 in juce::readPosixConfigFileValue(char const*, char const*) (file=file@entry=0x7f3fa80ca055 "/proc/self/status", key=key@entry=0x7f3fa80ca04b "TracerPid") at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/native/juce_posix_SharedCode.h:1112 #18 0x00007f3fa784c1bf in juce::juce_isRunningUnderDebugger() () at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/native/juce_linux_SystemStats.cpp:201 #19 0x00007f3fa789edf8 in juce::LeakedObjectDetector<juce::StringPairArray>::LeakCounter::~LeakCounter() (this=0x7f3fa898f5b8 <juce::LeakedObjectDetector<juce::StringPairArray>::getCounter()::counter>, __in_chrg=<optimised out>) at /media/dave/Work 1/HISE Development Builds/HISE/JUCE/modules/juce_core/memory/juce_LeakedObjectDetector.h:88 #20 0x00007f3fb0d62041 in __run_exit_handlers (status=0, listp=0x7f3fb110a718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108 #21 0x00007f3fb0d6213a in __GI_exit (status=<optimised out>) at exit.c:139 #22 0x00007f3fb0d40b9e in __libc_start_main (main=0x4121e0, argc=1, argv=0x7fff3230b748, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fff3230b738) at ../csu/libc-start.c:344 #23 0x000000000041819a in _start ()
-
So, basically back to beginning? I think I am running out of ideas what to do here - these crash logs do not even reach the HISE code and it's obviously something very fishy.
I'll try building your project now on Linux and see how it goes.
-
@christoph-hart I keep seeing MainController mentioned, and that appears in the compilation warnings too, could there be some connection there?
-
Well, MainController is the main controller that handles the threading so it's pretty likely that this is the problem, but it's also a BIG class :)
I think I need to reproduce this and debug it for myself.
-
@christoph-hart Yeah it's always hard when you can't reproduce the issue. I'm going to try working backwards, I have a copy of my woodwind project, I'm going to try to remove bits from it a piece at a time until it opens in Reaper without issue.
-
Well something strange is definitely happening. I dismantled the project piece by piece. I had nothing left but an empty sampler (no modulators) and the main interface script and it was still causing the issue. I deleted the sampler and now the plugin loads in Reaper. So I reverted to the version before I removed the sampler and loaded an empty sample map, plugin once again crashes Reaper.
So I went back to my working test project that had nothing but a sine wave generator interface script. I took out the sine wave generator and put in a sampler, and the plugin now triggers the issue in Reaper. So this is progress :)
One thing I noticed is as soon as I added the sampler it gave a warning
Preset:! Velocity Modulator was not found. Preset:! Velocity Modulator was not found. Preset:! Velocity Modulator was not found.