I’m not getting any warnings about system integrity or anything; just it immediately exits and nothing happens. If I run ‘auval -t aumu manu pl22’ from Terminal it works, so I know these are the correct values.
I think I must be doing this wrong but I can’t find any examples of how to set this up properly. Thanks!
I did. Strangely, it passes everything and shows no crashes or asserts. Whereas auval run from Terminal shows:
Checking ramped parameter scheduling
PASS
Test MIDI
PASS
* * PASS
--------------------------------------------------
JUCE Assertion failure in GlobalData.h:202
auvaltool(86265,0x119c035c0) malloc: *** error for object 0x7f7f48230000: pointer being freed was not allocated
auvaltool(86265,0x119c035c0) malloc: *** set a breakpoint in malloc_error_break to debug
/usr/local/bin/auval: line 8: 86265 Abort trap: 6 arch -x86_64 /usr/bin/auvaltool "$@"
It turns out it was a System Integrity/hardened run time issue. After booting into the Recovery partion and disabling SIP according to the following link, I can now debug into auval.
This is probably something you’re already aware of, but double checking – are you testing the VST of your plugin in pluginval and the AU in auval? If so, they won’t necessarily fail in the same ways at all.
I’m pretty sure that resigning auvaltool will solve this issue so that you can leave SIP enabled, there are a bunch of posts about how to do this already on the forum.
I have the same problem (malloc_error_break) and would like to debug it with XCode and auvaltool but it’s just not working.
I mean I’ve done all those steps and XCode starts the auval and outputs the stuff in the console, but breakpoints don’t work. It just outputs the same content in XCode that I already see when I’m using auval in the terminal. What I’m interested in is breakpoints. I’ve tried it now for 3h and nothing works. Googled and used a lot of content from this forum…
Any hints?
I’ve copied the “auvaltool” to my home folder documents, I’ve code-signed it and I even disabled SIP.
In the terminal I use the command auval -v aumu XXXX YYYY and it “works” (I get output, sometimes it passes, sometimes the error appears). In XCode for the Debug AU configuration I’ve selected Executable: “auvaltool” (this file I’ve copied and code-signed in my documents folder…). The checkbox “Debug executable” is disabled because otherwise I get an error. As arguments I’ve -v aumu XXXX YYYY
What happens? Well it launches auval and I see the same output like in the terminal now in XCode … but breakpoints don’t work. If I launch the plugin as standalone, then all the breakpoints work.
Edit: Sorry, it seems to work! The checkbox was wrong and I fixed that error meanwhile… gladly… I got depression haha