Tracktion / pluginval

Cross platform plugin testing and validation tool
GNU General Public License v3.0
386 stars 54 forks source link

Passes on Linux & macOS but Fails on Windows (Process completed with exit code 127) #109

Closed zsliu98 closed 1 year ago

zsliu98 commented 1 year ago

It is possible that it is my/JUCE's side problem. Anyway, let's see what is happening:

Started validating: D:\a\RCInflator\RCInflator\Builds\RCInflator_artefacts\Release\VST3\RCInflator.vst3
Random seed: 0x782c155
Validation started
    10 May 2023 6:06:28pm

Strictness level: 10
-----------------------------------------------------------------
Starting tests in: pluginval / Scan for plugins located in: D:\a\RCInflator\RCInflator\Builds\RCInflator_artefacts\Release\VST3\RCInflator.vst3...
Num plugins found: 1

Testing plugin: VST3-RCInflator-aae71f93-85ee43e5
ZL: RCInflator v0.1.3
Completed tests in pluginval / Scan for plugins located in: D:\a\RCInflator\RCInflator\Builds\RCInflator_artefacts\Release\VST3\RCInflator.vst3
-----------------------------------------------------------------
Starting tests in: pluginval / Open plugin (cold)...

Time taken to open plugin (cold): 155 ms
Completed tests in pluginval / Open plugin (cold)
-----------------------------------------------------------------
Starting tests in: pluginval / Open plugin (warm)...

Time taken to open plugin (warm): 1 ms
Running tests 1 times
Completed tests in pluginval / Open plugin (warm)
-----------------------------------------------------------------
Starting tests in: pluginval / Plugin info...

Plugin name: RCInflator
Alternative names: RCInflator
SupportsDoublePrecision: no
Reported latency: 0
Reported taillength: 0

Time taken to run test: 0
Completed tests in pluginval / Plugin info
-----------------------------------------------------------------
Starting tests in: pluginval / Plugin programs...
Num programs: 0
All program names checked

Time taken to run test: 0
Completed tests in pluginval / Plugin programs
-----------------------------------------------------------------
Starting tests in: pluginval / Editor...
Error: Process completed with exit code 127.
##[debug]Finishing: Pluginval
Started validating: C:\Program Files\Common Files\VST3\RCInflator.vst3\Contents\x86_64-win\RCInflator.vst3
Started validating: C:\Program Files\Common Files\VST3\RCInflator.vst3\Contents\x86_64-win\RCInflator.vst3
Random seed: 0x5cefee4
Validation started
Strictness level: 10
-----------------------------------------------------------------
Starting tests in: pluginval / Scan for plugins located in: C:\Program Files\Common Files\VST3\RCInflator.vst3\Contents\x86_64-win\RCInflator.vst3...
Num plugins found: 1

Testing plugin: VST3-RCInflator-6e296024-85ee43e5
ZL: RCInflator v0.1.3
Completed tests in pluginval / Scan for plugins located in: C:\Program Files\Common Files\VST3\RCInflator.vst3\Contents\x86_64-win\RCInflator.vst3
-----------------------------------------------------------------
Starting tests in: pluginval / Open plugin (cold)...
Completed tests in pluginval / Open plugin (cold)
-----------------------------------------------------------------
Starting tests in: pluginval / Open plugin (warm)...
Running tests 1 times
Completed tests in pluginval / Open plugin (warm)
-----------------------------------------------------------------
Starting tests in: pluginval / Plugin info...

Plugin name: RCInflator
Alternative names: RCInflator
SupportsDoublePrecision: no
Reported latency: 0
Reported taillength: 0
Completed tests in pluginval / Plugin info
-----------------------------------------------------------------
Starting tests in: pluginval / Plugin programs...
Num programs: 0
All program names checked
Completed tests in pluginval / Plugin programs
-----------------------------------------------------------------
Starting tests in: pluginval / Editor...

Finished validating: C:\Program Files\Common Files\VST3\RCInflator.vst3\Contents\x86_64-win\RCInflator.vst3
*** FAILED WITH EXIT CODE: 3221226525

Is there any potential reason for this?

drowaudio commented 1 year ago

I think you need to read this doc to show you how to debug the pluginval run: https://github.com/Tracktion/pluginval/blob/develop/docs/Debugging%20a%20failed%20validation.md

That should show you why its failing.

zsliu98 commented 1 year ago

I think you need to read this doc to show you how to debug the pluginval run: https://github.com/Tracktion/pluginval/blob/develop/docs/Debugging%20a%20failed%20validation.md

That should show you why its failing.

Thanks a lot. I am setting up the IDE on Windows now ;) will reopen it if necessary

zsliu98 commented 1 year ago

The problem gets solved after replacing images with JUCE built-in drawing functions ... CHEERS :yum: (although still don't know why it happens in the previous version)