GNOME Bugzilla – Bug 441927
visualization screen crashing rb (Program received signal SIGPIPE, Broken pipe)
Last modified: 2007-06-02 02:15:57 UTC
Steps to reproduce: Forwarded from https://bugs.launchpad.net/ubuntu/+source/rhythmbox/+bug/117259 " Binary package hint: rhythmbox Version: 0.10.90-0ubuntu1 Rhythmbox crashes when visualization screen (window mode) is closed. Steps to reproduce: *Play a song and toggle the visualization view active *Hide the visualization view and enable it again (for some reason it appears in windowed mode this time, separate bug maybe?) *Close windowed visualization screen using "Close window - control" (X marks the spot) " Stack trace: Program received signal SIGPIPE, Broken pipe.
+ Trace 136524
Other information: Original bugreport contains the full backtrace as well.
Here's the full backtrace:
+ Trace 136525
Thread 38 (Thread -1393108080 (LWP 1807))
Thread 37 (Thread -1384715376 (LWP 1806))
Thread 36 (Thread -1376322672 (LWP 1805))
Thread 35 (Thread -1351144560 (LWP 1804))
Thread 33 (Thread -1359537264 (LWP 1802))
Thread 32 (Thread -1367929968 (LWP 1801))
Maybe related to http://bugzilla.gnome.org/show_bug.cgi?id=427452. I'm using crossfading backend too. Other info: Ubuntu Feisty X Window System Version 7.2.0 GStreamer 0.10.12
That it appears in a separate window when re-enabled is actually the bug here. The window is created by the GStreamer sink element, and we have no way of handling events on it, so when the window is closed, xlib kills the process. The visualisation plugin's tee mode (which is used when the crossfading backend is in use) doesn't currently make any attempt at handling the sink's prepare-xwindow-id message. The plugin needs to be notified by the player backend when the tee is added or removed from the playback pipeline (bug 425580) before we can fix this.
Created attachment 89139 [details] [review] patch This requires the patch from bug 425580 to do anything useful
Created attachment 89170 [details] [review] better patch it's probably a good idea to only connect to the tee signals once..
Committed to svn trunk.