Pluginval segfaults on Windows 10

I’m using Pamplejuce, and I’m having trouble running pluginval on a self-hosted windows runner, because pluginval is crashing with segfaults.
It works fine when I use the github runners, so I’m assuming that there are issues with how my pc is set up.

AI suggests these might be causes:

  • Missing dependencies that pluginval needs
  • Graphics driver incompatibilities
  • Missing or inconsistent Windows components

uffda, that looks like a lot to look into! I’m not sure whether it’s worth it to troubleshoot at the moment. All of the my NI plugins, the knobs are laggy, and I after asking and getting some follow up from them, they said that it is not a common issue, and that it could have to do with my graphics card. So, it’s probably out of my control, not worth fixing at the moment.

I wonder if this is a similar thing as with the NI plugins, and if I should just use github runners to do pluginval.

I’d be curious if anyone can speak to how tricky it can be, to run pluginval on windows?

Why not just build pluginval and debug into the crash?

It’s easy to do and is pretty much necessary for whenever pluginval does find a bug in your plugins.

I’m not sure I totally understand how the pamplejuce template works, that I’m using. I can see that it pulls the pluginval exe from a repo, and runs it in verbose mode.
When it does this, I see a lot of debug info coming from pluginval, and then right as it tries to open the plugin editor, it crashes.

I get similar crashes when I run pluginval in headless mode, or I run it at a lower strictness.

It seems the segfault happens before pluginval can tell me what went wrong.

Please refer to

If you are using CLion, the pluginval will exit, the debug will stop and the trace will hopefully tell you what goes wrong.

If you want to put such process on github CI, I would recommend using a CI to build both the plugin and the pluginval with sanitizer. I have made it work on macOS image:

I see now what you meant by building pluginval and debugging into the crash.
If Pluginval continues to crash with my self-hosted windows runner, I’ll have a way forward, to investigate.
If I work on a commercial plugin in the future, It’d be nice to be able to do a self-hosted runner.
Thanks!