HISE Logo Forum
    • Categories
    • Register
    • Login

    Illegal call in audio thread

    Scheduled Pinned Locked Moved General Questions
    9 Posts 3 Posters 1.0k 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 d.healey

      I get this whenever I play a note or enable/disable one of the samplers in my project. I don't think it's script related because I get it even when all of the scripts are bypassed. Any ideas?

      I noticed some notes are getting cut off with certain sample maps loaded so I'm thinking something with my sample maps might be screwed up? I made the sample maps in an older version of HISE. Although they've mostly been resaved in the current version and all of the monoliths were created this morning in the current version.

      Interface: All callbacks sucessfuly parsed
      roundRobin: All callbacks sucessfuly parsed
      legato: All callbacks sucessfuly parsed
      ignoreCC64: All callbacks sucessfuly parsed
      sofiaWoodwinds:! Error at loading sample : 
      has no monolith metadata (probably an export error)
      releaseHandler: All callbacks sucessfuly parsed
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      sofiaWoodwinds:! Illegal call in audio thread detected: 
      AsyncUpdater call
      

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

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

        I found something else, in my exported plugin I get the message you see below, except for one sample set (the AltoFlute which works just fine). How can I solve this?

        0_1536494764413_Screenshot from 2018-09-09 13-01-30.png

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff
          last edited by

          Same.
          It appears that there is an error with how sample maps are being handled within HISE that may be causing wide spread pandemonium.
          Slow save times, crashes when creating sample maps or merging multi mic, illegal audio calls, names missing in the pool list, Token Parser issues, etc...

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @dustbro Glad it's not just me :)

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

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

              Yeah there were many changes under the hood regarding sample map management (which is the reason why it‘s not merged to master yet because I predicted there were issues like that).

              In the end it will be more flexible and more convenient with full undo support but there are many annoying bugs left that need to be ironed out.

              Thanks to you both for putting your time into finding these things, this is very useful for me as I normally don‘t hit these kind of things in my workflow.

              Unfortunately all my brain cells that are not needed for breathing and eating are currently consumed by the work on hnode, but getting the develop branch back into a stable state is the next thing on my list (with these two changes it‘s HISE 2.0 time)

              1 Reply Last reply Reply Quote 2
              • Christoph HartC
                Christoph Hart
                last edited by

                @d-healey said in Illegal call in audio thread:

                I found something else, in my exported plugin I get the message you see below, except for one sample set (the AltoFlute which works just fine). How can I solve this?

                Can you check the sample map XML file? This error occures when trying to load a samplemap that referres to a monolith but has no monolith data stored in it (All samplemaps that have monoliths have the two properties MonolithLength and MonolithOffset defined which tell the samplemap where to look in the stupid big chunk of audio data of the .chX files.

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

                  @christoph-hart Aha that's interesting, it seems almost all of my sustain articulation sample maps are missing the monolith data, while the staccato and release maps have it. Odd because I created them all at the same time.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

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

                    I've just built the latest version and I'm getting an endless stream of

                    AsyncUpdater call
                    sofiaWoodwinds:! Illegal call in audio thread detected: 
                    HeapBlock allocation
                    

                    in the console. I tried bypassing all scripts but that didn't change anything. I've turned off the audio thread guard now but I'd like to actually find out what is causing the issue.

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

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

                      Yes I noticed that too. I‘ll try to fix this ASAP.

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

                      52

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      101.8k

                      Posts