Troubleshoot snapshot loading problem (segmentation fault)

I’ve got some problem reloading sessions/snapshot every now and then for no apparent reason. Sessions were loading with no problem, after closing them I sometimes cannot open them anymore and launching Ardour from the command line reports a segmentation fault. This is very strange because it happens even for no changed session: I load a session (it works) - I close the session without saving it - I reopen and it doesn’t work… I’m going nuts! Surely it is something related to plugins, because disabling all of them loads every session.

Is there a way to troubleshoot where the problem is? How can I find out at what time the problem arises (e.g. which track/bus is being loaded, which plugin)? Trying to manually edit the session and delete the rows one by one is a nightmare…

Linux Mint 22
Ardour 8.12 (self compiled)
Pipewire 1.0.7
Behringer USB 404 UMC

option 1: make a copy (or snapshot) of the session. open it in safe-mode (disable plugins). remove half of the plugins, save. load normally… repeat until you find the plugin(s) in question.

option 2: Run Ardour in a debugger Debugging Ardour | Ardour DAW and get a backtrace. This should point to the plugin in question.

1 Like

That’s what I did last time… Actually I was pointed in the right direction by the splash screen which showed (flashingly) the name of the last correctly loaded track, so I could investigate it it in the first place.

I thought there must have been a better solution than this and the option 2 sounds more consistent.

My 2 cents advice for the new versions: adding a log of the session loading steps. It could be activated by a flag from the command line (maybe)… :slight_smile:

Thank you so much Robin