Loading lv2 can segfault on some systems, breaking all gstreamer apps

Bug #513347 reported by Niall Creech
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gst-plugins-bad0.10 (Debian)
Fix Released
Medium
gst-plugins-bad0.10 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Some people report the lv2 plugin segfaulting and breaking gstreamer, this a possible fix attached

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

possible svn fix, either this or disable the plugin until fixed

Changed in gst-plugins-bad0.10 (Ubuntu):
assignee: nobody → SevenMachines (sevenmachines)
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

possible debdiff if confirmed fixed

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :
Revision history for this message
zika (4zika4) wrote :

It seems that a version
[code]~$ sudo aptitude show gstreamer0.10-plugins-bad
Package: gstreamer0.10-plugins-bad
State: installed
Automatically installed: no
Version: 0.10.17-3ubuntu2~sevenmachines1
Priority: extra
Section: libs
Maintainer: Ubuntu Developers <email address hidden>
Uncompressed Size: 4,641k
Depends: libasound2 (> 1.0.22), libass4 (>= 0.9.7), libbz2-1.0, libc6 (>= 2.7),
         libcairo2 (>= 1.2.4), libcdaudio1 (>= 0.99.12p2), libcelt0 (>= 0.7.0),
         libdc1394-22, libdca0, libdirac-encoder0, libdirectfb-1.2-0,
         libdvdnav4, libdvdread4, libexempi3 (>= 2.1.0), libexif12, libfaad2,
         libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.16.0), libgme0 (>= 0.5.5),
         libgsm1 (>= 1.0.13), libgstreamer-plugins-base0.10-0 (>= 0.10.25),
         libgstreamer0.10-0 (>= 0.10.25), libiptcdata0, libjack0 (>=
         0.118+svn3796), libjasper1 (>= 1.900.1), libkate1 (>= 0.3.0),
         libmimic0, libmms0 (>= 0.3-4), libmodplug0c2 (>= 1:0.7-4.1),
         libmpcdec3, libmusicbrainz4c2a (>= 2.1.5), libofa0 (>= 0.9.3),
         liboil0.3 (>= 0.3.8), liborc-0.4-0 (>= 0.4.3), libpng12-0 (>=
         1.2.13-4), librsvg2-2 (>= 2.26.0), libschroedinger-1.0-0 (>= 1.0.7),
         libslv2-9 (>= 0.6.4-1~), libsndfile1 (>= 1.0.20), libsoundtouch1c2 (>=
         1.3.1), libssl0.9.8 (>= 0.9.8k-1), libstdc++6 (>= 4.1.1), libwildmidi0,
         libx11-6, libxml2 (>= 2.6.27), gstreamer0.10-plugins-base
Conflicts: gstreamer0.10-fluendo-mpegdemux, gstreamer0.10-fluendo-mpegmux,
           gstreamer0.10-plugins-farsight, gstreamer0.10-plugins-good (<
           0.10.15.2), gstreamer0.10-plugins-ugly (< 0.10.11.2),
           gstreamer0.10-schroedinger
Replaces: gstreamer0.10-fluendo-mpegdemux, gstreamer0.10-fluendo-mpegmux,
          gstreamer0.10-plugins-bad-multiverse (< 0.10.5-2),
          gstreamer0.10-plugins-farsight, gstreamer0.10-plugins-really-bad (<
          0.10.14), gstreamer0.10-schroedinger
Provides: gstreamer0.10-audiosink, gstreamer0.10-audiosource,
          gstreamer0.10-fluendo-mpegdemux, gstreamer0.10-fluendo-mpegmux,
          gstreamer0.10-plugins-farsight, gstreamer0.10-schroedinger,
          gstreamer0.10-videosink, gstreamer0.10-videosource
Description: GStreamer plugins from the "bad" set
 GStreamer is a streaming media framework, based on graphs of filters which
 operate on media data. Applications using this library can do anything from
 real-time sound processing to playing videos, and just about anything else
 media-related. Its plugin-based architecture means that new data types or
 processing capabilities can be added simply by installing new plug-ins.

 GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to
 the rest. They might be close to being good quality, but they're missing
 something - be it a good code review, some documentation, a set of tests, a
 real live maintainer, or some actual wide use.[/code]
works! Great support! Thank You SevenMachines!

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

final debdiff

gst-plugins-bad0.10 (0.10.17-3ubuntu2) lucid; urgency=low

  * debian/patches/20_get_valid_gobject_names.patch:
    - create valid gobject property names in lv2 modules to prevent
    segfaults on lv2 plugin on some setups. From bugzilla #602528.
    Fixed in gstreamer svn. (LP: #513347)

Revision history for this message
zika (4zika4) wrote :

It seems that I was happy too soon. Namely, it seems that I've been caught in the middle of two uploads. I installed one version directly from "the screen" and it did not work. After that I've added ppa and upgraded. But, as it seems, that was the version with option disabled. So, that is why I shouted Hooray!. To premature... So, the problem persists after a second upgrade, that brought option back. Sorry.

Revision history for this message
zika (4zika4) wrote :
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

It seems that debian were right to have the lv2 plugin disabled after all. it's unreliable at the moment, it was disabled in 0.10.14-4. Since it can segfault, and this brings down gstreamer on startup, it has a critical impact on the system so its safer to disable it until its stable

gst-plugins-bad0.10 (0.10.17-3ubuntu2) lucid; urgency=low

  * debian/gstreamer-plugins-bad.install:
    - Disable the lv2 plugin as debian have done until it more stable,
    it can crash gstreamer on startup on some setups just now (LP: #513350)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gst-plugins-bad0.10 - 0.10.17-3ubuntu2

---------------
gst-plugins-bad0.10 (0.10.17-3ubuntu2) lucid; urgency=low

  * Revert enabling of libgstlv2 -- drop lv2core, libslv2-dev from
    debian/build-deps.in and remove libgstlv2 from
    debian/gstreamer-plugins-bad.install. This segfaults on amd64. This
    plugin is too unstable for now. The bug requesting this was LP:#511334.
    LP: #513347.
 -- Loic Minier <email address hidden> Thu, 28 Jan 2010 23:17:51 +0100

Changed in gst-plugins-bad0.10 (Ubuntu):
status: New → Fix Released
Changed in gst-plugins-bad0.10 (Debian):
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.