View Issue Details

IDProjectCategoryView StatusLast Update
0006258ardourbugspublic2020-04-19 20:17
Reporteremem Assigned Tox42  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version4.X git (version in description) 
Summary0006258: LV2 state save error
DescriptionAVLinux 6.0.4, Ardour GIT 17 Apr.

1. open empty session
2. add audio track
3. add any LV2 plugin
4. click [add] (preset) button and enter any name for the preset (i.e. "test")
5. change any plugin settings
6. click [save] (preset) button

Changed value back to its previous state, but in the file ~ / .lv2 / Plugin_Name_preset_name.lv2 / preset_name.ttl correct value recorded.
After re-opening of the session and selecting preset (for this plugin) - values are correct.
Additional InformationMy example:

After creating a new session, I added Calf Saturator plugin.
Now I click button [add] (preset), and type a name: "test" and then I click [Add].

File ~/.vst /Calf_Saturator_test.lv2/test.ttl includes:

  [...]
  lv2:symbol "drive" ;
  pset:value 5.0
  [...]

Now I just set the knob: "Saturation" to "10" and I click button: [Save] (preset).
Immediately knob: "Saturation" is set in the same position "5".
But file ~/.vst /Calf_Saturator_test.lv2/test.ttl includes:

  [...]
  lv2:symbol "drive" ;
  pset:value 10.0
  [...]

Now I close the session and open again.
Knob "Saturation" is set to "5".
I choose the preset "test" and that the knob is set to "10".

Please confirm this.
TagsNo tags attached.

Activities

emem

2015-04-20 20:30

reporter   ~0016622

After upgrade from liblilv-0.so.0.21.1 to liblilv-0.so.0.21.3 (from git), Ardour crashes (when I click "Save" on existing preset):


lilv_plugin_get_name(): warning: Plugin <http://calf.sourceforge.net/plugins/Saturator> has no (mandatory) doap:name

(ardour-4.0.5:13082): glibmm-ERROR **:
unhandled exception (type std::exception) in signal handler:
what: basic_string::_S_construct null not valid

Trace/breakpoint trap



And directory: ~/.vst/Calf_Saturator_test.lv2/ disappears.

x42

2015-05-22 20:26

administrator   ~0016712

~/.vst/ ?? did you mean ~/.lv2/? and lilv/svn (not git)?

Anyway, the original issues (LV2 state) is fixed with lilv svn rev5617 and ardour 4.0-325-ge44e0b2

(ardour needs a re-compile after updating liblilv, which may or may not explain the 2nd issue reported in comment 16622)

emem

2015-05-23 17:12

reporter   ~0016718

Last edited: 2015-05-23 17:17

Yes, of course - my mistakes. It should be ~/.lv2/ and lilv from svn

So... Problem still exists.
liblilv 21.3 from svn (5684)
Ardour from git (commit e44e0b2c9a00035608c10b02696e53cc8d0e535e)

After create first preset (t1):
~/.lv2$ ls -l Calf_Saturator_t1.lv2/
total 8
-rw-r--r-- 1 mm mm 484 May 23 18:53 manifest.ttl
-rw-r--r-- 1 mm mm 1147 May 23 18:53 t1.ttl


After change and save this preset - Ardour crash:
Color trim knob: arc start not found
Color trim knob: arc end not found
CALF DEBUG: instance 0xa53a3f50 data 0xa539c048
CALF DEBUG: calf 0xa449e7c8 cpi 0xa3b219b0
Send configures...
Segmentation fault


and the directory looks like this:
~/.lv2$ ls -l Calf_Saturator_t1.lv2/
total 4
-rw-r--r-- 1 mm mm 484 May 23 18:53 manifest.ttl


In addition: Any LV2 Plugin not see any properly stored presets in ~/.lv2/
I go back for a moment to version 20.0 lilv and see what happens.

emem

2015-05-23 17:40

reporter   ~0016719

But...

liblilv 21.3 from svn (5684)
Ardour_32bit-4.0.325 from Nightly Builds

Everything works perfectly!

I'm sorry for panic in an earlier commentary.
The problem I think is resolved.
Thank you very much.

system

2020-04-19 20:17

developer   ~0023439

Issue has been closed automatically, by Trigger Close Plugin.
Feel free to re-open with additional information if you think the issue is not resolved.

Issue History

Date Modified Username Field Change
2015-04-18 21:47 emem New Issue
2015-04-20 20:30 emem Note Added: 0016622
2015-04-21 02:20 x42 Status new => confirmed
2015-05-22 20:26 x42 Note Added: 0016712
2015-05-22 20:26 x42 Status confirmed => resolved
2015-05-22 20:26 x42 Resolution open => fixed
2015-05-22 20:26 x42 Assigned To => x42
2015-05-23 17:12 emem Note Added: 0016718
2015-05-23 17:17 emem Note Edited: 0016718
2015-05-23 17:40 emem Note Added: 0016719
2020-04-19 20:17 system Note Added: 0023439
2020-04-19 20:17 system Status resolved => closed