Forum

    • Register
    • Login
    • Search
    • Categories

    Encoding monoliths broken

    Bug Reports
    3
    20
    158
    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.healey
      d.healey last edited by

      Encoding a monolith causes HISE to crash 😞 and disabling the sample map ID check and the normalisation completely cleared out my sample map xml - luckily I had a backup.

      I tried with both new_layout and master branch. Anyone know a commit that allows you to encode without crashing?

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

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

          I think it's something to do with my audio interface settings. I noticed on my main PC if I tried different soundcard settings it would affect the amount of progress made before it crashed. I just tried it on my Mac Mini and it created the monolith without issue.

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

            @Christoph-Hart This also affects installing samples so it could be a problem for the end-user as well depending on their audio interface setup.

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

              I've enabled debug mode in HISE and enabled HLAC_DEBUG_LOG in projucer. Where is the log file written? I don't see it in the HISE appdata folder.

              1 Reply Last reply Reply Quote 0
              • Christoph Hart
                Christoph Hart last edited by

                Can you reproduce it reliably with a particular samplemap?

                d.healey 1 Reply Last reply Reply Quote 0
                • d.healey
                  d.healey @Christoph Hart last edited by

                  @Christoph-Hart Yes, on my main system but no problem on my Mac

                  1 Reply Last reply Reply Quote 0
                  • Christoph Hart
                    Christoph Hart last edited by

                    What happens if you run it in the debugger? A reproducible crash should be pretty easy to spot during debugging.

                    d.healey 1 Reply Last reply Reply Quote 0
                    • d.healey
                      d.healey @Christoph Hart last edited by

                      @Christoph-Hart I did a step through, which took a while because of the number of samples and it seems to break before it writes the file. That was a few days ago so I'll do it again in a little while to refresh my memory and see if I can spot anything.

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

                        I'm seeing lots of this in the output, I don't know what it means...

                        5be798c7-2a4d-4cd5-b5f2-3e4490a6d689-image.png

                        Also I noticed that certain audio device settings prevent my server calls working, but one problem at a time.

                        1 Reply Last reply Reply Quote 0
                        • Christoph Hart
                          Christoph Hart last edited by

                          This output looks ok, it's just super verbose to track down codec issues, but I don't think that is the case here, but some more trivial file I/O problem. I think you can deactivate the logging and just wait until the debugger crashes to inspect the stack trace.

                          d.healey 1 Reply Last reply Reply Quote 0
                          • d.healey
                            d.healey @Christoph Hart last edited by

                            @Christoph-Hart Ok, I'll do that now and report my findings.

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

                              It crashes in hise::MonolithExporter::writeFiles() I'm stepping through it now to see if I can get any more detail.

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

                                Ok when I stepped through the entire process it encoded the samples without issue 😲

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

                                  I haven't been able to get any further with it. I tried to recreate the issue on Windows by playing around with various audio device settings but no luck. I'm suspecting this is related to my move a to pipewire a few weeks ago, but since pipewire is the future 😛 I would definitely like to get it working.

                                  Update: I disabled pipewire, reinstalled jack, and the export worked and then I reenabled pipewire and the export doesn't work.

                                  I see this in the pipewire changelog for the next release Stability and compatibility improvements in JACK apps. So maybe I'll just disable pipewire in HISE for now and see if the update fixes the issue when it arrives.

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

                                    I think I've found a partial solution... move to the future 🙂 I rebuilt HISE without JACK (disabled it in Projucer) and now I can use pipewire as the audio device and the encoding with HLAC seems to work fine.

                                    The only potential issue I see now, but I'll need to test, is when I export my project I will want it to include JACK because most Linux users will be using it, and if they also have pipewire installed I expect the decoding to fail. But I'll cross that bridge when the time comes, or I'll ignore it until someone complains 😛

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

                                      @d-healey said in Encoding monoliths broken:

                                      I'll ignore it until someone complains

                                      unnamed.jpg

                                      I can't help pressing F5 in the forum...

                                      d.healey 1 Reply Last reply Reply Quote 3
                                      • d.healey
                                        d.healey @ustk last edited by

                                        @ustk I occassionally get a report of a bug in a piece of software I wrote 10 years ago and no-one has noticed. These are the sort of bugs I like 🙂

                                        1 Reply Last reply Reply Quote 3
                                        • ustk
                                          ustk last edited by

                                          🤣

                                          I can't help pressing F5 in the forum...

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

                                            I've hit another snag. The encoding to monolith works with my previous solution, but extracting from a hr file causes an instant crash. I noticed on Debian that changing the audio driver affected how far the extraction process got before the crash. I've tested the same project on Windows with ASIO and it works fine.

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

                                            18
                                            Online

                                            1.1k
                                            Users

                                            6.8k
                                            Topics

                                            62.4k
                                            Posts