HISE Logo Forum
    • Categories
    • Register
    • Login

    allowDuplicateSamples causing crash

    Scheduled Pinned Locked Moved General Questions
    8 Posts 2 Posters 317 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.
    • d.healeyD
      d.healey
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        What is the Duplicate property in the sample map for? Is it related to this?

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by d.healey

            @Christoph-Hart HISE is being crazy, take a look :)

            I'm uploading the test project for you but it will take a little while, I'll post the link when it's done.

            1 Reply Last reply Reply Quote 0
            • d.healeyD d.healey referenced this topic on
            • d.healeyD
              d.healey
              last edited by

              Here it is - https://filedn.eu/larUQgXOwVjQdvpPaD96lHH/Test Project /test2/

              1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey
                last edited by

                Annoyingly I can't recreate this on MacOS or Windows, so looks like a me problem.

                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by d.healey

                  @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

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    aaronventure @d.healey
                    last edited by

                    @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.

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

                    17

                    Online

                    1.8k

                    Users

                    11.9k

                    Topics

                    103.9k

                    Posts