banshee plugin crashes on launch

Bug #352537 reported by Brian Lucas
8
Affects Status Importance Assigned to Milestone
Banshee
Fix Released
Critical
Do Plugins
Invalid
Undecided
Unassigned
banshee (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Running latest bzr pull of do and do-plugins as well as latest svn update of banshee. After moving the collectionindexer dll file to the proper directory and selecting the banshee plugin do crashed. when i restarted with --debug it crashed again with the following output:

[Debug 12:47:56.356] [UniverseManager] Reloading item source "Banshee Media"...
[Info 12:47:56.376] [UniverseManager] Universe contains 435 items.
[Debug 12:47:56.393] Acquiring org.freedesktop.DBus session instance
[Debug 12:47:56.396] [RelevanceProvider] Successfully loaded learned usage data.
[Debug 12:47:56.617] Starting org.bansheeproject.CollectionIndexer
[Debug 12:47:57.247] NameOwnerChanged: org.bansheeproject.CollectionIndexer, '' => ':1.228'
[Debug 12:47:57.248] Resolving org.bansheeproject.CollectionIndexer.Service (attempt 1)
[Debug 12:47:57.544] NameOwnerChanged: org.bansheeproject.CollectionIndexer, ':1.228' => ''
[Debug 12:47:59.564] Resolving org.bansheeproject.CollectionIndexer.Service (attempt 2)
[Debug 12:48:00.073] NameOwnerChanged: org.bansheeproject.CollectionIndexer, '' => ':1.229'
[Debug 12:48:02.080] Resolving org.bansheeproject.CollectionIndexer.Service (attempt 3)
[Debug 12:48:02.563] [MicroblogClient] Found 25 contacts
[Debug 12:48:02.642] NameOwnerChanged: org.bansheeproject.CollectionIndexer, ':1.229' => ''
[Debug 12:48:02.642] NameOwnerChanged: org.bansheeproject.CollectionIndexer, '' => ':1.230'
[Debug 12:48:04.642] Resolving org.bansheeproject.CollectionIndexer.Service (attempt 4)
[Debug 12:48:05.118] NameOwnerChanged: org.bansheeproject.CollectionIndexer, ':1.230' => ''
[Debug 12:48:05.118] NameOwnerChanged: org.bansheeproject.CollectionIndexer, '' => ':1.231'
[Debug 12:48:07.119] Connected to org.bansheeproject.CollectionIndexer.Service

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at Banshee.Collection.Indexer.RemoteHelper.IndexerClient.ConnectToIndexerService () [0x00000]
  at Banshee.Collection.Indexer.RemoteHelper.IndexerClient.OnBusNameOwnerChanged (System.String name, System.String oldOwner, System.String newOwner) [0x00000]
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
  --- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000ff>
at System.Reflection.MethodBase.Invoke (object,object[]) <0x0001a>
at System.Delegate.DynamicInvokeImpl (object[]) <0x00170>
at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0002a>
at System.Delegate.DynamicInvoke (object[]) <0x0000e>
at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message) <0x00102>
at NDesk.DBus.Connection.DispatchSignals () <0x0003c>
at NDesk.DBus.Connection.Iterate () <0x0002c>
at <>c__CompilerGenerated0.<>c__AnonymousMethod1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00027>
at (wrapper native-to-managed) <>c__CompilerGenerated0.<>c__AnonymousMethod1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00049>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Do.Do.Main (string[]) <0x001d3>

Related branches

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

This looks like a bug I filed against Banshee the other week:

http://bugzilla.gnome.org/show_bug.cgi?id=576033

This only happened when Banshee was not open.

Revision history for this message
Andrew Conkling (andrewski) wrote :

Does this only happen in the development versions of Banshee and Do? Or does it happen in 1.4.3 also?

Changed in banshee:
status: New → Incomplete
Revision history for this message
Andrew Conkling (andrewski) wrote :

Marking invalid in Do Plugins as per Alex Launi: http://groups.google.com/group/gnome-do/msg/8643fe99adcd3f15

Changed in do-plugins:
status: New → Invalid
Changed in banshee:
status: Unknown → New
Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

