GNOME Bugzilla – Bug 587318
Unhandled Exception (broken pipe) while playing audio CDs with Music Applet enabled
Last modified: 2020-03-17 08:26:36 UTC
Steps to reproduce: 1. Insert an audio cd; 2. Try to execute one track; 3. An error pop up appears, the cd plays correctly until you press "Close" that causes the crash of Banshee. Stack trace: An unhandled exception was thrown: Broken pipe [EPIPE]. at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () <0x00013> at Mono.Unix.UnixStream.Write (byte[],int,int) <0x000b2> at NDesk.DBus.Connection.WriteMessage (NDesk.DBus.Message) <0x0009e> at NDesk.DBus.Connection.Send (NDesk.DBus.Message) <0x00043> at NDesk.DBus.BusObject.SendSignal (string,string,string,NDesk.DBus.MessageWriter,System.Type,System.Exception&) <0x000c6> at (wrapper dynamic-method) NDesk.DBus.MessageWriter.HandleEventChanged (NDesk.DBus.BusObject,string,string,double) <0x000ec> at Banshee.MediaEngine.PlayerEngineService.OnEngineEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x00275> at Banshee.MediaEngine.PlayerEngine.RaiseEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x00016> at Banshee.MediaEngine.PlayerEngine.OnEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x0004e> at Banshee.MediaEngine.PlayerEngine.OnEventChanged (Banshee.MediaEngine.PlayerEvent) <0x00036> at Banshee.GStreamer.PlayerEngine.set_Volume (uint16) <0x000eb> at Banshee.MediaEngine.PlayerEngineService.HandleStateChange (Banshee.MediaEngine.PlayerEventStateChangeArgs) <0x000c1> at Banshee.MediaEngine.PlayerEngineService.RaiseEvent (Banshee.MediaEngine.PlayerEventArgs) <0x00097> at Banshee.MediaEngine.PlayerEngineService.OnEngineEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x000ac> at Banshee.MediaEngine.PlayerEngine.RaiseEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x00016> at Banshee.MediaEngine.PlayerEngine.OnEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x0004e> at Banshee.MediaEngine.PlayerEngine.OnStateChanged (Banshee.MediaEngine.PlayerState) <0x000e2> at Banshee.GStreamer.PlayerEngine.OnStateChange (intptr,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState) <0x00023> at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnStateChange (intptr,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState) <0x0004a> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004> at Gtk.Application.Run () <0x00007> at Banshee.Gui.GtkBaseClient.Run () <0x00035> at Banshee.Gui.GtkBaseClient.Startup () <0x00031> at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x000a2> .NET Version: 2.0.50727.42 OS Version: Unix 2.6.28.13 Assembly Version Information: avahi-sharp (1.0.0.0) Mono.Zeroconf.Providers.Avahi (2.0.0.76) Mono.Zeroconf (2.0.0.76) Mtp (1.5.0.0) Banshee.Dap.Mtp (1.5.0.0) Banshee.Dap.MassStorage (1.5.0.0) taglib-sharp (2.0.3.2) Banshee.FileSystemQueue (1.5.0.0) Banshee.InternetRadio (1.5.0.0) Banshee.PlayQueue (1.5.0.0) System.Configuration (2.0.0.0) MusicBrainz (1.5.0.0) Banshee.AudioCd (1.5.0.0) Banshee.CoverArt (1.5.0.0) Banshee.Bookmarks (1.5.0.0) notify-sharp (0.4.0.0) Banshee.NotificationArea (1.5.0.0) Banshee.Daap (1.5.0.0) Banshee.Dap (1.5.0.0) Migo (1.5.0.0) Banshee.Podcasting (1.5.0.0) Banshee.MultimediaKeys (1.5.0.0) Banshee.Bpm (1.5.0.0) pango-sharp (2.12.0.0) Banshee.Widgets (1.5.0.0) Banshee.Hal (1.5.0.0) Banshee.Unix (1.5.0.0) Banshee.GStreamer (1.5.0.0) gconf-sharp (2.24.0.0) Banshee.Gnome (1.5.0.0) Banshee.NowPlaying (1.5.0.0) Mono.Media (1.5.0.0) System.Core (3.5.0.0) System.Transactions (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) Mono.Cairo (2.0.0.0) System.Data (2.0.0.0) Mono.Data.Sqlite (1.5.0.0) System.Xml (2.0.0.0) gdk-sharp (2.12.0.0) Mono.Addins (0.4.0.0) atk-sharp (2.12.0.0) Hyena.Gui (1.5.0.0) gtk-sharp (2.12.0.0) Banshee.ThickClient (1.5.0.0) Nereid (1.5.0.0) NDesk.DBus.Proxies (0.0.0.0) Mono.Posix (2.0.0.0) Banshee.Core (1.5.0.0) System (2.0.0.0) Hyena (1.5.0.0) NDesk.DBus (1.0.0.0) glib-sharp (2.12.0.0) Banshee.Services (1.5.0.0) Banshee (1.5.0.0) mscorlib (2.0.0.0) Platform Information: Linux 2.6.28-13-generic i686 unknown GNU/Linux Disribution Information: [/etc/lsb-release] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.04 DISTRIB_CODENAME=jaunty DISTRIB_DESCRIPTION="Ubuntu 9.04" [/etc/debian_version] 5.0 Other information: This bug affects older versions too on my pc.
A downstream bug on Launchpad[1] seems to be the same issue (Broken Pipe, crash during Audio CD playback). Admittedly this doesn't mean much to my untrained eye, but I thought I'd at least point it out, as the similarities may be useful to someone. [1] https://bugs.launchpad.net/banshee/+bug/371102
Are you by any chance using the Music Applet for gnome-panel? In the Launchpad bug, it seemed that people could reproduce this while using music-applet.
Yeah, it only happens when I have Music Applet on gnome-panel. So is this a Music Applet related bug? Sorry, if I'm late.
Thanks for the update. I'm not sure if this kind of problem is Music Applet's responsibility to fix, or if it's Banshee's. If it's up to Music Applet, it probably won't happen; development of Music Applet has stopped in favor of Panflute. You may want to try Panflute to see if the issue still happens. Either way, it seems like Banshee could handle this exception better.
Just tried Panflute (lat version from author's ppa), the above issue still persists.
This is a DBUS bug on Banshee's side. It also occurs if you have the Pidgin MusicTracker plugin enabled in Pidgin. Every time a track title change is sent to Pidgin from Banshee, the described error occurs. Disable the Pidgin plugin and the problem goes away. As per the previous comment, the problem occurs with multiple plugins that interface with Banshee via DBUS. The problem therefore lies in Banshee.
I faced this bug today with Banshee from the daily ppa (last upgrade 2010-03-22 22:06 +1 GMT) with the Cairo Dock plugin Music Player.
I can confirm this bug, exactly the same happens to me, I'm running Banshee 1.8.0 in Ubuntu 10.04.1 LTS x86_64 and Panflute applet 0.7.0. But I want to add a clue. For me this only occurs when I play a CD without having played anything before. For example I'm listening to my music collection or a file system generated playing list, then I insert an audio CD and Gnome recognizes it and so does Banshee player. Then I click on the Banshee left panel and I can listen it without problems (it will fetch its metadata from internet too), I can control it (play, pause, etc) from the Panflute panel bar also, everything normal. If you need more test cases or more information just let me know. I let here the Banshee log that this bug produces for me: exec -a banshee-1 mono /usr/lib/banshee-1/Banshee.exe --redirect-log --device-activate-play=/home/juanmvcalvellido/.gvfs/CDDA montado en sr0 [Info 14:15:48.132] Running Banshee 1.8.0: [Ubuntu 10.04.1 LTS (linux-gnu, x86_64) @ 2010-09-30 23:40:51 UTC] [Info 14:15:49.208] Updating web proxy from GConf [Info 14:15:49.417] Querying MusicBrainz for Disc Release (fVNUO6f2uPrZiowWxcUu7Uywh88-) [Info 14:15:49.424] Received device command: action = Activate, Play, device = /home/juanmvcalvellido/.gvfs/CDDA montado en sr0 [Info 14:15:49.428] All services are started 1,13446 [Info 14:15:50.873] nereid Client Started [Info 14:15:51.243] AppleDeviceSource is ignoring unmounted volume Sistema de archivos de 63 GB [Warn 14:15:51.246] Caught an exception - System.InvalidOperationException: Operation is not valid due to the current state of the object (in `Banshee.Dap.AppleDevice') at Banshee.Dap.AppleDevice.AppleDeviceSource.DeviceInitialize (IDevice device) [0x00000] at Banshee.Dap.DapService.FindDeviceSource (IDevice device) [0x00000] [Warn 14:15:53.226] Forcefully breaking out of RCS loop b/c change in total_width less than 1.0 Tubería rota [EPIPE]. Mono.Unix.UnixIOException: Tubería rota [EPIPE]. at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () <0x00013> at Mono.Unix.UnixStream.Write (byte[],int,int) <0x000b3> at NDesk.DBus.Connection.WriteMessage (NDesk.DBus.Message) <0x00099> at NDesk.DBus.Connection.Send (NDesk.DBus.Message) <0x0003b> at NDesk.DBus.ExportObject.HandleMethodCall (NDesk.DBus.MethodCall) <0x00437> at NDesk.DBus.Connection.HandleMethodCall (NDesk.DBus.MethodCall) <0x00437> at NDesk.DBus.Connection.HandleMessage (NDesk.DBus.Message) <0x0015f> at NDesk.DBus.Connection.Iterate () <0x0002b> at NDesk.DBus.BusG/<Init>c__AnonStorey0.<>m__0 (intptr,NDesk.GLib.IOCondition,intptr) <0x0003b> at (wrapper native-to-managed) NDesk.DBus.BusG/<Init>c__AnonStorey0.<>m__0 (intptr,NDesk.GLib.IOCondition,intptr) <0x00077> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00052> at Gtk.Application.Run () <0x0000b> at Banshee.Gui.GtkBaseClient.Run () <0x0005b> at Banshee.Gui.GtkBaseClient.Startup () <0x00049> at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x0008e> Unhandled Exception: Mono.Unix.UnixIOException: Tubería rota [EPIPE]. at Mono.Unix.UnixMarshal.ThrowExceptionForLastError () <0x00013> at Mono.Unix.UnixStream.Write (byte[],int,int) <0x000b3> at NDesk.DBus.Connection.WriteMessage (NDesk.DBus.Message) <0x00099> at NDesk.DBus.Connection.Send (NDesk.DBus.Message) <0x0003b> at NDesk.DBus.BusObject.SendSignal (string,string,string,NDesk.DBus.MessageWriter,System.Type,System.Exception&) <0x000f3> at (wrapper dynamic-method) NDesk.DBus.MessageWriter.HandleStateChanged (NDesk.DBus.BusObject,string) <0x000cc> at Banshee.MediaEngine.PlayerEngineService.HandleStateChange (Banshee.MediaEngine.PlayerEventStateChangeArgs) <0x0011d> at Banshee.MediaEngine.PlayerEngineService.RaiseEvent (Banshee.MediaEngine.PlayerEventArgs) <0x000bf> at Banshee.MediaEngine.PlayerEngineService.OnEngineEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x000df> at Banshee.MediaEngine.PlayerEngine.RaiseEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x00027> at Banshee.MediaEngine.PlayerEngine.OnEventChanged (Banshee.MediaEngine.PlayerEventArgs) <0x000db> at Banshee.MediaEngine.PlayerEngine.OnStateChanged (Banshee.MediaEngine.PlayerState) <0x00148> at Banshee.GStreamer.PlayerEngine.OnStateChange (intptr,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState) <0x0008d> at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnStateChange (intptr,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState,Banshee.GStreamer.GstState) <0x0007e> at (wrapper managed-to-native) Gtk.Dialog.gtk_dialog_run (intptr) <0x00056> at Gtk.Dialog.Run () <0x00017> at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x000ff> at Banshee.Gui.GtkBaseClient.Startup<Nereid.Client> () <0x0005b> at Banshee.Gui.GtkBaseClient.Startup<Nereid.Client> (string[]) <0x000e3> at Nereid.Client.Main (string[]) <0x00017> at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.Reflection.Assembly,string[]) <0x0004b> at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x00037> at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00037> at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00087> at System.AppDomain.ExecuteAssembly (string) <0x0001f> at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string) <0x00067> at Booter.Booter.BootClient (string) <0x0006b> at Booter.Booter.Main () <0x001b7>
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.