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 636145 - IntPtr ctor issue with Banshee.Sources.Gui.SourceRowRenderer
IntPtr ctor issue with Banshee.Sources.Gui.SourceRowRenderer
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 636146 638298 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-11-30 16:49 UTC by David Nielsen
Modified: 2011-10-21 18:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Banshee debug log (10.38 KB, text/plain)
2011-04-07 09:46 UTC, Serrano Pereira
Details

Description David Nielsen 2010-11-30 16:49:54 UTC
Split from https://bugzilla.gnome.org/show_bug.cgi?id=632246 since the traces aren't the same upon examination.

I caught this on git the other day.

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle
the exception.
GLib.MissingIntPtrCtorException: GLib.Object subclass
Banshee.Sources.Gui.SourceRowRenderer must provide a protected or public IntPtr
ctor to support wrapping of native object handles.
  at GLib.ObjectManager.CreateObject (IntPtr raw) [0x00000] in <filename
unknown>:0 
  at GLib.Object.GetObject (IntPtr o, Boolean owned_ref) [0x00000] in <filename
unknown>:0 
  at GLib.Object.GetObject (IntPtr o) [0x00000] in <filename unknown>:0 
  at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback (IntPtr cell_layout,
IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data) [0x00000] in
<filename unknown>:0 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean
is_terminal)
   at GtkSharp.CellLayoutDataFuncWrapper.NativeCallback(IntPtr cell_layout,
IntPtr cell, IntPtr tree_model, IntPtr iter, IntPtr data)
   at Gtk.Widget.gtksharp_widget_base_expose_event(IntPtr , IntPtr )
   at Gtk.Widget.OnExposeEvent(Gdk.EventExpose evnt)
   at Banshee.Sources.Gui.SourceView.OnExposeEvent(Gdk.EventExpose evnt) in
/home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceView.cs:line
311
   at Gtk.Widget.exposeevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run() in
/home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line
205
   at Banshee.Gui.GtkBaseClient.Startup() in
/home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line
82
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler
startup) in
/home/david/Projekter/banshee/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:line
54
   at Banshee.Gui.GtkBaseClient.Startup() in
/home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line
77
   at Banshee.Gui.GtkBaseClient.Startup(System.String[] args) in
/home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line
67
   at Nereid.Client.Main(System.String[] args) in
/home/david/Projekter/banshee/src/Clients/Nereid/Nereid/Client.cs:line 54
   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) in
/home/david/Projekter/banshee/src/Clients/Booter/Booter/Entry.cs:line 112
   at Booter.Booter.Main() in
/home/david/Projekter/banshee/src/Clients/Booter/Booter/Entry.cs:line 105
Comment 1 David Nielsen 2010-11-30 16:52:13 UTC
*** Bug 636146 has been marked as a duplicate of this bug. ***
Comment 2 Bertrand Lorentz 2010-12-30 10:09:24 UTC
*** Bug 638298 has been marked as a duplicate of this bug. ***
Comment 3 Serrano Pereira 2011-04-07 09:46:43 UTC
Created attachment 185405 [details]
Banshee debug log

Just letting you know that I had the same error after I updated to Banshee 1.9.5 from the daily PPA. It happened when I tried to rescan my database.
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2011-10-21 18:16:19 UTC
This has been fixed in this commit: http://git.gnome.org/browse/banshee/commit/?id=e41efe4d169ac7e3bfdd7c344f7a09ca79494f50

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.