gnome-settings-daemon fails with libgstlibvisual.so error

Bug #287448 reported by Niall Creech
186
This bug affects 14 people
Affects Status Importance Assigned to Milestone
libvisual-plugins (Ubuntu)
Fix Released
Critical
Loïc Minier
Intrepid
Fix Released
Critical
Loïc Minier

Bug Description

gnome-settings-daemon and gst-launch/gstreamer apps crashes since libvisual-0.4-plugins 0.4.0.dfsg.1-2ubuntu1.

Workaround: sudo rm -f /usr/lib/libvisual-0.4/actor/actor_nastyfft.so

Fixed package 0.4.0.dfsg.1-2ubuntu4 available soon in intrepid or now from https://launchpad.net/~lool/+archive.

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

Confirmed and a libvisual-0.4-plugins removal solves this seg fault.

Changed in libvisual-plugins:
status: New → Confirmed
Revision history for this message
scottuss (scottuss) wrote :

Confirmed, removing libvisual-0.4-plugins restores correct theme settings and allows gnome-settings-daemon to load

Revision history for this message
tankdriver (stoneraider-deactivatedaccount) wrote :

Confirmed as well. (8.10 beta amd64)

Revision history for this message
Marco (0m3g4) wrote :

removing /usr/lib/gstreamer-0.10/libgstlibvisual.so fix problem.

Revision history for this message
raggar (mbaart) wrote :

Confirmed as well. (8.10 beta), removing /usr/lib/gstreamer-0.10/libgstlibvisual.so fixed problem.

Revision history for this message
Chris Jones (cmsj) wrote :

This is a regression since libvisual-0.4-plugins_0.4.0.dfsg.1-2_i386.deb

Changed in libvisual-plugins:
importance: Undecided → High
Changed in libvisual-plugins:
milestone: none → ubuntu-8.10
Revision history for this message
bazookatooth (destroydieattack) wrote :

confirmed... removed libvisual-0.4-plugins & all is well. wish i could remember why it was installed in the first place, as no one i know had it on their system.

Revision history for this message
James Westby (james-w) wrote :

Hi,

This is pretty odd. The problem seems to be with the nastyfft plugin.
It seems to be corrupting the info object at initialisation time.

The -2 version still works, but recompiling it under Intrepid breaks it
again.

Thanks,

James

Revision history for this message
Martin Pitt (pitti) wrote :

I built 0.4.0.dfsg.1-2 on current intrepid and get the crash, too, so it's not a regression in the recently changed source bits, but due to building to newer libraries.

Revision history for this message
Martin Pitt (pitti) wrote :

BTW, it's quicker to debug this with calling "gst-inspect-0.10" instead of gnome-session-daemon.

Revision history for this message
Martin Pitt (pitti) wrote :

I verified that building with --disable-nastyfft works around the crash, so that would be an acceptable solution for intrepid release.

I'm going to debug the actual crash now.

Revision history for this message
Daniel DeGroff (djdalias-misc) wrote :

I have encountered this bug as well, and verified removing libvisual plugins fixed.
I'm running Ubuntu 8.10 on x86 32bit. (Thinkpad T61).

gnome-settings-daemon worked fine until the last reboot due to a slew of updates for Ubuntu 8.10.
I had restarted this morning due to those fixes, and then had this problem.
Sounds like there is a good handle on the problem.

Revision history for this message
Loïc Minier (lool) wrote :

Hey there, pushed the fix in libvisual-plugins 0.4.0.dfsg.1-2ubuntu4 in intrepid (pending review) and my ppa (still being built). https://launchpad.net/~lool/+archive

Changed in libvisual-plugins:
assignee: nobody → lool
importance: High → Critical
status: Confirmed → Fix Committed
Loïc Minier (lool)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvisual-plugins - 0.4.0.dfsg.1-2ubuntu4

---------------
libvisual-plugins (0.4.0.dfsg.1-2ubuntu4) intrepid; urgency=low

  * New patch, 60_no-const-vispluginfo-in-nastyfft, the static VisPluginInfo
    in nastyfft was declared as const, but libvisual write to its refcount
    when it visual_object_unref()s it (nasty!). This is broken at various
    levels: libvisual shouldn't be writing to this static plugin which is
    allocated by a dlopen()ed plugin, and it should also honor the "const
    VisPluginInfo" API... Anyway, nastyfft was the only occurrence and this
    fixes the crash for now; LP: #287448.

 -- Loic Minier <email address hidden> Wed, 22 Oct 2008 21:15:53 +0200

Changed in libvisual-plugins:
status: Fix Committed → Fix Released
Revision history for this message
David Wilde (dave-wilde) wrote :

This breaks pidgin as well BTW:

$ pidgin

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

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.

Moved libgstlibvisual.so out of the way and pidgin starts up.

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

Loïc's ppa libvisual-0.4-plugins_0.4.0.dfsg.1-2ubuntu4_amd64.deb
fixes this bug for me, cheers

Revision history for this message
plun (plun) wrote :

Echo > "Nema problema" also on 32 bit, ppa version

Thanks ! ;)

Revision history for this message
Jonathan Lumb (jonolumb) wrote :

I was having a similar bug in Songbird and simply did sudo apt-get remove libvisual-0.4-plugins and everything was fine again!

Revision history for this message
mr_step (step-step) wrote :

Issue is occurring on Ubuntu 10.4 (as of today, was working fine yesterday)

$ pidgin

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

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.

Moved or removing libgstlibvisual.so out of the way and pidgin starts up.

Revision history for this message
Reuben Firmin (reubenf) wrote :

This started happening after I upgraded to Ubuntu 10.10. Previously, pidgin was working.

pidgin
ERROR: Could not load classifier cascade /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml

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

Please either:
- remove it and restart.
- run with --gst-disable-segtrap and debug.

Revision history for this message
Eemil Lagerspetz (eemil-lagerspetz) wrote :

Removal of /usr/lib/gstreamer-0.10/libgstlibvisual.so worked for me as a workaround. Interestingly this does not happen on my likewise 64-bit Ubuntu 10.10 laptop, likewise with Pidgin 2.7.5, only the desktop. Also, it did not happen for Pidgin 2.7.3 on either machine.

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

Other bug subscribers

Remote bug watches

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