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 653425 - Random Crashes
Random Crashes
Status: RESOLVED DUPLICATE of bug 663267
Product: banshee
Classification: Other
Component: general
2.0.0
Other Linux
: Normal normal
: ---
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-26 10:45 UTC by umpirsky
Modified: 2011-11-04 17:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Error log (5.50 KB, text/plain)
2011-09-01 09:24 UTC, Colin Morris
Details

Description umpirsky 2011-06-26 10:45:31 UTC
I often get crashes on Ubunty Natty. here is the typical scenario:

[Info  12:34:03.107] Running Banshee 2.0.0: [Ubuntu Natty (development branch) (linux-gnu, i686) @ 2011-04-18 16:21:33 UTC]
[Info  12:34:05.040] Updating web proxy from GConf
[Info  12:34:05.124] All services are started 1.701233
** (Banshee:3743): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object

(Banshee:3743): libsoup-WARNING **: No feature manager for feature of type 'U1RequestChrome'

** (Banshee:3743): WARNING **: Error calling get_info: Traceback (most recent call last):
  • File "/usr/lib/pymodules/python2.7/dbus/service.py", line 702 in _message_cb
    retval = candidate_method(self, *args, **keywords)
  • File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 992 in get_info
    return self.syncdaemon_folders.get_info(path)
  • File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 634 in get_info
    mdobj = self.fs.get_by_path(path.encode('utf-8'))
  • File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 773 in get_by_path
    mdid = self._idx_path[path]
KeyError: '/home/umpirsky/.ubuntuone/Purchased from Ubuntu One'


** (Banshee:3743): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed

