Plugin crashes DAW inconsistently. pluginval error in audio thread.



  • Hi everyone! I'm running into strange issues with my instrument lately. I have no trouble building my instrument but once I run it in a DAW it works fine for a moment then it crashes completely out of nowhere. I've tried it into Reaper, Live, Logic, Cubase, and MainStage, the same issue appears every time. When I compile my code in Hise I have no errors in the Console, and the instrument seems more stable. I tried to test it in PLUGINVAL at Strictness Level 10 and SOMETIMES I get a failed; "Allocations occurred! in audio thread: 1", maybe every 2 or 3 tests. Does anyone have the same issue? What could go wrong in the audio thread? I'm using Macros and Scriptnode for some Degrade effects.

    Thanks!

    plugin.txt



  • I'd setup a debug version and see if you can get your plugin to crash. That will point you to the code that is causing the issue.



  • Can you post a minimal snippet that illustrates that behaviour?


Log in to reply
 

8
Online

752
Users

3.0k
Topics

24.9k
Posts