View Issue Details

IDProjectCategoryView StatusLast Update
0004525ardourbugspublic2020-04-19 20:15
ReporterEdwardDiehl Assigned Tocth103  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0-beta1 
Target Version3.0-beta2 
Summary0004525: Fail to create session using a template which has a Linuxsampler plugin
DescriptionUsing Ardour3 beta1a-10644

I have checked out linuxsampler svn 2295 (30-Nov-2011) and tried to apply the patch from issue 4462 but failed, which I eventually figured out was because linuxsample seems to already have the patch applied. At any rate built linuxsampler successfully.

Tried several things:

1) Create/reload A3 session with a linuxsampler plugin - OK
2) Create template from session in (1) and make a new session - FAILS.
3) Create session using session in (1) as template - FAILS.

Here are the details:

Created Ardour3 session lstest with 1 midi track with linuxsampler plugin with Rhodes.SF2 file loaded. Saved and closed it.

Restarted Ardour3 got this message:

[INFO]: Loaded mixer bindings from /opt/Ardour-3.0beta1a_10644-dbg/etc/mixer.bindings
[WARNING]: LV2 plugin attempted to retrieve nonexistent key: http://linuxsampler.org/schema#state-file
[WARNING]: LV2 plugin attempted to retrieve nonexistent key: http://linuxsampler.org/schema#state-file

However, session loaded and worked correctly (i.e. linuxsampler was running with Rhodes.SF2 loaded).

Now saved a template of this session. Stopped file. Here is some terminal output for future reference.

Scheduling '/mdkhome/sound/sounds/epiano/jRhodes3.sf2' (Index=0) to be loaded in background (if not loaded yet).
Loading sf2 file '/mdkhome/sound/sounds/epiano/jRhodes3.sf2'...OK
Loading sf2 instrument ('/mdkhome/sound/sounds/epiano/jRhodes3.sf2',0)...OK
Caching initial samples...OK
Create statefile name from ID 125
Saving LV2 plugin state to /mdkhome/sound/recording/ardour3/lstest/plugins/125.rdff
Freeing sf2 file from memory...OK
Stopping disk thread...OK

Above looks ok to me.

Now create a new session lstest1 using lstest-template - get segfault:

Starting disk thread...OK
LV2 state path /mdkhome/sound/recording/ardour3/lstest1/plugins/125.rdff
Loading LV2 state from /mdkhome/sound/recording/ardour3/lstest1/plugins/125.rdff
No such file or directory
Segmentation fault

Actually I can see that the file 125.rdff exists in the original Ardour3 session, but was not copied to the lstest1/plugins directory.


Now create a new session lstest2 using lstest (existing session as template). This did not crash, but only an empty session was created. Also what is strange is that the main Ardour window lacked the panel border (with drag bar, X button etc), but the mixer window was OK. Closed lstest2 and restarted A3 to reopen it. However, A3 seemed to hang at this point (terminal output):

Done LV2 discovery

** CH-EQ2B VST Running in DEMO MODE:-
Audio processing will be bypassed
every 60 Seconds - and the level will
drop by 6dB.


** VC1B VST Running in DEMO MODE:-
Audio processing will be bypassed
every 60 Seconds - and the level will
drop by 6dB.

Also, Ardour3 midi connections are visible in QJackCtl MIDI tab, but not in the Audio tab.

However, killed and restarted A3 and then is succeeded in loaded lstest2.
TagsNo tags attached.

Activities

2011-12-01 19:17

 

lstest.tgz (5,707 bytes)

cth103

2011-12-11 20:39

administrator   ~0012377

This should be fixed in SVN 10982 (for new templates).

system

2020-04-19 20:15

developer   ~0022871

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
2011-12-01 19:17 EdwardDiehl New Issue
2011-12-01 19:17 EdwardDiehl File Added: lstest.tgz
2011-12-01 20:03 cth103 cost => 0.00
2011-12-01 20:03 cth103 Target Version => 3.0-beta2
2011-12-11 20:39 cth103 Note Added: 0012377
2011-12-11 20:39 cth103 Status new => resolved
2011-12-11 20:39 cth103 Resolution open => fixed
2011-12-11 20:39 cth103 Assigned To => cth103
2020-04-19 20:15 system Note Added: 0022871
2020-04-19 20:15 system Status resolved => closed