View Issue Details

IDProjectCategoryView StatusLast Update
0009717ardourbugspublic2026-01-09 23:43
Reporterbreafk Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformDebian GNUOSLinuxOS Version(any)
Product Version8.6 
Summary0009717: lost samples in drumkv1 with liblilv >= v0.24.22
Description- save an ardour session with drumkv1 plugin configured with some samples
- quit and restart ardour
- everything in the session is OK except that all samples in drumkv1 have been lost

This happens for me on a debian 13 system (Trixie, aka 'testing'), with ardour and drumk1 installed as regular debian packages:
ardour debian package 1:8.6.0+ds-1
drumkv1-lv2 debian package 0.9.90-1

I discussed the issue with the author of drumkv1 and he spotted the problem: it happens with liblilv-0-0 package version >= 0.24.22 (i had 0.24.24-2). After downgrading liblilv-0-0 to version 0.24.14-1 everything works fine. Note that qtractor is not affected, whatever the liblilv version, thus i do not know if it's actually a bug in libliv or in ardour, or rather a subtle buggy interaction between both.

The discussion with drumkv1 author can be read here; https://www.rncbc.org/drupal/node/1959 (it starts with old 2018 messages, but the current conversation is at end of page)
Steps To Reproduce- on an updated debian testing system with ardour, drumkv1, liblilv-0-0 installed from debian packages
- create ardour session with a midi track with drumkv1 lv2 plugin
- in drumkv1 add 3 samples
- save session
- quit and restart ardour on this session
- track and plugins are there, but samples are lost
TagsNo tags attached.

Activities

breafk

2024-06-05 09:03

reporter   ~0028777

update from Rui Nino Capela here: https://www.rncbc.org/drupal/comment/10650#comment-10650

rncbc

2024-06-05 09:34

reporter   ~0028778

confirmed that the bug is indeed in liblilv (https://gitlab.com/lv2/lilv); a merge request has been already proposed with the fix:

- Fix lilv_state_new_from_file() parent path (state dir)
  https://gitlab.com/lv2/lilv/-/merge_requests/4

x42

2024-06-05 17:47

administrator   ~0028779

official Ardour binaries come with liblilv 0.24.13

rncbc

2024-06-06 13:50

reporter   ~0028782

@x42: good to know--anyway, the writing is on the wall ;)

rncbc

2026-01-09 16:39

reporter   ~0029693

It's back! (lilv >= 0.26)
https://www.rncbc.org/drupal/comment/12229#comment-12229

drobilla

2026-01-09 23:34

developer   ~0029698

I just did this with the current lilv git (functionally identical to 0.26) and current ardour master, and samples (in both samplv1 and drumkv1) restore properly when reloading the session for me.

There must be some variable here that's not accounted for. Can you post a long directory listing of the relevant plugins/ subdirectory in the ardour session? This stuff is stored with transparent symlinks, if some are broken it should be obvious how. Probably there's some relation between the paths with what you're doing that's different from what I'm doing.

drobilla

2026-01-09 23:43

developer   ~0029699

n/m, reproduced with drumkv1 (only) when the paths share a prefix (e.g. are both somewhere under your home directory)

Issue History

Date Modified Username Field Change
2024-06-05 04:43 breafk New Issue
2024-06-05 09:03 breafk Note Added: 0028777
2024-06-05 09:34 rncbc Note Added: 0028778
2024-06-05 17:47 x42 Note Added: 0028779
2024-06-06 13:50 rncbc Note Added: 0028782
2026-01-09 16:39 rncbc Note Added: 0029693
2026-01-09 23:34 drobilla Note Added: 0029698
2026-01-09 23:43 drobilla Note Added: 0029699