I have been working on some sessions and all of a sudden reloading them have caused crashes to Ardour upon loading. Now, after investigating (a lot) I’ve finally found out the cause of crash, which is plugin “Preset Convolver” reloading the IR preset. Here’s the row:
<lv2 last-preset-uri="http://gareus.org/oss/lv2/zeroconvolv/pset#LEX470L_Plates_-_A_Plate" last-preset-label="470L - Plates - A Plate" parameter-changed-since-last-preset="0" state-dir="state4"/>
Modifying the value of state-dir into something else (EG “state1” or “state6”) it will load it with no problem. I made two copies of the same session named aaa.ardour and zzz.ardour with just that parameter changed. Here is the result of the diif between the two files:
$ diff aaa.ardour zzz.ardour
4715c4715
< <lv2 last-preset-uri="http://gareus.org/oss/lv2/zeroconvolv/pset#LEX470L_Plates_-_A_Plate" last-preset-label="470L - Plates - A Plate" parameter-changed-since-last-preset="0" state-dir="state4"/>
---
> <lv2 last-preset-uri="http://gareus.org/oss/lv2/zeroconvolv/pset#LEX470L_Plates_-_A_Plate" last-preset-label="470L - Plates - A Plate" parameter-changed-since-last-preset="0" state-dir="state1"/>
Loading aaa.ardour I have a crash with segmentation fault with no other error message displayed on the console, loading the second it works like a charm.
Tested on Ardour 8.12 and 9 under Linux Mint 22.3
Can someone tell me what can cause this?