Bug#404876: libgstreamer0.10-0: Possible solution found
Ben Wong
hackerb9 at u.washington.edu
Sat Dec 30 15:32:13 UTC 2006
Package: libgstreamer0.10-0
Version: 0.10.10-2
Followup-For: Bug #404876
EXECUTIVE SUMMARY: Due to a regression, any program that links
libgstreamer segfaults on G3 processors. I've fixed this by
recompiling libgstreamer from source. Everything works again.
DETAILS: Any program linked with libgstreamer-0.10 will crash with a
segmentation fault. This is most noticable when using Gnome which
requires gstreamer for many applications, however for simpler
debugging the problem can be replicated easily at the command line:
$ sudo aptitude install gstreamer0.10-tools
$ gst-inspect-0.10
Segmentation fault
Gdb and strace were not very enlightening so I compiled libgstreamer
from source like so:
$ apt-get source libgstreamer0.10-0
$ sudo aptitude install libgstreamer0.10-dev libglib-dev
$ cd gstreamer0.10-0.10.10/
$ ./configure
$ cd gst
$ make # Go read a book, this will take a while
Using the newly compiled library makes the old executables work fine:
$ LD_PRELOAD=.libs/libgstreamer-0.10.so.0.9.0 gst-inspect-0.10
annodex: cmmldec: CMML stream decoder
annodex: cmmlenc: CMML streams encoder
halelements: halaudiosrc: HAL audio source
[...output truncated...]
staticelements: pipeline: Pipeline object
Total count: 90 plugins, 279 features
Reinstalling libgstreamer into /usr/lib completely fixes this bug. All
applications, including the Gnome Desktop, work as they used to.
$ strip .libs/libgstreamer-0.10.so.0.9.0
$ sudo mv /usr/lib/libgstreamer-0.10.so.0.9.0 /usr/lib/libgstreamer-0.10.so.0.9.0.old
$ sudo cp -a .libs/libgstreamer-0.10.so.0.9.0 /usr/lib
--Ben
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (200, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-powerpc
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages libgstreamer0.10-0 depends on:
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libglib2.0-0 2.12.4-2 The GLib library of C routines
ii libxml2 2.6.27.dfsg-1 GNOME XML library
libgstreamer0.10-0 recommends no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgstreamer-0.10.so.0.9.0
Type: application/x-sharedlib
Size: 733720 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gstreamer-maintainers/attachments/20061230/fb31d5e9/libgstreamer-0.10.so.0.9-0001.bin
More information about the pkg-gstreamer-maintainers
mailing list