After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 552820 - crash switching from Radio to NowPlaying-screen
crash switching from Radio to NowPlaying-screen
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: 1.4
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-18 18:59 UTC by matthias koplenig
Modified: 2008-09-18 19:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description matthias koplenig 2008-09-18 18:59:53 UTC
banshee crashes while playing a radio-stream and switching to the Now Playing scrren.

steps to reproduce:
[*] stream-url: http://67.43.161.248:6005/
[*] stream-name: The EDGE ROCKS!!

[*] stream-url: http://dsl.tb-stream.net:80
[*] stream-name: technobase.fm

[1] add stream
[2] play stream
[3] switch to Now Playing.
[4a] always crashes on 2nd stream[ no data to display ?]
[4b] crashes on 1st stream, as long as there is no artist/track information.[ eg. 10s after starting the stream ]

possibly this exception should be caught more gracefully? just guessing here. ;)



traceback:

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentOutOfRangeException: < 0
Parameter name: length
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00088] in /home/ise/svn/mono/trunk/src/mono-1.9.1/mcs/class/corlib/System/String.cs:363 
  at Banshee.Gui.Widgets.LargeTrackInfoDisplay.RenderTrackInfo (Cairo.Context cr, Banshee.Collection.TrackInfo track, Boolean renderTrack, Boolean renderArtistAlbum) [0x00045] in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/LargeTrackInfoDisplay.cs:173 
  at Banshee.Gui.Widgets.TrackInfoDisplay.RenderStage (Cairo.Context cr, Banshee.Collection.TrackInfo track, Gdk.Pixbuf pixbuf) [0x00008] in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs:275 
  at Banshee.Gui.Widgets.TrackInfoDisplay.RenderAnimation (Cairo.Context cr) [0x00010] in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs:224 
  at Banshee.Gui.Widgets.TrackInfoDisplay.OnExposeEvent (Gdk.EventExpose evnt) [0x000b5] in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TrackInfoDisplay.cs:201 
  at Gtk.Widget.exposeevent_cb (IntPtr widget, IntPtr evnt) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Widget.exposeevent_cb(IntPtr , IntPtr )
   at Gtk.Container.gtk_container_propagate_expose(IntPtr , IntPtr , IntPtr )
   at Gtk.Container.gtk_container_propagate_expose(IntPtr , IntPtr , IntPtr )
   at Gtk.Container.PropagateExpose(Gtk.Widget child, Gdk.EventExpose evnt)
   at Hyena.Widgets.RoundedFrame.OnExposeEvent(Gdk.EventExpose evnt) in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/RoundedFrame.cs:line 160
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Widget.exposeevent_cb(IntPtr , IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run() in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 144
   at Banshee.Gui.GtkBaseClient.Startup() in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 77
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:line 54
   at Banshee.Gui.GtkBaseClient.Startup() in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 72
   at Banshee.Gui.GtkBaseClient.Startup(System.String[] args) in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 62
   at Nereid.Client.Main(System.String[] args) in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Clients/Nereid/Nereid/Client.cs:line 48
   at System.AppDomain.ExecuteAssembly(System.Reflection.Assembly , System.String[] )
   at System.AppDomain.ExecuteAssembly(System.Reflection.Assembly , System.String[] )
   at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args) in /home/ise/svn/mono/trunk/src/mono-1.9.1/mcs/class/corlib/System/AppDomain.cs:line 527
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args) in /home/ise/svn/mono/trunk/src/mono-1.9.1/mcs/class/corlib/System/AppDomain.cs:line 510
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile) in /home/ise/svn/mono/trunk/src/mono-1.9.1/mcs/class/corlib/System/AppDomain.cs:line 499
   at Booter.Booter.BootClient(System.String clientName) in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Clients/Booter/Booter/Entry.cs:line 106
   at Booter.Booter.Main() in /home/mak/Desktop/abs_srcs/banshee/_svn/src/banshee/src/Clients/Booter/Booter/Entry.cs:line 100
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Cairo.Context: called from finalization thread, programmer is missing a call to Dispose
Comment 1 Gabriel Burt 2008-09-18 19:12:09 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.