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 615396 - Crash in Podcasting, related to a11y, ListView
Crash in Podcasting, related to a11y, ListView
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Podcasting
git master
Other Linux
: Normal major
: 1.6
Assigned To: Banshee Maintainers
Banshee Maintainers
: 615675 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-04-10 20:48 UTC by Gabriel Burt
Modified: 2010-04-25 20:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gabriel Burt 2010-04-10 20:48:05 UTC
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.InvalidCastException: Cannot cast from source type to destination type.
  at Banshee.Collection.Gui.ColumnCellAlbum+ColumnCellAlbumAccessible..ctor (System.Object bound_object, Banshee.Collection.Gui.ColumnCellAlbum cell, ICellAccessibleParent parent) [0x00000] in <filename unknown>:0
  at Banshee.Collection.Gui.ColumnCellAlbum.GetAccessible (ICellAccessibleParent parent) [0x00000] in <filename unknown>:0
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].OnRefChild (Int32 index) [0x00000] in <filename unknown>:0
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].RefAt (Int32 row, Int32 column) [0x00000] in <filename unknown>:0
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].get_ActiveCell () [0x00000] in <filename unknown>:0
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].OnSelectionFocusChanged (System.Object o, System.EventArgs a) [0x00000] in <filename unknown>:0
  at Hyena.Collections.Selection.set_FocusedIndex (Int32 value) [0x00000] in <filename unknown>:0
  at Hyena.Data.Gui.ListView`1[T].FocusModelRow (Int32 index) [0x00000] in <filename unknown>:0
  at Hyena.Data.Gui.ListView`1[T].OnListButtonPressEvent (Gdk.EventButton evnt) [0x00000] in <filename unknown>:0
  at Hyena.Data.Gui.ListView`1[T].OnButtonPressEvent (Gdk.EventButton evnt) [0x00000] in <filename unknown>:0
  at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.buttonpressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run()
   at Banshee.Gui.GtkBaseClient.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at Banshee.Gui.GtkBaseClient.Startup()
   at Banshee.Gui.GtkBaseClient.Startup(System.String[] args)
   at Nereid.Client.Main(System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.Reflection.Assembly , System.String[] )
   at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile)
   at Booter.Booter.BootClient(System.String clientName)
   at Booter.Booter.Main()
Comment 1 Gabriel Burt 2010-04-10 20:49:45 UTC
Seems to happen every time:

1) switch to Podcasts
2) change new/old/all to All
3) click on the first podcast in the podcast/feed browser
Comment 2 Gabriel Burt 2010-04-10 20:51:06 UTC
Note that I don't even have a11y turned on
Comment 3 Niklas Schnelle 2010-04-12 07:52:29 UTC
Here is my stack trace for this bug, done with MonoDevelop and Debug mode so it has a little bit more file information in it. if I can find some time this evening I'll have a look into it.

System.InvalidCastException: Cannot cast from source type to destination type.
  at Banshee.Collection.Gui.ColumnCellAlbum+ColumnCellAlbumAccessible..ctor (System.Object bound_object, Banshee.Collection.Gui.ColumnCellAlbum cell, ICellAccessibleParent parent) [0x00009] in /home/niklas/builds/banshee-git/src/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs:63 
  at Banshee.Collection.Gui.ColumnCellAlbum.GetAccessible (ICellAccessibleParent parent) [0x00000] in /home/niklas/builds/banshee-git/src/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ColumnCellAlbum.cs:72 
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].OnRefChild (Int32 index) [0x000c3] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible.cs:110 
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].RefAt (Int32 row, Int32 column) [0x00012] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible_Table.cs:161 
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].get_ActiveCell () [0x00022] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible.cs:145 
  at Hyena.Data.Gui.Accessibility.ListViewAccessible`1[Migo.Syndication.Feed].OnSelectionFocusChanged (System.Object o, System.EventArgs a) [0x00000] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/Accessibility/ListViewAccessible.cs:137 
  at Hyena.Collections.Selection.set_FocusedIndex (Int32 value) [0x00014] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena/Hyena.Collections/Selection.cs:70 
  at Hyena.Data.Gui.ListView`1[Migo.Syndication.Feed].FocusModelRow (Int32 index) [0x00000] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:896 
  at Hyena.Data.Gui.ListView`1[Migo.Syndication.Feed].OnListButtonPressEvent (Gdk.EventButton evnt) [0x00191] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:618 
  at Hyena.Data.Gui.ListView`1[Migo.Syndication.Feed].OnButtonPressEvent (Gdk.EventButton evnt) [0x0006f] in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Data.Gui/ListView/ListView_Interaction.cs:515 
  at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.buttonpressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run() in /home/niklas/builds/banshee-git/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 182
   at Banshee.Gui.GtkBaseClient.Startup() in /home/niklas/builds/banshee-git/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 77
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) in /home/niklas/builds/banshee-git/src/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:line 54
   at Banshee.Gui.GtkBaseClient.Startup() in /home/niklas/builds/banshee-git/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 72
   at Banshee.Gui.GtkBaseClient.Startup(System.String[] args) in /home/niklas/builds/banshee-git/src/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 62
   at Nereid.Client.Main(System.String[] args) in /home/niklas/builds/banshee-git/src/banshee/src/Clients/Nereid/Nereid/Client.cs:line 54
Comment 4 Gabriel Burt 2010-04-13 18:59:41 UTC
*** Bug 615675 has been marked as a duplicate of this bug. ***
Comment 5 Sandy Armstrong 2010-04-16 21:54:29 UTC
FWIW, I cannot reproduce this crash with the patch from bug #615892 applied (without that patch applied I can't even start Banshee to test it, though).
Comment 6 Gabriel Burt 2010-04-25 20:31:23 UTC
Fixed:

commit cd037571b253f2e2335c3cd9ba715d87beaf12c0
Author: Gabriel Burt <gabriel.burt@gmail.com>
Date:   Sun Apr 25 13:29:15 2010

    [ColumnCellAlbum] Fix invalid cast crash
    
    Right clicking on a podcast would invoke the ColumnCellAlbumAccessible
    ctor for some reason, which would crash (bgo#615396)