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 637333 - Crash on every startup due to NRE at Banshee.Sources.Gui.SourceRowRenderer.CellDataHandler
Crash on every startup due to NRE at Banshee.Sources.Gui.SourceRowRenderer.Ce...
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: User Interface
git master
Other Linux
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 635725 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-12-15 18:03 UTC by David Nielsen
Modified: 2010-12-16 14:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
full --debug log (14.51 KB, text/plain)
2010-12-15 18:03 UTC, David Nielsen
Details

Description David Nielsen 2010-12-15 18:03:41 UTC
Created attachment 176490 [details]
full --debug log

I get the NRE below on every startup on git master (1.9.1):

I suspect one of these two commits caused this:

http://git.gnome.org/browse/banshee/commit/?id=91308025154e6732a0ca2599e4762ec9e1c11909

http://git.gnome.org/browse/banshee/commit/?id=1f8651ceb3744a1db46218eb3894206f26cbf15a


Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
  at Banshee.Sources.Gui.SourceRowRenderer.CellDataHandler (CellLayout layout, Gtk.CellRenderer cell, TreeModel model, TreeIter iter) [0x0000e] in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs:52 
  at (wrapper delegate-invoke) Gtk.CellLayoutDataFunc:invoke_void__this___CellLayout_CellRenderer_TreeModel_TreeIter (Gtk.CellLayout,Gtk.CellRenderer,Gtk.TreeModel,Gtk.TreeIter)
  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.TreeStore.gtk_tree_store_insert(IntPtr , TreeIter ByRef , IntPtr , Int32 )
   at Gtk.TreeStore.InsertNode(Int32 position)
   at Banshee.Sources.Gui.SourceModel.AddSource(Banshee.Sources.Source source, TreeIter parent) in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs:line 215
   at Banshee.Sources.Gui.SourceModel.AddSource(Banshee.Sources.Source source) in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs:line 192
   at Banshee.Sources.Gui.SourceModel.Refresh() in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceModel.cs:line 256
   at Banshee.Sources.Gui.SourceComboBox..ctor() in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceComboBox.cs:line 66
   at Banshee.MeeGo.MediaPanelContents.BuildLibrary() in /home/david/Projekter/banshee/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MediaPanelContents.cs:line 142
   at Banshee.MeeGo.MediaPanelContents..ctor() in /home/david/Projekter/banshee/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MediaPanelContents.cs:line 75
   at Banshee.MeeGo.MeeGoPanel.BuildContents() in /home/david/Projekter/banshee/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoPanel.cs:line 88
   at Banshee.MeeGo.MeeGoService.Initialize() in /home/david/Projekter/banshee/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs:line 107
   at Banshee.MeeGo.MeeGoService.ServiceStartup() in /home/david/Projekter/banshee/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs:line 86
   at Banshee.MeeGo.MeeGoService.Banshee.ServiceStack.IExtensionService.Initialize() in /home/david/Projekter/banshee/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs:line 59
   at Banshee.ServiceStack.ServiceManager.StartExtension(Mono.Addins.TypeExtensionNode node) in /home/david/Projekter/banshee/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:line 210
   at Banshee.ServiceStack.ServiceManager.Run() in /home/david/Projekter/banshee/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:line 144
   at Banshee.ServiceStack.Application.Run() in /home/david/Projekter/banshee/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs:line 108
   at Banshee.Gui.GtkBaseClient.Initialize(Boolean registerCommonServices) in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 180
   at Banshee.Gui.GtkBaseClient..ctor(Boolean initializeDefault, System.String defaultIconName) in /home/david/Projekter/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 95
   at Banshee.Gui.GtkBaseClient..ctor()
   at Nereid.Client..ctor()
   at Banshee.MeeGo.Client.MeeGoClient..ctor()
   at System.Reflection.MonoCMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.MonoCMethod.Invoke(BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
   at System.Reflection.ConstructorInfo.Invoke(System.Object[] parameters)
   at System.Activator.CreateInstance(System.Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(System.Type type)
   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 Banshee.MeeGo.Client.MeeGoClient.Main(System.String[] args) in /home/david/Projekter/banshee/src/Clients/MeeGo/Banshee.MeeGo.Client/MeeGoClient.cs:line 75
   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 100
Comment 1 David Nielsen 2010-12-15 19:41:37 UTC
reverting this one:
http://git.gnome.org/browse/banshee/commit/?id=91308025154e6732a0ca2599e4762ec9e1c11909

Works around the problem.
Comment 2 David Nielsen 2010-12-15 20:07:14 UTC
As requested on IRC. This happens on a build configured with --enable-meego. Both when running banshee-1 --debug --redirect-log and banshee-1 --debug --redirect-log --client=MeeGo

On a build with --disable-meego it likewise fails with the same NRE (with and without --client=MeeGo for good measure).
Comment 3 Gabriel Burt 2010-12-15 21:41:50 UTC
*** Bug 637350 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Kojevnikov 2010-12-16 01:42:07 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.

commit 6254f3a4afac22acc58181a481d8e6c9e321eeda
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date:   Thu Dec 16 09:40:26 2010 +0800

    MeeGo: Fix NRE at start up (bgo#637333)
Comment 5 Alexander Kojevnikov 2010-12-16 14:26:21 UTC
*** Bug 635725 has been marked as a duplicate of this bug. ***