** (Banshee:3743): WARNING **: Error rescanning Purchased Music: No such file or directory
** (Banshee:3743): DEBUG: Loading the real store page
[Info  12:34:09.758] nereid Client Started
[Info  12:34:09.907] GStreamer version 0.10.32.0, gapless: True, replaygain: False
[Info  12:34:10.272] AppleDeviceSource is ignoring unmounted volume Backup
[Info  12:34:10.458] AppleDeviceSource is ignoring unmounted volume 32 GB Filesystem
[Warn  12:34:52.169] Caught an exception - System.Net.WebException: The remote server returned an error: (404) Not Found. (in `System')
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 
[Warn  12:35:11.022] Caught an exception - System.Net.WebException: The remote server returned an error: (404) Not Found. (in `System')
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Hyena.Data.Sqlite.HyenaSqliteCommand.SqlifyObject (System.Object o) [0x00000] in <filename unknown>:0 
  at Hyena.Data.Sqlite.HyenaSqliteCommand.ApplyValues (System.Object[] param_values) [0x00000] in <filename unknown>:0 
  at Hyena.Data.Sqlite.HyenaSqliteConnection.ProcessQueue () [0x00000] in <filename unknown>:0
Comment 1 Jan Bloemen 2011-08-03 22:15:48 UTC
Same exception to me. Banshee crashes approx. every 30-60 minutes. Very annoying.

uname -a
Linux Mephisto 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 2011 i686 i686 i386 GNU/Linux

Distro:
Linux Mint 

Version:
Banshee 2.0 (2.0.0)
Comment 2 Colin Morris 2011-09-01 09:24:39 UTC
Created attachment 195370 [details]
Error log
Comment 3 Colin Morris 2011-09-01 09:44:49 UTC
Exact same symptoms and almost exact same series of error messages here. I think in my case it seems to be related, directly or indirectly, to last.fm scrobbling.

uname -a
Linux Enid 2.6.38-11-generic-pae #48-Ubuntu SMP Fri Jul 29 20:51:21 UTC 2011 i686 i686 i386 GNU/Linux

Distro:
Ubuntu 11.04

Version:
Banshee 2.0

Attaching error log in case it's of any use. It's above this comment because the "upload file" utility didn't work as I expected it to. Oops.
Comment 4 Andrés G. Aragoneses (IRC: knocte) 2011-09-01 10:25:02 UTC
The managed exception seems to be an AudioScrobbling failure, however it is reported as a Warning, so it doesn't seem to be the culprit of this bug.

So I guess the problem is this:

** (Banshee:5745): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object

(Banshee:5745): libsoup-WARNING **: No feature manager for feature of type 'U1RequestChrome'

** (Banshee:5745): WARNING **: Error calling get_info: Traceback (most recent call last):
  • File "/usr/lib/pymodules/python2.7/dbus/service.py", line 702 in _message_cb
    retval = candidate_method(self, *args, **keywords)
  • File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/platform/linux/dbus_interface.py", line 992 in get_info
    return self.syncdaemon_folders.get_info(path)
  • File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/interaction_interfaces.py", line 634 in get_info
    mdobj = self.fs.get_by_path(path.encode('utf-8'))
  • File "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 773 in get_by_path
    mdid = self._idx_path[path]
KeyError: '/home/colin/.ubuntuone/Purchased from Ubuntu One'


** (Banshee:5745): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed

** (Banshee:5745): WARNING **: Error rescanning Purchased Music: No such file or directory
** (Banshee:5745): DEBUG: Loading the real store page

** (Banshee:5745): WARNING **: Got less number of items in credentials hash table than expected!


Which seems like a bug in the UbuntuOne addin. Can you disable it to check if that fixes your problem?

If it indeed fixes the problem, we would need to close this as NOTGNOME and you'd be better reporting this in Launchpad
Comment 5 Colin Morris 2011-09-07 22:41:59 UTC
I've disabled UbuntuOne by going to Preferences -> Extensions -> Online Sources and unchecking "Ubuntu One Music Store". I'm still getting crashes after having done that. 

The exception that kills it is the same as before, but if it helps, I can post another error log the next time it happens. (I accidentally just overwrote my most recent one by reopening Banshee after the crash to verify that Ubuntu One had been disabled - oops).
Comment 6 Jan Bloemen 2011-09-07 23:53:57 UTC
Hmm, UbuntuOne or similar does not appear anywhere in location Colin described. I have now unchecked every extension except for the multimedia hot keys. Maybe that gives a hint whether the problem might be extension-related.
Comment 7 Jan Bloemen 2011-09-08 23:43:59 UTC
With everything unchecked but Multimedia hot keys it still crashes. This is the recent stacktrace. I don't how to interpret the exception saying Collection was modified. Whatever, it must be an internal issue, since I haven't made any changes to the filesystem, my music collection or elsewhere, wasn't even using the computer.  


[Info  23:22:39.694] GStreamer version 0.10.32.0, gapless: True, replaygain: True
[Warn  00:29:22.613] Caught an exception - System.Net.WebException: The remote server returned an error: (404) Not Found. (in `System')
  at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00000] in <filename unknown>:0 

Unhandled Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List`1/Enumerator<Banshee.Collection.Database.IFilterListModel>.VerifyState () <0x000d1>
at System.Collections.Generic.List`1/Enumerator<Banshee.Collection.Database.IFilterListModel>.MoveNext () <0x00026>
at Banshee.Collection.Database.DatabaseTrackListModel.Reload (Hyena.Data.IListModel) <0x002fd>
at Banshee.Collection.Database.DatabaseTrackListModel.Reload () <0x00012>
at Banshee.Sources.DatabaseSource.RateLimitedReload () <0x00036>
at Banshee.Base.RateLimiter.InnerExecute () <0x0004e>
at Banshee.Base.RateLimiter.Execute () <0x00060>
at Banshee.Sources.DatabaseSource.Reload () <0x00027>
at Banshee.SmartPlaylist.SmartPlaylistSource.Reload () <0x0005a>
at Banshee.SmartPlaylist.SmartPlaylistSource.RefreshAndReload () <0x00027>
at Banshee.SmartPlaylist.SmartPlaylistSource.HandleTracksChanged (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x000ee>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00046>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075>
at (wrapper delegate-invoke) Banshee.Sources.PrimarySource/TrackEventHandler.invoke_void__this___Source_TrackEventArgs (Banshee.Sources.Source,Banshee.Sources.TrackEventArgs) <0x00075>
at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey21.<>m__18 () <0x000ab>
at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) <0x0002f>
at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) <0x00058>
at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) <0x0001c>
at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) <0x0029f>
at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () <0x0006f>
at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x0001b>
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <0x00054>
Comment 8 Andrés G. Aragoneses (IRC: knocte) 2011-10-03 14:40:48 UTC
(In reply to comment #7)
> With everything unchecked but Multimedia hot keys it still crashes. This is the
> recent stacktrace. I don't how to interpret the exception saying Collection was
> modified. Whatever, it must be an internal issue, since I haven't made any
> changes to the filesystem, my music collection or elsewhere, wasn't even using
> the computer.  

Thanks for providing additional information.

Can you tell us if this problem is 100% reproducible, or if it only happens sometimes?

Can you also tell us the version of Mono you have installed?

Thanks
Comment 9 Jan Bloemen 2011-10-07 13:08:50 UTC
Hi, 

problem is not reproducable, Banshee crashed randomly. 

$dpkg -s mono-runtime

Status: install ok installed
Priority: optional
Section: cli-mono
Installed-Size: 3540
Architecture: i386
Source: mono
Version: 2.6.7-5ubuntu3

Greets
Jan
Comment 10 Andrés G. Aragoneses (IRC: knocte) 2011-10-07 16:32:00 UTC
Can you paste what the command "mono --version" outputs?

(It's better than what the package provides as version info)

Thanks
Comment 11 Jan Bloemen 2011-10-07 17:22:07 UTC
sry, here you are!

$mono --version
Mono JIT compiler version 2.6.7 (Debian 2.6.7-5ubuntu3)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	GC:            Included Boehm (with typed GC and Parallel Mark)
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
Comment 12 Andrés G. Aragoneses (IRC: knocte) 2011-11-04 17:50:47 UTC
Even though this bug is older, I'm going to mark it as a duplicate of a newer bug because the new one has less noise and is actually reproduced by a newer version of Mono.

*** This bug has been marked as a duplicate of bug 663267 ***