HISE Logo Forum
    • Categories
    • Register
    • Login

    Validate plugin parameters freezes Hise

    Scheduled Pinned Locked Moved Solved Bug Reports
    22 Posts 4 Posters 266 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 @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...

      Hise made me an F5 dude, browser just suffers...

      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

        Hise made me an F5 dude, browser just suffers...

        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

          Hise made me an F5 dude, browser just suffers...

          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

            Hise made me an F5 dude, browser just suffers...

            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

              Hise made me an F5 dude, browser just suffers...

              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

                    Hise made me an F5 dude, browser just suffers...

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

                      @ustk yeah, I'm the idiot, I forgot to include the line with the actual fix in the commit...

                      Try again now, it should now work correctly. If it still keeps freezing in Release mode I'll take another look.

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

                        @Christoph-Hart That was it! Thanks Chris! 😎

                        Hise made me an F5 dude, browser just suffers...

                        1 Reply Last reply Reply Quote 0
                        • ustkU ustk marked this topic as a question
                        • ustkU ustk has marked this topic as solved
                        • First post
                          Last post

                        31

                        Online

                        1.9k

                        Users

                        12.3k

                        Topics

                        106.8k

                        Posts