Illegal call in audio thread
-
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
-
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?
-
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... -
@dustbro Glad it's not just me :)
-
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)
-
@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
andMonolithOffset
defined which tell the samplemap where to look in the stupid big chunk of audio data of the .chX files. -
@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.
-
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.
-
Yes I noticed that too. I‘ll try to fix this ASAP.