Forum
    • Categories
    • Register
    • Login

    Runtime assertion of exported FX plugin

    Scheduled Pinned Locked Moved Bug Reports
    16 Posts 3 Posters 145 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 I am hitting an assertion in JUCE setValueAndRampTime:

      Screenshot 2026-04-21 at 13.35.00.png

      The stack shows sampleRateToUse is -1

      Screenshot 2026-04-21 at 13.53.10.png

      Screenshot 2026-04-21 at 13.53.35.png

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

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

        @ustk Which commit?

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

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

          @David-Healey I tried for last one (well a few days back, before yesterday's new stuff) back to where JUCE submodule has been introduced because it's a pain to go further back...

          Something weird is that I'm on JUCE 6 but XCode says JUCE 8 in the message thread (screenshot)

          I'm editing the first post because AI gives more noise than needed...

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

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

            So it seems the problem comes from the envelope modulation

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

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

              @ustk I'm using a commit from March 10th, seems to work ok. But is this error specific to your project or do you see it with a minimal test project too?

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

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

                @David-Healey A minimal (blank) project works.
                I'll try a minimal that uses the envelope as well and report

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

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

                  A little update. The issue is not related to an envelope modulator per say. This very minimal snippet shows the same issue as soon as I have a basic ScriptFX.

                  • Hise is compiled from today's last commit
                  • JUCE 6 branch selected (but XCode says it's JUCE 8 that is somehow complaining...)

                  Could anybody build and run a debug to see if it fails or if it's my config? That JUCE 8 showing feels weird to me...

                  HiseSnippet 1205.3ocuW01SiaDDdc.ebN8pTOo9CHeLTgPwg.AnenG4sqQsAhtjK5jppParmPVE6cs7tFHs59d+41+AsyZ6fcfDHWT6YPPl214YmcmmwoenvAjRQHwn3v4A.w3MlClyUSaNkx3jtsP8lCAoZ3TphzXd.UJAWhgwNuWa2vZWR7ye+SMndTtCjohPFIXNvux7YpLs8e2uv775PcggL+bdW6cccD7lBOQDhkcLqPBnNyn2.WR0tUvj7yT4ThwOXdD3d1o1P8SFWod0pUbpCm.0Nxc7ot0rA2Z.8nyN9XndUhwqZ6xThvAJpBjDicaHbmOXp3NdRBFwjrwdfVvlL.ybh5NBOW8VTqkzbJyys+hhjjfqR+rR1NIkru2rGyk8f9rR22EanTVD4KfFEVFd6rD7ryCuJ4f2JfjQNHsaBjdq4.mPVfJyhFOeiYWtBBmPwyo7PIwWRgOtqYSA5AWcnOcFzIDEdHhxmToxAkv+r+OVbydlDwcTLAujfeoPAWwKuew+rnEaRoxsZO55dW0p89EsPMVx6XJmokJ2CwJdle3MfRGwkQ9igvx6idE6lkCUBkN5jysTQigt7fH06oddP37FJ9gRPMh5EAkUgQ.BRq3mU4oyTJ+Fvs7CNMNDnyPgrbT+bKtfIgWb8erWavZe54Vv8NLrt9hq9S8aCV+yRpOWEo1zBzSb8kyRsJXVBob4DQn+FrSVsuaPdvpkuvMxih8JYQJ+sJ+9Zxz57dCx0YqIW1eQ4xdSx0wUVStp9EkqpOStr9bQ72OWrziaDmLIoS7Q1z89gB8ZuRyZB6vmKvx7390CJcqF7O3HRJsLSm45Y5xSD6jPEkyQAuKmotJ.3qidljxege5icaQUTM8XpNzu.HTwzPvnEbKNbJgrzxrEHmoDA33omvjhb3Kp64I10i+RMf0fkXS0LlbISMO+3w+yX62TH9Vy9ZN0UiwBq.iXk5+CLlNi7aMaOYB3nx.3tlc9zWuAhESGHh4Tm72jJVpymrW0nPi+xL6BdPHDPCggh9dz4kkT+.O3CHFOnzXOgyrAr+.dZWQPBDZn8nrtEkCdxso44UabUw94OT9fHRw32zipBY2icg3z0A3aa4.MSQGpynftGJQthVVeuX.vciE9G7I0nsV1H0n8Bi4Z+tDT2IBmEebj9YhwqSp8sjAKTMBBk5KmF6YV4P7GxEddh6ZJ7CXoWawCkXc8EdyClJ3LGspDOV.8K7EQXVSwe1c9FKNeVrUvWhbHk4oaAFDIQhD2q3Cv0I9MW0WAuT3heZuNTGrlOuOUMU2Joohv6sPnlrM896RairqP5hex6rtjC5Sr9zPz.NNWl5FlqEuwaB7vckut7oeeWicz1Spewf5U5rZZ5G4QVBdEM8w+enV+pfQRDuPtJjCa59mERny8X73gQ5URe.0id+Cx1nrFU6YlnZICsfIzHO0R5H4HgQgbIcIKwcvZIjepPRwtqbj1pC0aQVvy5FBwLeZ7srsiu+qQOgO0ITbsSRatdy85XM3YDO9.xxrmVtjM41jMVFirO90Gt1wY4k5IAVcaC7nsMvZaafGusAdx1FX8sMvSe4.0e6tKhTB+DlJj4oe63KgFFs4TjUNdjB4eAj7iQMM
                  

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

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

                    @ustk maybe it's picking up the JUCE modules from a different location on your hard drive?

                    Check the HISE/JUCE subfolder. JUCE6 => there's a file called "I am JUCE6.txt".

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

                      @Christoph-Hart Thanks, yest that's the first thing I checked...

                      I re-created another minimal snippet from a new project (the previous one was the main project that I stripped down until having nothing, so I might have carried on a problematic setting of some sort.

                      This new one (identical snippet with just a simple ScriptFX) works and runs fine. I did copied the preprocessors from main project and that minimal snippet it's still working. So there might be a setting or a corrupted file. I remove the Binary folder entirely at each iteration to be sure it's clean.

                      I'll try a diff between the two "identical" minimal snippets to see why one is not working...

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

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

                        @Christoph-Hart Alright so I'm working on this bug for days without making any significant step... Using Claude all along to help, but it doesn't really help... Once saying it's definitely not in the HardcodedFX but in the GlobalModulators, then the exact opposite.
                        Trying to track the bug down manually is beyond my skills.

                        As I said, the plugin compiles fine, it's at runtime that it crashes because of a samplerate set to -1. It doesn't seem to come from my scripts or modules, but more from Hise itself (at least for what I can see)

                        This is the final stage before plugin release so I definitely need help because I can't go further by myself...

                        @Christoph-Hart do you think I can send the project to you?

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

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

                          @ustk Can you recreate the issue with a minimal project?

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

                          ustkU 2 Replies Last reply Reply Quote 0
                          • ustkU
                            ustk @David Healey
                            last edited by

                            @David-Healey Thanks Dave. I afraid I can’t. There seems to be other assertions popping out if I try to either remove elements from main project, or import them into a new one.

                            The project is quite complex and it’s hard to isolate one element to reproduce the issue in a minimal snippet (as I said, either by trimming down main project or creating a minimal one)

                            I know assertions can be stepped over to see the behaviour by carrying on the program execution but the plugin eventually crashes anyway

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

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

                              @ustk That's a shame, it's going to be difficult to debug if it can't be isolated.

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

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

                                @David-Healey Oh wait! Me saying this and instantly I could reproduce it with a single module! A Script Time Variant Modulator (in the Global Modulator Container) with just a Math.add node is triggering the assertion.

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

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

                                  @ustk Noice. Post the snippet?

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

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

                                    @David-Healey Here it is

                                    HiseSnippet 1379.3oc2W8taaaCDmxwro1qCXEaeZn.SezYnHvN+OYeXMI1oyXyIF0oACXnHfVhNlHRjBjTIwanui6YXOA6MX6nnrkbrcrZPawvTBRD4cGue7Nd+3otRgGUoDRjS0yGEQQNOC2aDWO73gDFG0tILO9bpRe9PhFcznHhRQ8QNNq7ZibmJkQIO+8OdDIfv8nYSgPWHXdzegExzYy18U+LKH3DhO8bVXNs25Us8D7iEAhX.KqfqihHdWSthdJwnVIL5mHpgHmuGuI0e+8ZP2cm902ciMp6sKcG5Va52eO+sZP82hR1b+s2lt6FHmmzxmoExdZhlpPNkOR3Op2PwsbqCtfoX8CnlAMP8.Oam9DQfuYKZlEc7PVfe2wAIEB4f6lExVwFx9FbGlOax7YgtuJQfalE4CfNklFdqLE7ZjGd0yAu4.ImbPprEROG2ySxhzYRL34Kvs4Zpb.AxS4ghUWTo2VFer.zfqWOjbM8DILXhE01od8W5B+YsenZwdFDy8zLA2UvOUnomwqsV0+nZE1.2ZMacwkcNqYq0pVAloh5Vl1anasN.Vgb95WQ0FKNMNrOUVaMPqD0p3QTT2M24fJ539z17nX8qIAAT4niz70UT8EjfXZMsLlBfrRxy7zzaHgeE0u1Dk5KojqgAY9X2CpvELEcoq+80p.q8dGTgdmGChqKc0mUuBr96aiOmEqKZ.ZFUWtW1pN3EIgqFHjgEXmLecKfefnUnvONf.0JYVp9s5uaAdZQZW.es+B7UiOHe0nH9Z65KvWa7A4qMd.eU48UgeeeU26WHNXfsR7dxL09RgYsmqXCgs7gLrFOod8kt2X.+DEARooY5vKloKOQrmkJJmhBdaNSeVDkuH5YTJ+E71aa2jnIF5wz4.8hnRMy.AmlzafKmrjkUvMopq0hH35oYXRAN7ww87D6lq+RE.wfoXSMLlbESOJ+0iezX6KJDeNtqgSc9XrzbvHDo9Tfwz6H+RbqACnd5L.VFexu9o4Bw7t+oV2+s3WGH5SBxBTvYB.IT6EiuHUr6D4tYJr3td9yh10STg65490JkKVsxRZZo7+4ZZonGi+5YxLpOiEaS0Z0Srv7EosVYxjWPjLBWOAaIP96RUv0ngapJY3e4v+HVjHfHy0Ylyegy3aijzHhjdtna.YTMEILJf9FXi9RW66ptT4QABuqmkpNxtaRjVqeLTQJmGed9t093c+wxtk.W3jViG9nU1c.mR02JjWmjISeGnDrmq5P7jhFW1TEMVxgAAhaOVDFwRYLSbE7cGmSXAoey.UpRjrJt95vOVa5JBFEMTvYdlblcEnvYXNmFbXnHFvhC1oD.nL53jbPO1uSMhL48dwJ3hM+y38.iS3TfxMmSE9vaqdBwCBMi5RzCMT6diImLW9OoRY1cT1QMC3seJ07zyDl6RjfbnYSkcea77XlIKBgMVnItZ9ZLmULxsA1DH9DCFvXhuOZJvVEGB+ecy7yCMVKVhuJkCalZxwi.piNLdRqRlUxjO5Ptax3FvXCpVEam5vXs..yDdxbMD.CVjKVM+RrL2A427r4stCVB9jqcRN4TE2joHvIYeTS5.RbfNcEfc5TqcRiKbZR4iBM0PPYSHqs+3.3D7ZlZLXmZClPkYFATMkLaomgaqtvH0iDL1wvYzOksM8f8jrx+u6I4MhXMieUGhVxtCRav211CNm3MlmPMlhHcb8I7B.oPxf+AdRE1vL1IUXiwBQ1E2l+9r3vPCSxkdVhcygrmlLCDD3IU2UrbMtMP2XOfkkXCglLtzya5kZFC23wZ3lOVC25wZ31OVC24wZ3tOVC2a4FZ5ALkuzTmB2b0sUxAKGmVbK6ETdf9Wn6hrpD
                                    

                                    Screenshot 2026-04-25 at 00.59.27.png

                                    AI fixed it by adding a samplerate > 0 safety. This is confirmed working in main project, bt the same assertion fired this time for master FXs. So I have made the same exact safety and all is good (for this assertion at least...)

                                    Now a new one with MPE connection... Not done yet but at least I progressed!

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

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

                                    21

                                    Online

                                    2.3k

                                    Users

                                    13.6k

                                    Topics

                                    118.5k

                                    Posts