elk-audio/sushi

Matt Tytel's Vital not functional

DatanoiseTV opened this issue · 8 comments

Current version of the Vital Linux VST3 exits with "double free or corruption (!prev) Aborted (core dumped).
The stand alone version works. I see the get_processor_id and get_parameter_id getting the parameters and then it crashes.
Screenshot-24-09-2021-151410

Update: The same happens for the LV2.
Screenshot-24-09-2021-153816

Thanks for the report,
could you confirm if the same plugin build works on other hosts?

Thanks for the report, could you confirm if the same plugin build works on other hosts?

Yes. It seems like all Matt Tytel plugins are crashing sushi (Vital, Helm, Vital fork)

I was able to reproduce this with the 1.07 build of Vital. It's due to a race condition in Sushi that could happen with plugins with a long list of parameters. I'm working on a fix for it. Thanks for finding DatanoiseTV.

I was able to reproduce this with the 1.07 build of Vital. It's due to a race condition in Sushi that could happen with plugins with a long list of parameters. I'm working on a fix for it. Thanks for finding DatanoiseTV.

Great, let me know if I can be of any help.

The fix for this bug is included in the new 0.12.0 release.

The fix for this bug is included in the new 0.12.0 release.

Now I'm getting "Failed to load tracks from Json config file" on load.

{
    "host_config" : {
        "samplerate" : 48000
    },
    "tracks" : [
        {
            "name" : "main",
            "mode" : "stereo",
            "inputs" : [],
            "outputs" : [
                {
                    "engine_bus" : 0,
                    "track_bus" : 0
                }
            ],
            "plugins" : [
                {
                    "uri" : "http://tytel.org/helm",
                    "name" : "Helm",
                    "type"   : "lv2"
                }
            ]
        }
    ],
    "midi" : {
        "track_connections": [
            {
                "port": 0,
                "channel": "all",
                "track": "main",
                "raw_midi": false
            }
        ],
        "program_change_connections": [
            {
                "port": 0,
                "channel": "all",
                "plugin": "Helm"
            }
        ]
    }
}

Hi @DatanoiseTV ,
what does your /tmp/sushi.log looks like?

Hi @DatanoiseTV , what does your /tmp/sushi.log looks like?

The log file gave me a hint - LV2_PATH was not defined. Perhaps also add an option to log to stderr instead of just /tmp/sushi.log?