Forum
    • Categories
    • Register
    • Login

    Logic crashes on startInternalDrag

    Scheduled Pinned Locked Moved Scripting
    21 Posts 5 Posters 94 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.
    • Oli UllmannO
      Oli Ullmann
      last edited by

      Hello, everyone :-)

      I have an FX plug-in and several panels that use the startInternalDrag function.

      When I load the plug-in, open it, and then click on the panel to use the startInternalDrag function, Logic crashes.

      If I open the user interface of another plug-in first and then open my plug-in, Logic does not crash.

      I've already tried calling startInternalDrag only in if(event.drag). It still crashes.

      ChatGPT says there are known JUCE issues here. Has anyone else encountered this problem, and is there a workaround? The AI is suggesting that I code the drag-and-drop functionality myself...

      Thank you very much
      Oli

      Oli UllmannO ulrikU 2 Replies Last reply Reply Quote 0
      • Oli UllmannO
        Oli Ullmann @Oli Ullmann
        last edited by

        P.S. That doesn't happen in Cubase.

        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @Oli Ullmann
          last edited by

          @Oli-Ullmann said in Logic crashes on startInternalDrag:

          P.S. That doesn't happen in Cubase.

          Cubase using VST rather than AU, right?

          What about another host, like Reaper, running the AU?

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          Oli UllmannO 1 Reply Last reply Reply Quote 0
          • Oli UllmannO
            Oli Ullmann @David Healey
            last edited by

            @David-Healey
            Right, AU.
            I haven't tried another host yet. I still need to do that.
            But it also happens with Christoph's drag snippet. So it's not because of my project...

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @Oli Ullmann
              last edited by

              @Oli-Ullmann But is it only with AU... test in Reaper because it can use AU and VST

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              Oli UllmannO 2 Replies Last reply Reply Quote 0
              • Oli UllmannO
                Oli Ullmann @David Healey
                last edited by

                @David-Healey
                I'll do that tomorrow and get back to you then. :-)

                ustkU 1 Reply Last reply Reply Quote 1
                • ustkU
                  ustk @Oli Ullmann
                  last edited by

                  @Oli-Ullmann as @David-Healey , + Ableton Live

                  Hise made me an F5 dude, any other app just suffers...

                  Oli UllmannO 1 Reply Last reply Reply Quote 0
                  • Oli UllmannO
                    Oli Ullmann @ustk
                    last edited by Oli Ullmann

                    @ustk
                    I don't have Ableton Live. Is there a trial version available?

                    I can't find any on the website...

                    ustkU HISEnbergH 2 Replies Last reply Reply Quote 0
                    • ulrikU
                      ulrik @Oli Ullmann
                      last edited by

                      @Oli-Ullmann said in Logic crashes on startInternalDrag:

                      I've already tried calling startInternalDrag only in if(event.drag). It still crashes.

                      event.drag will be triggered also when clicked
                      try event.isDragOnly

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

                      1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @Oli Ullmann
                        last edited by

                        @Oli-Ullmann Mmm... I'm afraid you're right, the unlimited (but restricted) version I had was probably v11.
                        If you have any hardware, sometimes it comes with a free lite license of Live.
                        Otherwise you can still try v12 for 30 days...

                        Hise made me an F5 dude, any other app just suffers...

                        1 Reply Last reply Reply Quote 0
                        • HISEnbergH
                          HISEnberg @Oli Ullmann
                          last edited by

                          @Oli-Ullmann I reached out to Ableton last year for a NFR copy of Ableton 12 to test plugins and they were more than happy to accommodate me. Worth a shot ;)

                          Sonic Architect && Software Mercenary

                          1 Reply Last reply Reply Quote 1
                          • Oli UllmannO
                            Oli Ullmann @David Healey
                            last edited by

                            @David-Healey
                            Both versions (AU and VST3) work in Reaper. So it seems to be a Logic issue. :-(
                            Any ideas?

                            @ulrik
                            Even with isDragOnly, Logic still crashes.

                            @ustk @HISEnberg
                            I saw that there's an affordable "Live 12 Intro" available. I'm going to buy it to give it a try. :-)

                            David HealeyD 1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @Oli Ullmann
                              last edited by

                              @Oli-Ullmann said in Logic crashes on startInternalDrag:

                              Both versions (AU and VST3) work in Reaper. So it seems to be a Logic issue. :-(

                              Can you recreate the issue in a minimal snippet?

                              Free HISE Bootcamp Full Course for beginners.
                              YouTube Channel - Public HISE tutorials
                              My Patreon - HISE tutorials

                              Oli UllmannO 1 Reply Last reply Reply Quote 0
                              • Oli UllmannO
                                Oli Ullmann @David Healey
                                last edited by

                                @David-Healey
                                Yes, I compiled @Christoph-Hart 's “Script Panel Drag Example,” and it crashes in Logic as well.

                                HiseSnippet 1602.3ocsW08aaaCDmJIpn1aEXEXOsm37CcJCFtNMe0lhhlFmjUi0zZrjULfghBZIZItHSJHQE2rs.r+z1eR608T1cjRVRowsaAqFIvl79f+3c+tSmFkp74YYpThS6SNOgSb9b2iOWpiFDwDRxv8g8c2OkEdBOSS167DVVFOf33r72gxcZsBw74ud5drXlzmWsEg7Zkvm+BwTgtZ2Q698h33CYA7SDSqo8F6NzWIGnhU4.VV1sOIg4eJKj+RFp1RtjmyxhHNeq61SVms0lSV2ea9FOfyXAi2bqGELd801Z60eHeCeF6gatg+FOh3bqCBDZU5wZllmQbVYOUv4GGolIsGvqEYhwwbbwZjigS1t8gp3.7Jh6RFDIhCFUFjxHfWFUExV1Fx9R2iDAh46WE59Bi.ZkE0CfNK0DdK2.dqUGd8qAuqARN0fzJVHcW2i8SEI5JIHd9L2gRMOcBCxS0ghUWxR+8scGn.Mj5dSYmxOLEVL2Bus52uKcs98W8wsae+6SYzLwzjXNMAttZZpJWKj71BYL7EcRtzWKTRqTuvUa+asaE1aBj7eVbrmNRj0Kjq85LNzlz6rJ3WPiLt1tgm8qrdyhDZtUXPJa1yhEgRdvI72oq4FMrrypcok67BkOKdOUtLHyqOreGe3VkxC5.N5BC9gCJOAzGu.RdbVaf+koomwRoGCmqOm9DZYzHDA0zDkDV30wJF8TkImvRAkVnIVwMMYXbLOjEuPaJjiF01djXvoVDqKsLDMNNGiP1SYgZElx4RPsBGuP8fvTyybDlC+AaB1yjPabXWq3Z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Cz+aiz+uEh20cjP6Gc8XboqAi.U6SAFKdQn63d.7vIecE.Ww8ve5Sya8PrMOCOhoSE.Av8k4SsTd3zk3.8vdNKgbI6593ZLBbLzF0r3R3Sgv0v0NEBWqTHYJyOU8VeaqC7UstsYG.SRyqk1x8HbMcMhocR837T3M+dqueSW8dF9fapgqeSMbiapgadSMbqapgaeSM7gebCwWL+YEOqGJaHjiFcfoWriyARFv.MrUx+fXzIy2
                                
                                David HealeyD 1 Reply Last reply Reply Quote 0
                                • David HealeyD
                                  David Healey @Oli Ullmann
                                  last edited by

                                  @Oli-Ullmann Does AUVal provide any insight?

                                  Free HISE Bootcamp Full Course for beginners.
                                  YouTube Channel - Public HISE tutorials
                                  My Patreon - HISE tutorials

                                  Oli UllmannO 1 Reply Last reply Reply Quote 0
                                  • Oli UllmannO
                                    Oli Ullmann @David Healey
                                    last edited by

                                    @David-Healey
                                    Do you mean Tracktion's pluginval? I didn't get any errors with my plugin at the highest strictness level. But that might also be because the panels aren't visible when my plugin starts up.
                                    I'll compile Christoph's snippet and test it with pluginval. I'll get back to you once I've done that.

                                    David HealeyD 1 Reply Last reply Reply Quote 0
                                    • David HealeyD
                                      David Healey @Oli Ullmann
                                      last edited by

                                      @Oli-Ullmann said in Logic crashes on startInternalDrag:

                                      pluginval

                                      I think that only handles VST, I'm talking about AUVal which is included with macOS

                                      Moonbase have a little article about it: https://moonbase.sh/articles/debugging-your-audio-unit-plugin-with-auval-aka-auvaltool/

                                      Free HISE Bootcamp Full Course for beginners.
                                      YouTube Channel - Public HISE tutorials
                                      My Patreon - HISE tutorials

                                      Oli UllmannO 1 Reply Last reply Reply Quote 0
                                      • Oli UllmannO
                                        Oli Ullmann @David Healey
                                        last edited by

                                        @David-Healey
                                        You can also use pluginval to test AU plug-ins. According to your article, AUVal runs under the hood in that case.

                                        I tested Christoph's snippet. No errors are reported here either. However, it also crashes in Logic. :-(

                                        I get the feeling that I'll have to code the drag-and-drop functionality myself...

                                        David HealeyD ustkU 2 Replies Last reply Reply Quote 1
                                        • David HealeyD
                                          David Healey @Oli Ullmann
                                          last edited by

                                          @Oli-Ullmann said in Logic crashes on startInternalDrag:

                                          You can also use pluginval to test AU plug-ins.

                                          Ah that's good to know!

                                          Free HISE Bootcamp Full Course for beginners.
                                          YouTube Channel - Public HISE tutorials
                                          My Patreon - HISE tutorials

                                          1 Reply Last reply Reply Quote 1
                                          • ustkU
                                            ustk @Oli Ullmann
                                            last edited by ustk

                                            @Oli-Ullmann You can run pluginval as host in xcode (edit scheme -> Run -> Executable). Start the plugin as debug and see what it spits out

                                            Hise made me an F5 dude, any other app just suffers...

                                            Oli UllmannO 1 Reply Last reply Reply Quote 3
                                            • First post
                                              Last post

                                            14

                                            Online

                                            2.4k

                                            Users

                                            13.8k

                                            Topics

                                            119.8k

                                            Posts