HISE Logo Forum
    • Categories
    • Register
    • Login

    au plugin crashes Logic 10.4.1

    Scheduled Pinned Locked Moved Bug Reports
    9 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ulrikU
      ulrik
      last edited by ulrik

      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

      0_1522666119287_Screenshot 2018-04-02 kl. 12.36.02.png
      0_1522666143787_Screenshot 2018-04-02 kl. 12.36.46.png
      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=0

      It 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

      Hise Develop branch
      MacOs 15.3.1, Xcode 16.2
      http://musikboden.se

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Thanks I‘ll take a look at it ASAP

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik
          last edited by

          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 again 👍

          Regards Ulrik

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @Christoph Hart
            last edited by

            @christoph-hart
            I was a bit too optimistic, I still have the same behaviour with generated au plugins crashing Logic

            Regards Ulrik

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart
              last edited by Christoph Hart

              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:

              1. Export the instrument as usual, but as soon as the terminal window pops up, cancel it.

              2. Head over to the Binaries subfolder of your project, which contains the Projucer file called AutogeneratedProject.jucer. Open this with the Projucer app (which is located in the HISE source folder under tools/projucer.

              3. On the left panel, click on Exporters, then open the XCode (MacOSX) -> Release configuration.
                0_1522840666287_1.PNG

              4. Scroll down and remove the tick at the box that says Strip local symbols:
                0_1522840708364_2.PNG

              5. Click on File -> Save project and open in IDE.

              6. Compile the plugin directly in XCode (Product -> Build For -> Profiling).

              7. Relaunch logic and try to reload the plugin. This time, the crash report should contain more useful method names :)

              ulrikU 2 Replies Last reply Reply Quote 0
              • ulrikU
                ulrik @Christoph Hart
                last edited by

                @christoph-hart
                Ok, thanks for the explanation, I will do as you said and report back later.

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

                1 Reply Last reply Reply Quote 0
                • ulrikU
                  ulrik @Christoph Hart
                  last edited by

                  @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=0

                  Ulrik

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

                  1 Reply Last reply Reply Quote 0
                  • ulrikU
                    ulrik
                    last edited by

                    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

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart
                      last edited by

                      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.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      26

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      102.7k

                      Posts