Develop branch cannot support more than 19 scripts
-
@lindon said in Develop branch cannot support more than 19 scripts:
It seems theres something wrong in misctoolclasses.h:191
I also see a mention of
juce_win32_asio.cpp
.I'm not familiar with the VS debugger but you need to step through the code if possible to see what's causing the issue. If you add a breakpoint to those files and lines that are reported in your output above that might be a good place to start.
-
@d-healey right well - assigned a breakpoint and here I am (what am I supposed to be looking for?)
-- we appear to be in the sample loading thread....
-
@lindon Click on the call stack tab, bottom right, and you can go back through the call history to hopefully see where this issue is starting from.
-
@d-healey right did that and it shows me this:
-
@lindon Does clicking through that list reveal anything useful to you?
-
@d-healey no.
-
@lindon Then I'd go back to the commenting out lines of code technique. If you want to send the project to me I could take a look at it and see if I can spot anything.
-
@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?