HISE Logo Forum
    • Categories
    • Register
    • Login

    Validate plugin parameters freezes Hise

    Scheduled Pinned Locked Moved Solved Bug Reports
    22 Posts 4 Posters 264 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.
    • ustkU
      ustk
      last edited by ustk

      @Christoph-Hart As title, a never-ending spinning wheel until I force quit.
      I tried to isolate an eventual culprit with no luck, but still trying...

      Once exported it passes auval/pluginval with no issues... But since I have a hard crash on some user machines (LogicPro), it might be related...

      Can't help pressing F5 in the forum...

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

        @Christoph-Hart Definitely strange because even when removing all plugin parameter properties (isPluginParameter, isMetaParameter & pluginParameterName) I still have the issue...

        The XML is clean of any related properties

        A blank project validates successfully...

        Can't help pressing F5 in the forum...

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

          @ustk Can you upload the project that crashes?

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @Christoph Hart
            last edited by

            @Christoph-Hart Yup! -> PM

            Can't help pressing F5 in the forum...

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

              @ustk I've found an issue with some thread deadlocks when recompiling the scripts caused by some LAF functions (eg. createPresetBrowserIcons), but not sure if that fixes your issue too.

              But I can validate the plugin parameters here now without crash - you're talking about the Export -> Validate plugin parameters function, right?

              ustkU 3 Replies Last reply Reply Quote 0
              • ustkU
                ustk @Christoph Hart
                last edited by ustk

                @Christoph-Hart Cool you found something 👍

                finger crossed it was related to the Logic hard crash issue... But it was definitely related to this one: https://forum.hise.audio/topic/11895/createpresetbrowsericons-giving-a-high-crash-count?_=1754664135122

                Yeah we're definitely talking about the same validation process

                Can't help pressing F5 in the forum...

                1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @Christoph Hart
                  last edited by

                  @Christoph-Hart It's still freezing, having plugin parameters or not... (I threw the build folder for a clean 2nd build, same...)

                  Can't help pressing F5 in the forum...

                  1 Reply Last reply Reply Quote 0
                  • ustkU
                    ustk @Christoph Hart
                    last edited by

                    @Christoph-Hart Oh... it works with the debug build, it's the release that freezes ☃ ❄

                    Can't help pressing F5 in the forum...

                    d.healeyD 1 Reply Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @ustk
                      last edited by

                      @ustk See if a particular optimisation level triggers the issue

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      ustkU 1 Reply Last reply Reply Quote 1
                      • ustkU
                        ustk @d.healey
                        last edited by ustk

                        @d-healey It didn't, I tried no optimisation at all to mimic a debug but it still freezes

                        Can't help pressing F5 in the forum...

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

                          @ustk yeah my guess is that it's still a deadlocking issue, but because the debug build / running under debugger is slower, it doesn't create the multithreading scenario that leads to the crash (or the probability of the crash goes down). The only option is to smash that compile button in Debug mode until you get the issue.

                          ustkU 3 Replies Last reply Reply Quote 0
                          • ustkU
                            ustk @Christoph Hart
                            last edited by

                            @Christoph-Hart But does it relates to the parameter validation or the LAF? or both? or any? ☺

                            Can't help pressing F5 in the forum...

                            ustkU 1 Reply Last reply Reply Quote 0
                            • ustkU
                              ustk @Christoph Hart
                              last edited by ustk

                              @Christoph-Hart Oh wait... It was working in debug because I didn't recompiled my DLL (which is btw annoying when switching from release to debug to release...).
                              Now they are recompiled and the projects loads entirely in debug, the parameter validation freezes here too...

                              Can't help pressing F5 in the forum...

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

                                @Christoph-Hart I'm hitting this on parameter validation. (Freq is a NaN for some reason, I checked my networks, nothing fancy, all value are set between 750 and 7500 throughout the whole parameter chain)

                                Screenshot 2025-08-08 at 20.35.29.png

                                Can't help pressing F5 in the forum...

                                1 Reply Last reply Reply Quote 0
                                • ustkU
                                  ustk @Christoph Hart
                                  last edited by

                                  @Christoph-Hart So I removed the last biquad and replaced it with an SVF so the assertion disappeared.
                                  Now I get this one, signing the end of my debugging skills...

                                  Screenshot 2025-08-08 at 21.01.44.png

                                  Can't help pressing F5 in the forum...

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

                                    @ustk It looks like there are so many different things.
                                    The last one was because of hasTail set in the networks. Once disabled the assertion goes away. But it's still freezing on parameter validation, and this time no crash to tell what is happening

                                    Can't help pressing F5 in the forum...

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

                                      Gotcha!!! the culprit is:

                                      const var global_LAF = Engine.createGlobalScriptLookAndFeel();
                                      
                                      global_LAF.registerFunction("getAlertWindowMarkdownStyleData", function(obj)
                                      {
                                          obj.font = "Regular";
                                          obj.fontSize = 16.0;
                                          obj.textColour = fontColour;
                                          
                                          return obj;
                                      });
                                      

                                      Interfering with the parameter validation result message of Hise:

                                      Screenshot 2025-08-09 at 00.33.52.png

                                      Quick recap:

                                      • biquad freq is NaN for whatever reason
                                      • hasTail assertion
                                      • getAlertWindowMarkdownStyleData interference

                                      Can't help pressing F5 in the forum...

                                      dannytaurusD 1 Reply Last reply Reply Quote 3
                                      • dannytaurusD
                                        dannytaurus @ustk
                                        last edited by

                                        @ustk Excellent detective work! 👏

                                        Meat Beats: https://meatbeats.com
                                        Klippr Video: https://klippr.video

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

                                          @ustk good catch but are you using the latest version? Because I swapped the ScopedReadLock at callDefinedFunction with a ScopedTryReadLock so that it doesn't deadlock when another thread holds the write lock, but your call stack still implies that it uses the ScopedReadLock.

                                          The other things are noise.

                                          ustkU 1 Reply Last reply Reply Quote 0
                                          • ustkU
                                            ustk @Christoph Hart
                                            last edited by

                                            @Christoph-Hart yep definitely the last after deleting the build folder for a clean new build

                                            Can't help pressing F5 in the forum...

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

                                            19

                                            Online

                                            1.9k

                                            Users

                                            12.3k

                                            Topics

                                            106.8k

                                            Posts