← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1877806] Re: [SRU] ardour crashes when saving lv2 plugin preset - bug discovered in lilv

 

As one who was affected by this bug, I have verified that the fix does
indeed work. I have followed the steps in [Test Case] outlined above and
was unable to reproduce the issue using the fixed package.

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to ardour in Ubuntu.
Matching subscriptions: ubuntustudio-bugs: ardour
https://bugs.launchpad.net/bugs/1877806

Title:
  [SRU] ardour crashes when saving lv2 plugin preset - bug discovered in
  lilv

Status in ardour package in Ubuntu:
  Invalid
Status in lilv package in Ubuntu:
  Fix Released
Status in ardour source package in Focal:
  Invalid
Status in lilv source package in Focal:
  Fix Committed
Status in lilv source package in Groovy:
  Fix Released

Bug description:
  [Impact]

   * Users of Ardour who wish to use LV2 audio plugins and make settings
     presets are running into an issue where they are unable to save changes
     to their presets. Attempts simply crash the application.

   * This has been only been observed in Ubuntu 20.04 LTS. Attempts to
     reproduce the behavior on 18.04, 19.10, and Groovy Gorilla proved
     fruitless.

   * Upon investigation, the bug was a regression in lilv 0.24.6 which was
     corrected in 0.24.8 per https://github.com/lv2/lilv/issues/32 and its
     attached commit. This commit, and commits from the same day, have been
     cherry-picked into patches for this upload. This upload is versioned as
     0.24.6-1ubuntu0.1.

  [Test Case]

   * In Ardour, start a new project, go to the Mixer view.

   * Add a track to the project

   * Add any LV2 plugin to the track

   * Open the LV2 plugin interface via a double-click on the plugin

   * Save a "New" preset, use any name.

   * Make a change to the plugin state (any parameter), click "Save".
     Ardour will crash.

  [Regression Potential]

   * This library (lilv) affects LV2 plugins and only LV2 plugins. Version
     0.24.8 contains a number of bugfixes to enhance the stability of LV2
     plugins, including the bugfix mentioned. Many of those bugfixes were
     cherry-picked into patches.

   * Even though these patches contain a number of bug fixes, there is always
     potential for some regression in LV2 plugins to occur, such as
     misbehavior or other regressions similar to this particular bug.

  [Other Info]

   * The diff in this case may be quite large due to the number of bugs
     fixed.

   * None of the included patches contain new features as far as I can
  tell.

  Original bug report follows:

  The few lv2 plugins I have tried all crash ardour when I click on
  "save" to save the preset. Clicking Add to create a new plugin doesn't
  crash, but it also does not save the preset.  If you load a plugin
  preset already created and then click save, you end up wiping out the
  contents of the preset direcoty in ~/.lv2.  The .ttl files are deleted
  and you end up with an empty directoy.  The only thing printed on the
  console when this happens is this:

  CALF DEBUG: instance 0x55c00d102860 data 0x55c01ca1cf10
  CALF DEBUG: calf 0x7f8d31f7b0f0 cpi 0x7f8d31783ca0
  Segmentation fault (core dumped)

  AFAIK, teh preset add and save functions work for ladspa plugins.

  -Don

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ardour 1:5.12.0-3ubuntu4
  ProcVersionSignature: Ubuntu 5.4.0-29.33-lowlatency 5.4.30
  Uname: Linux 5.4.0-29-lowlatency x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: XFCE
  Date: Sat May  9 21:39:09 2020
  InstallationDate: Installed on 2020-04-26 (13 days ago)
  InstallationMedia: Ubuntu-Studio 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: ardour
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ardour/+bug/1877806/+subscriptions


References