gnome-settings-daemon segmentation fault while loading plugin file: /usr/lib/gstreamer-0.10/libgstffmpeg.so

Bug #366232 reported by runout
2
Affects Status Importance Assigned to Milestone
gstreamer0.10-ffmpeg (Ubuntu)
Incomplete
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-settings-daemon

after upgrading intrepid to jaunty i had a problem starting gnome-settings-daemon.
also i had a error message on starting System->Preferences->Appereance.

on starting gnome-settings-daemon in the terminal:
:~$ gnome-settings-daemon --no-daemon --debug
...
ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.10/libgstffmpeg.so

version of gstreamer:
:~$ apt-cache policy gstreamer0.10-plugins-base
gstreamer0.10-plugins-base
  Installed: 0.10.22-5
  Candidate: 0.10.22-5
  Version table:
 *** 0.10.22-5 0
        500 http://at.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

could not start pidgin. maybe some other applications too.

what i did for a workaround:
uninstall gstreamer0.10-ffmpeg (0.10.6.2-1ubuntu2)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you run those commands:
- dpkg -l | grep gstreamer
- dpkg -l | grep libavcodec
- gnome-settings-daemon --debug --no-daemon

and copy the logs to the bug

Changed in gnome-settings-daemon (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
runout (office-runout) wrote :
Download full text (12.3 KiB)

:~$ gnome-settings-daemon --no-daemon --debug

** (gnome-settings-daemon:12121): WARNING **: Failed to acquire org.gnome.SettingsDaemon

** (gnome-settings-daemon:12121): WARNING **: Could not acquire name
** (gnome-settings-daemon:12121): DEBUG: SettingsDaemon finished
marco69@nexi:~$ sudo killall gnome-settings-daemon
[sudo] password for marco69:
marco69@nexi:~$ sudo killall gnome-settings-daemon
gnome-settings-daemon: no process killed
marco69@nexi:~$ gnome-settings-daemon --no-daemon --debug
** (gnome-settings-daemon:12354): DEBUG: Successfully connected to D-Bus
** (gnome-settings-daemon:12354): DEBUG: Starting settings manager
** (gnome-settings-daemon:12354): DEBUG: Loading settings plugins from dir: /usr/lib/gnome-settings-daemon-2.0/
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/media-keys.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='Media keys' file='/usr/lib/gnome-settings-daemon-2.0/media-keys.gnome-settings-plugin' location='media-keys'
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/keybindings.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='Keybindings' file='/usr/lib/gnome-settings-daemon-2.0/keybindings.gnome-settings-plugin' location='keybindings'
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/xsettings.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='X Settings' file='/usr/lib/gnome-settings-daemon-2.0/xsettings.gnome-settings-plugin' location='xsettings'
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/typing-break.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='Typing Break' file='/usr/lib/gnome-settings-daemon-2.0/typing-break.gnome-settings-plugin' location='typing-break'
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/screensaver.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='Screensaver' file='/usr/lib/gnome-settings-daemon-2.0/screensaver.gnome-settings-plugin' location='screensaver'
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/keyboard.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='Keyboard' file='/usr/lib/gnome-settings-daemon-2.0/keyboard.gnome-settings-plugin' location='keyboard'
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/background.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='Background' file='/usr/lib/gnome-settings-daemon-2.0/background.gnome-settings-plugin' location='background'
** (gnome-settings-daemon:12354): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/xrdb.gnome-settings-plugin
** (gnome-settings-daemon:12354): DEBUG: GnomeSettingsPluginInfo: name='X Resource Database' file='/usr/lib/gnome-settings-daemon-2.0/xrdb.gnome-settings-plugin' location='xrdb'
...

Revision history for this message
runout (office-runout) wrote :
Download full text (3.5 KiB)

:~$ dpkg -l | grep gstreamer
ii bluez-gstreamer 4.32-0ubuntu4 Bluetooth gstreamer support
ii gstreamer-tools 0.10.22-1 Tools for use with GStreamer
ii gstreamer0.10-alsa 0.10.22-5 GStreamer plugin for ALSA
ii gstreamer0.10-esd 0.10.14-1 GStreamer plugin for ESD
ii gstreamer0.10-ffmpeg 0.10.6.2-1ubuntu2 FFmpeg plugin for GStreamer
ii gstreamer0.10-gnomevfs 0.10.22-5 GStreamer plugin for GnomeVFS
ii gstreamer0.10-plugins-bad 0.10.11-2ubuntu1 GStreamer plugins from the "bad" set
ii gstreamer0.10-plugins-bad-multiverse 0.10.11-0ubuntu1 GStreamer plugins from the "bad" set (Multiv
ii gstreamer0.10-plugins-base 0.10.22-5 GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-base-apps 0.10.22-5 GStreamer helper programs from the "base" se
ii gstreamer0.10-plugins-base-dbg 0.10.22-5 GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-good 0.10.14-1 GStreamer plugins from the "good" set
ii gstreamer0.10-plugins-good-dbg 0.10.14-1 GStreamer plugins from the "good" set
ii gstreamer0.10-plugins-ugly 0.10.10.2-1build1 GStreamer plugins from the "ugly" set
ii gstreamer0.10-plugins-ugly-dbg 0.10.10.2-1build1 GStreamer plugins from the "ugly" set
ii gstreamer0.10-plugins-ugly-multiverse 0.10.7-2 GStreamer plugins from the "ugly" set (Multi
ii gstreamer0.10-pulseaudio 0.10.14-1 GStreamer plugin for PulseAudio
ii gstreamer0.10-schroedinger 1.0.5-1 GStreamer plugin for encoding/decoding of Di
ii gstreamer0.10-tools 0.10.22-1 Tools for use with GStreamer
ii gstreamer0.10-x 0.10.22-5 GStreamer plugins for X11 and Pango
ii libgstreamer-plugins-base0.10-0 0.10.22-5 GStreamer libraries from the "base" set
ii libgstreamer0.10-0 0.10.22-1 Core GStreamer libraries and elements
ii libgstreamer0.10-0-dbg 0.10.2...

Read more...

Revision history for this message
runout (office-runout) wrote :

:~$ dpkg -l | grep libavcodec
rc libavcodec-unstripped-51 3:0.svn20080206-12ubuntu3+unstripped5 ffmpeg codec library
ii libavcodec-unstripped-52 3:0.svn20090303-1ubuntu2+unstripped1 ffmpeg codec library
ii libavcodec1d 3:0.cvs20070307-5ubuntu7.2 ffmpeg codec library

Revision history for this message
Sebastien Bacher (seb128) wrote :

what is libavcodec1d and where did you get it? does uninstalling it makes a difference?

affects: gnome-settings-daemon (Ubuntu) → gstreamer0.10-ffmpeg (Ubuntu)
Revision history for this message
runout (office-runout) wrote :

libavcodec1d is still installed after removing gstreamer0.10-ffmpeg and it makes no problems.

removing libavcodec1d also removes openmovieeditor

and after removing it there is no difference on starting gnome-settings-daemon. same error.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you get a GST_DEBUG log as indicated on the other bug you used before this one?

Revision history for this message
runout (office-runout) wrote :

GST_DEBUG_NOCOLOR=1 GST_DEBUG=2,ffmpeg:5 gnome-settings-daemon --no-daemon > log 2>&1>log

requested log attached

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you also get a gdb stacktrace?

Revision history for this message
runout (office-runout) wrote :

:~$ sudo GST_REGISTRY_FORK=no valgrind gnome-settings-daemon --no-daemon
==31248== Memcheck, a memory error detector.
==31248== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==31248== Using LibVEX rev 1884, a library for dynamic binary translation.
==31248== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==31248== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework.
==31248== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==31248== For more details, rerun with: -v
==31248==

(gnome-settings-daemon:31248): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(gnome-settings-daemon:31248): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
==31248== Invalid read of size 1
==31248== at 0x10DF4F50: (within /usr/lib/gstreamer-0.10/libgstffmpeg.so)
==31248== by 0x10DDE626: (within /usr/lib/gstreamer-0.10/libgstffmpeg.so)
==31248== by 0x100B5D36: gst_plugin_register_func (gstplugin.c:342)
==31248== by 0x100B71A6: gst_plugin_load_file (gstplugin.c:553)
==31248== by 0x100C065A: gst_registry_scan_path_level (gstregistry.c:919)
==31248== by 0x100C0773: gst_registry_scan_path (gstregistry.c:955)
==31248== by 0x10079A63: scan_and_update_registry (gst.c:733)
==31248== by 0x10079CBE: ensure_current_registry (gst.c:799)
==31248== by 0x1007B735: init_post (gst.c:1120)
==31248== by 0x7B0C01F: g_option_context_parse (goption.c:1803)
==31248== by 0x1007AEBC: gst_init_check (gst.c:434)
==31248== by 0x1007AF76: gst_init (gst.c:481)
==31248== Address 0x782f6f6964756100 is not stack'd, malloc'd or (recently) free'd

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.10/libgstffmpeg.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.
==31248==
==31248== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 239 from 3)
==31248== malloc/free: in use at exit: 2,530,091 bytes in 23,188 blocks.
==31248== malloc/free: 63,103 allocs, 39,915 frees, 6,086,861 bytes allocated.
==31248== For counts of detected errors, rerun with: -v
==31248== searching for pointers to 23,188 not-freed blocks.
==31248== checked 16,597,536 bytes.
==31248==
==31248== LEAK SUMMARY:
==31248== definitely lost: 962 bytes in 19 blocks.
==31248== possibly lost: 224,912 bytes in 210 blocks.
==31248== still reachable: 2,304,217 bytes in 22,959 blocks.
==31248== suppressed: 0 bytes in 0 blocks.
==31248== Rerun with --leak-check=full to see details of leaked memory.

Revision history for this message
runout (office-runout) wrote :

:~$ sudo GST_REGISTRY_FORK=no gdb --args gnome-settings-daemon --no-daemon
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)

hmmm,
not sure what's missing, all available -dbg packages for installed gstreamer packages are installed.
package for gnome-settings-daemon-dev installed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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