allowDuplicateSamples causing crash
-
In my main project I call
setAllowDuplicateSamples(false)
and when loading a particular sample map into 3 different samplers in a loop at on init, HISE will instantly crash. If I convert the samples to a monolith though then there is no crash.The sample set in question is about 6gb and 48 groups in a single sample map.
I haven't been able to recreate it (yet) in a minimal project, but wondered if @Christoph-Hart might have any ideas...
Removing the
setAllowDuplicateSamples
line prevents the crash and also the crash isn't occurring with any of my other (smaller) sample maps. -
What is the Duplicate property in the sample map for? Is it related to this?
-
This post is deleted! -
@Christoph-Hart HISE is being crazy, take a look :)
https://youtu.be/C_h-Bfs2n60?si=FZs3DmYEZghea20J
I'm uploading the test project for you but it will take a little while, I'll post the link when it's done.
-
-
-
Annoyingly I can't recreate this on MacOS or Windows, so looks like a me problem.
-
@Christoph-Hart This is proving very tricky for me to track down, is there any connection between the
setAllowDuplicateSamples
function and the font handling?I can trigger this issue consistently when that function is called and I change the font of a component - I've tested with floating tiles and labels.
If I select a font such as Default, Oxygen, or SourceCode Pro (the ones that are embedded in the HISE binary basically) then there is no crash, but as soon as I select another font HISE closes.
Also, as soon as the project finishes loading I run into this
JUCE Assertion failure in juce_TemporaryFile.cpp:97
-
@d-healey said in allowDuplicateSamples causing crash:
If I select a font such as Default, Oxygen, or SourceCode Pro (the ones that are embedded in the HISE binary basically) then there is no crash, but as soon as I select another font HISE closes.
This is some Riot Games-level stuff.