au plugin crashes Logic 10.4.1
-
Hi!
au plugins compiled with latest Hise build (18-04-02), crashes Logic Pro X 10.4.1.
Also compiled versions of Hise au plugin will not launch in Logic, see attached pictures
Here are the crash log file from Logic when the plugin "Recorders" crash Logic
https://www.dropbox.com/s/9uqivvbr98s0wxn/Logic Pro X_2018-04-02-123744_UlriksiMac.crash?dl=0It seems that this crashing started when I build the latest Hise from source code 18-04-02, before that build I was able to load compiled plugins in Logic without any problems.
I'm on iMac running MacOS 10.13.4
Regards Ulrik -
Thanks I‘ll take a look at it ASAP
-
Hi!
I don't know If you have fixed this in the new code but I've built again (18-04-03) and know changed the arch type in Xcode to "default for this computer" and also Xcode version 9.2 and now it's working fine againRegards Ulrik
-
@christoph-hart
I was a bit too optimistic, I still have the same behaviour with generated au plugins crashing LogicRegards Ulrik
-
Hmm. The problem is that your crash report is not symbolicated (when you export plugins it strips the names of the functions to make it harder for crackers to navigate in the binary).
It would be helpful if you recompile the project including the symbols. In order to do this you need to do the following steps:
-
Export the instrument as usual, but as soon as the terminal window pops up, cancel it.
-
Head over to the
Binaries
subfolder of your project, which contains the Projucer file calledAutogeneratedProject.jucer
. Open this with the Projucer app (which is located in the HISE source folder undertools/projucer
. -
On the left panel, click on Exporters, then open the XCode (MacOSX) -> Release configuration.
-
Scroll down and remove the tick at the box that says Strip local symbols:
-
Click on File -> Save project and open in IDE.
-
Compile the plugin directly in XCode (Product -> Build For -> Profiling).
-
Relaunch logic and try to reload the plugin. This time, the crash report should contain more useful method names :)
-
-
@christoph-hart
Ok, thanks for the explanation, I will do as you said and report back later. -
@christoph-hart
This is the crash report for Logic crashing trying to load my "recorders" au plugin, I hope it shows more than last report.
https://www.dropbox.com/s/tpyrhd17448v2gg/Logic Pro X_2018-04-04-104008_Ulriks-jobbet.crash?dl=0Ulrik
-
Hi again, I have also buildt the "debug" version of the plugin and, after cleaning the au-cache, I installed it and Logic opened it without any problems, strange...?
And why is it so that the Debug version is 80,9 mb and the Release version is only 31,8 mb?
Regards Ulrik
-
Hmm, unfortunately the crash report is still stripped so either this didn't work or Logic didn't clean the cache (BTW Logic is the worst when it comes to developing because it constantly uses older versions of the plugin or stops loading the plugin for no reason if you don't increment the version number with each build).
The debug version is much bigger (and MUCH slower) because it is not optimised and contains all symbols.