I've only been able to get the initial crash without Banshee open to happen with the development version of Banshee. I just tried 1.4.3 and it does not crash. I've been running Do 0.8.1.

Revision history for this message
Brian Lucas (bcl1713) wrote :

I contend that this should still be a bug in do-plugins as the plugin should handle the exception and fail to load gracefully without crashing do.

Revision history for this message
Alex Launi (alexlauni) wrote : Re: [Do-plugins] [Bug 352537] Re: banshee plugin crashes on launch

well then it would be a bug in do-core as it's mono.addins that is really
crashing. So your assertion is failed!

--
--Alex Launi

Changed in banshee:
status: New → Fix Released
Revision history for this message
Neil Munro (neilmunro-deactivatedaccount) wrote :

This bug has apparently now been fixed upstream, marking fix committed. I think it's been fixed in the version control system but I don't know if it's in a package yet.

Thanks for taking the time to report this bug and helping to make Ubuntu better.

Changed in banshee (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (7.4 KiB)

This bug was fixed in the package banshee - 1.5.1~git2260a87-0ubuntu1

---------------
banshee (1.5.1~git2260a87-0ubuntu1) karmic; urgency=low

  [ Chow Loong Jin ]
  * debian/control, debian/changelog:
    + Use mono-csc instead of csc for MCS.
    + Bump mono-devel version to 2.4.2 for mono-csc

  [ Iain Lane ]
  * Upload upstream snapshot from revision 2260a87. FFe granted on IRC by
    ScottK and sistpoty. Uploading a snapshot as 1.5.1 is almost released,
    which has a lot of improvements over 1.5.0. We have preliminary SRU
    approval to update to 1.5.1 final if it is released after Karmic, subject
    to the usual criteria:

    New Features:

    - Play Queue Auto DJ keeps the tunes coming
    - Shuffle by album and artist
    - Shuffle by weighted rating and score mode
    - Add tooltips for ellipsized ListView text
    - Keep the playing song visible in the track list
    - Add support for WebOS devices
    - Add support for the Samsung Galaxy Android Phone

    Enhancements:

    - When user picks new sort column, default to sort ascending
    - Drop the " Library" suffix on the Music and Video sources
    - Add thin highlight to ListView selection for 3D effect
    - Keyboard shortcut (ESC) to clear the search box
    - Expose LAME's "preset" option
    - Added a --gconf-base-key for running sandboxed
    - Trim URL pasted from clipboard to podcast dialog
    - Allow selection of multiple folders on import
    - Support playlists on Android G1 devices
    - Better support for devices running Rockbox
    - Set video sync folder for Android and WebOS devices
    - Made the error message label selectable
    - Save and load the Gtk.AccelMap
    - Added taglib/oga mimetype to the vorbis audio profile
    - Auto-completion for composer, conductor, grouping and copyright
    - Added the 'comment' search filter
    - Selectable song properties
    - Show a tooltip in track editor when the property is truncated

    Notable bug fixes:

    - Fix blank MimeTypes for tracks ripped before 1.4
    - Fix a Bit Rate column sizing glitch
    - Fix browser positioning when Banshee is maximised
    - Fix compilation metadata reading and writing
    - Work with new notification-daemon
    - Avoid needlessly syncing iPods twice
    - Deterministically sort sources to avoid fluttering
    - Look for Rhythmbox db at both new and old paths
    - Fix bug with scrobbling after skipping a track
    - Fix crash in equalizer
    - Fix an exception on startup when DBus is disabled
    - Fix off-by-one-day date querying bug
    - Fix a UI/spacing glitch in the Smart Playlist Editor
    - Don't hide the track info popup while it has focus
    - Prevent endless "Searching for CD metadata..."
    - Fix Last.fm now-playing for non-decimal track lengths
    - Dispose the SqliteCommand after it's executed
    - Fix notification area popup positioning on multi-monitor systems
    - Fix the playing indicator when song in list more than once
    - Fix crash when opening the profile conf dialog
    - Fix crash stopping jobs on shutdown
    - Fix notification area popup flashing
    - Trim filename dots and spaces to be NTFS compliant
    - Stop playing from audio CD ...

Read more...

Changed in banshee (Ubuntu):
status: Fix Committed → Fix Released
Changed in banshee:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.