View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008268 | ardour | bugs | public | 2020-06-25 14:15 | 2020-06-25 15:11 |
Reporter | SadKo | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | x86_64 | OS | openSUSE Linux | OS Version | 15.1 |
Product Version | 6.0 | ||||
Summary | 0008268: Session corruption on rename | ||||
Description | Reproducible with LSP Multisampler x12, always. It is probably related to this ticket since LSP Plugins perform reverse-mapping of LV2State::path using absolute_path() call when restoring the state: https://github.com/lv2/lilv/issues/37 Originally reported in LSP Plugins github tracker: https://github.com/sadko4u/lsp-plugins/issues/120 | ||||
Steps To Reproduce | 1. Create new session, create bus, put multisampler_x12 to it. 2. Open the UI, load some file, close UI. 3. Perform Session -> rename. 4. You will already get inconsistent session, without need to close it. | ||||
Additional Information | Just after renaming the session, we get the plugin state: state:state [ <http://lsp-plug.in/plugins/lv2/multisampler_x12/ports#sf_0_0> <AgogoHigh-0.wav> ; While symlink AgogoHigh-0.wav points to invalid file: ls -l plugins/264/state2 ????? 104 lrwxrwxrwx 1 sadko users 36 ??? 25 16:52 AgogoHigh-0.wav -> ../../../externals/AgogoHigh-0.wav.2 -rw-r--r-- 1 sadko users 493 ??? 25 16:52 manifest.ttl -rw-r--r-- 1 sadko users 100219 ??? 25 16:52 state.ttl ls -l externals/ ????? 8 lrwxrwxrwx 1 sadko users 73 ??? 25 16:51 AgogoHigh-0.wav -> /home/sadko/.hydrogen/data/drumkits/Forzee Stereo Drumkit/AgogoHigh-0.wav lrwxrwxrwx 1 sadko users 74 ??? 25 16:52 AgogoHigh-0.wav.2 -> /home/work/Ardour/2020/0625-test-rename/plugins/264/state1/AgogoHigh-0.wav stat '/home/sadko/.hydrogen/data/drumkits/Forzee Stereo Drumkit/AgogoHigh-0.wav' File: /home/sadko/.hydrogen/data/drumkits/Forzee Stereo Drumkit/AgogoHigh-0.wav Size: 576044 Blocks: 1128 IO Block: 4096 regular file Device: fe00h/65024d Inode: 36966533 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 1000/ sadko) Gid: ( 100/ users) Access: 2020-06-24 22:43:24.485965845 +0300 Modify: 2013-12-14 17:24:00.967700292 +0400 Change: 2018-12-09 05:45:56.400961044 +0300 Birth: - stat '/home/work/Ardour/2020/0625-test-rename/plugins/264/state1/AgogoHigh-0.wav' stat: cannot stat '/home/work/Ardour/2020/0625-test-rename/plugins/264/state1/AgogoHigh-0.wav': No such file or directory | ||||
Tags | lilv, lv2 | ||||
|
Upate: the proper scenario: The problem is not reproducible without session reload. So the right scenario is: Create new session, create bus, put multisampler_x12. Open the UI, load some file, close UI. Save sesion, close, open again Perform Session -> rename. You will already get inconsistent session, without need to close it. Here's the full log of multisampler save/restore: save: mapped path: /home/sadko/.hydrogen/data/drumkits/Forzee Stereo Drumkit/AgogoHigh-0.wav -> AgogoHigh-0.wav restore: value type=2 (http://lv2plug.in/ns/ext/atom#Path), count=75 restore: unmapped path: /home/work/Ardour/2020/0625-test-rename/plugins/408/state1/AgogoHigh-0.wav -> /home/work/Ardour/2020/0625-test-rename/plugins/408/state1/AgogoHigh-0.wav save: mapped path: /home/work/Ardour/2020/0625-test-rename/plugins/408/state1/AgogoHigh-0.wav -> AgogoHigh-0.wav Boom! |