Develop branch cannot support more than 19 scripts
-
@Lindon Seeing the result, this might be related to a sampler that does wrong audio/buffer access since it seems related to audio write/read lock issue.
Try bypassing your samplers might reveal the culprit -
@ustk said in Develop branch cannot support more than 19 scripts:
Try bypassing your samplers might reveal the culprit
You'd need to do that by editing the xml since you can't open the project.
-
@d-healey The problem here is made a LOT worse because sometimes it will load and most times it wont.. so I:
- remove a block of code - it loads, I put it back - it works - I remove it again- it works, I add it back again - it fails...
@ustk - I've commented out the sampler loading - that isnt fixing it. sadly.
-
@lindon Send it over and I'll see if I can debug it, at this point we're all just poking around in the dark.
-
-
@ustk said in Develop branch cannot support more than 19 scripts:
@lindon Then someone has to review the code in question, something inside is probably causing instability (huge loops, timers, etc...)
EDIT @d-healey have spoken...Well you'd think so but.....
I just commented out every single line of code in the whole product...
and still it crashes on load.
-
@Christoph-Hart - can from time to time get it to load - if I wait after starting HISE for about ten seconds and then try loading the project -- which is starting to make me think its not a problem in my code at all... its a bug in Develop....
-
@lindon Send me the project
-
@d-healey OK will do.
-
@d-healey - meanwhile can you send me a Win 10 build of develop so we can see if its the way I've built mine....?
-
@lindon Good thinking. Here ya go - https://www.dropbox.com/s/4zlgrjqjkfya7jh/HISE.exe?dl=0
-
@d-healey - OK well "good " news there - its crashing in the same way as my version of HISE....
-
@lindon Have you tested on MacOS?
-
@d-healey not yet.
-
@lindon Good news (sort of) is I get an instant crash too (on Debian). Now to debug :)
-
First error I get
{PROJECT_FOLDER}backgroundBass.png wasn't found.
I doubt this is the cause of the crash though. -
I see some UI updates from the MIDI callback but they haven't been deferred. I don't think this is the cause of the crash either because those callbacks aren't triggered when loading the project, but it might be something to look into.
I managed to bypass everything in a debug build and I'm able to open it in the release build. Now I'm enabling things bit by bit to see if I can narrow down the crash.
-
@d-healey said in Develop branch cannot support more than 19 scripts:
backgroundBass.png
huh -- I cant find a reference to backgroundBass.png anywhere....
-
-
@d-healey said in Develop branch cannot support more than 19 scripts:
I see some UI updates from the MIDI callback but they haven't been deferred. I don't think this is the cause of the crash either because those callbacks aren't triggered when loading the project, but it might be something to look into.
I managed to bypass everything in a debug build and I'm able to open it in the release build. Now I'm enabling things bit by bit to see if I can narrow down the crash.
yep sure -- can you point at them to save me looking for them?