← 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

 

Hello Don, or anyone else affected,

Accepted lilv into focal-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/lilv/0.24.6-1ubuntu0.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: lilv (Ubuntu Focal)
       Status: Confirmed => Fix Committed

** Tags added: verification-needed verification-needed-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