Hello! I have this problem. I build my VST3 plugin and validates with no errors (ALL TESTS PASSED) in pluginval GUI version in windows, mac and linux. But when i try to validate the same plugin using command line in linux or mac i get the error “Segmentation fault (core dumped)”. This only happened with vst3 format. vst and au validate ok both in GUI and CL.
Please ask what extra information is needed to understand the problem.
Thank you very much!
Ignacio
Have you run it in the debug mode?
# Debugging a Failed Validation
If your plugin fails validation with `pluginval` you'll want to debug it properly to find out why.
You may be running tests locally using `pluginval` or you might only have access to the log files. These can come from several different sources including your own CI, other developers or even end users. It's important to try to replicate test environments quickly in order to get to the root cause of the problem.
### Quick Debugging
It's a good idea to do a simple quick debug by attempting to validate the problem plugin yourself. Often the same issue is repeatable without the advanced settings listed below.
The main thing here is to build `pluginval` from source, run it in the debugger and then perform a validation. The three important steps you'll need to follow are:
1. Build `pluginval` in debug and run it from the IDE
2. Set **validate in process** to **on**
3. Ensure the **strictness level** is the same as the reported log
Although it's not strictly necessary to validate in process, doing so means the debugger will stop on any crashes and you can add breakpoints to catch test failures. For this you can do one of two things:
1. Add a breakpoint in `UnitTestRunner::addFail`
2. Search the `pluginval` source for `testRunner.setAssertOnFailure (false);` and change this to true
Once you've done these, run the test and hopefully you'll see exactly where and why the test failed and you can work on a fix.
This file has been truncated. show original
Thank you very much for your suggestion. No I didn’t. I will run it in debug mode and post any new information.