Runtime assertion of exported FX plugin
-
@ustk Which commit?
-
@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...
-
So it seems the problem comes from the envelope modulation
-
@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?
-
@David-Healey A minimal (blank) project works.
I'll try a minimal that uses the envelope as well and report -
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 -
@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".
-
@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...
-
@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?
-
@ustk Can you recreate the issue with a minimal project?
-
@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
-
@ustk That's a shame, it's going to be difficult to debug if it can't be isolated.
-
@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.
-
@ustk Noice. Post the snippet?