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 644852 - banshee 1.80 crash under ubuntu 10.10
banshee 1.80 crash under ubuntu 10.10
Status: RESOLVED DUPLICATE of bug 621057
Product: banshee
Classification: Other
Component: general
1.8.0
Other Linux
: Normal normal
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-15 18:48 UTC by Noy Carmel
Modified: 2011-03-21 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
this is the bugs log (5.85 KB, text/plain)
2011-03-21 15:27 UTC, Noy Carmel
Details
log (7.71 KB, text/plain)
2011-03-21 15:38 UTC, Noy Carmel
Details

Description Noy Carmel 2011-03-15 18:48:21 UTC
hello
I have banshee 1.80 fully instaled on my ubuntu 10.10. after a power carsh of my computer, banshee crashws every time I try to load it. this is the error it shows to me:


An unhandled exception was thrown: Object reference not set to an instance of an object

  at Hyena.Data.Sqlite.SqliteModelCache`1[Banshee.Collection.Database.DatabaseArtistInfo].CheckCacheTable () [0x00000] in <filename unknown>:0 
  at Hyena.Data.Sqlite.SqliteModelCache`1[Banshee.Collection.Database.DatabaseArtistInfo]..ctor (Hyena.Data.Sqlite.HyenaSqliteConnection connection, System.String uuid, ICacheableDatabaseModel model, Hyena.Data.Sqlite.SqliteModelProvider`1 provider) [0x00000] in <filename unknown>:0 
  at Banshee.Database.BansheeModelCache`1[Banshee.Collection.Database.DatabaseArtistInfo]..ctor (Hyena.Data.Sqlite.HyenaSqliteConnection connection, System.String uuid, ICacheableDatabaseModel model, Hyena.Data.Sqlite.SqliteModelProvider`1 provider) [0x00000] in <filename unknown>:0 
  at Banshee.Collection.Database.DatabaseFilterListModel`2[T,U]..ctor (System.String name, System.String label, Banshee.Sources.DatabaseSource source, Banshee.Collection.Database.DatabaseTrackListModel trackModel, Hyena.Data.Sqlite.HyenaSqliteConnection connection, Hyena.Data.Sqlite.SqliteModelProvider`1 provider, .U selectAllItem, System.String uuid) [0x00000] in <filename unknown>:0 
  at Banshee.Collection.Database.DatabaseArtistListModel..ctor (Banshee.Sources.DatabaseSource source, Banshee.Collection.Database.DatabaseTrackListModel trackModel, Banshee.Database.BansheeDbConnection connection, System.String uuid) [0x00000] in <filename unknown>:0 
  at Banshee.Sources.DatabaseSource+<CreateFiltersFor>c__Iterator6.MoveNext () [0x00000] in <filename unknown>:0 
  at Banshee.Sources.DatabaseSource.DatabaseSourceInitialize () [0x00000] in <filename unknown>:0 
  at Banshee.Sources.DatabaseSource..ctor (System.String generic_name, System.String name, System.String id, Int32 order, Banshee.Sources.Source parent) [0x00000] in <filename unknown>:0 
  at Banshee.Sources.DatabaseSource..ctor (System.String generic_name, System.String name, System.String id, Int32 order) [0x00000] in <filename unknown>:0 
  at Banshee.Sources.PrimarySource..ctor (System.String generic_name, System.String name, System.String id, Int32 order) [0x00000] in <filename unknown>:0 
  at Banshee.Library.LibrarySource..ctor (System.String label, System.String name, Int32 order) [0x00000] in <filename unknown>:0 
  at Banshee.Library.MusicLibrarySource..ctor () [0x00000] in <filename unknown>:0 
  at Banshee.ServiceStack.Application.Run () [0x00000] in <filename unknown>:0 
  at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00000] in <filename unknown>:0 
  at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00000] in <filename unknown>:0 
  at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0 
  at Nereid.Client..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
Exception has been thrown by the target of an invocation.

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 
  at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in <filename unknown>:0 
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] in <filename unknown>:0 

.NET Version: 2.0.50727.1433
OS Version: Unix 2.6.35.27

Assembly Version Information:

gkeyfile-sharp (1.0.0.0)
Banshee.AudioCd (1.8.0.0)
Banshee.MiniMode (1.8.0.0)
Banshee.CoverArt (1.8.0.0)
notify-sharp (0.4.0.0)
Banshee.NotificationArea (1.8.0.0)
Banshee.AmazonMp3 (1.8.0.0)
Banshee.Daap (1.8.0.0)
Banshee.LastfmStreaming (1.8.0.0)
Lastfm (1.8.0.0)
Migo (1.8.0.0)
Banshee.Podcasting (1.8.0.0)
Banshee.Dap (1.8.0.0)
Banshee.LibraryWatcher (1.8.0.0)
Banshee.MultimediaKeys (1.8.0.0)
Banshee.Bpm (1.8.0.0)
Banshee.YouTube (1.8.0.0)
Banshee.Lastfm (1.8.0.0)
Banshee.WebBrowser (1.8.0.0)
Banshee.Wikipedia (1.8.0.0)
pango-sharp (2.12.0.0)
Banshee.Fixup (1.8.0.0)
Banshee.Widgets (1.8.0.0)
gio-sharp (2.14.0.0)
gudev-sharp (1.0.0.0)
Banshee.Gio (1.8.0.0)
Banshee.GStreamer (1.8.0.0)
Mono.Media (1.8.0.0)
System.Transactions (2.0.0.0)
System.Configuration (2.0.0.0)
NDesk.DBus.GLib (1.0.0.0)
gconf-sharp (2.24.0.0)
Banshee.Gnome (1.8.0.0)
Banshee.NowPlaying (1.8.0.0)
Mono.Cairo (2.0.0.0)
System.Data (2.0.0.0)
Mono.Data.Sqlite (1.8.0.0)
System.Xml (2.0.0.0)
Banshee.Core (1.8.0.0)
Hyena.Data.Sqlite (1.8.0.0)
System.Core (3.5.0.0)
gdk-sharp (2.12.0.0)
Mono.Addins (0.4.0.0)
atk-sharp (2.12.0.0)
Hyena.Gui (1.8.0.0)
gtk-sharp (2.12.0.0)
Banshee.ThickClient (1.8.0.0)
Nereid (1.8.0.0)
NDesk.DBus.Proxies (0.0.0.0)
Mono.Posix (2.0.0.0)
NDesk.DBus (1.0.0.0)
glib-sharp (2.12.0.0)
Hyena (1.8.0.0)
System (2.0.0.0)
Banshee.Services (1.8.0.0)
Banshee (1.8.0.0)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.35-27-generic i686 unknown GNU/Linux

Disribution Information:

[/etc/lsb-release]
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.10
DISTRIB_CODENAME=maverick
DISTRIB_DESCRIPTION="Ubuntu 10.10"

[/etc/debian_version]
squeeze/sid


I'll be glad for help.
thank's
noy
Comment 1 Matt Sturgeon 2011-03-15 19:30:12 UTC
Wow that's a lot of info.

Maybe use attachments in future? (Just put info in text .txt files and attach to the bug)

If a power outage was the cause, then this isn't a bug, it is a corruption of some kind on your system. A bug tracker isn't really the right place for this.

Have you tried completely removing (including configuration files) Banshee in Synaptic Package Manager (and then re-installing)?

Also have you checked the hard drive partition for errors?
Comment 2 Michael Martin-Smucker 2011-03-15 19:53:16 UTC
It looks like there's a lot of Data.Sqlite stuff in the log, so I'd be inclined to think that this is a database corruption issue.  I don't see the 'Database disk image is malformed' error that seems to be common in this type of situation, but you still might have some luck if you try following the directions for database recovery at the bottom of this page: http://banshee.fm/support/faq/

But I agree with Matt that this doesn't really sound like a Banshee bug, exactly, so I'm going to close this.  If trying to recover the database doesn't work, feel free to ask about it on the mailing list or in chat: http://banshee.fm/about/contact/
Comment 3 Andrés G. Aragoneses (IRC: knocte) 2011-03-20 12:54:57 UTC
A NullReferenceException is always a bug, no matter what the root cause was. Banshee should be able to detect the corruption of the DB and show the user the proper information, or at least crash with a less cryptic exception.

Noy, can you try to update your banshee to see if we get a better log?
Comment 4 Noy Carmel 2011-03-20 18:47:42 UTC
I tried for a couple of times, but with no luck
Comment 5 Gabriel Burt 2011-03-21 14:40:44 UTC
Noy, are you saying you can no longer reproduce this bug?  If you can, please attach the full log.
Comment 6 Noy Carmel 2011-03-21 15:27:58 UTC
Created attachment 183946 [details]
this is the bugs log
Comment 7 Gabriel Burt 2011-03-21 15:30:04 UTC
Noy, that is not the full log.  The full log is in ~/.config/banshee-1/log if you ran Banshee from a launcher (eg via the .desktop file) or printed to stdout if you ran banshee-1 on the command line.
Comment 8 Noy Carmel 2011-03-21 15:38:12 UTC
Created attachment 183949 [details]
log
Comment 9 Gabriel Burt 2011-03-21 15:46:01 UTC
There is a workaround for corrupted databases on the FAQ: http://banshee.fm/support/faq/#corrupt-db
Comment 10 Michael Martin-Smucker 2011-03-21 15:46:27 UTC
Ahh, now I'm seeing the 'Database disk image is malformed' error that we were
all expecting. :)  Noy, you should be able to fix this by following the
instructions for database recovery listed on the Banshee FAQ page:
http://banshee.fm/support/faq/

And Andrés is right, Banshee should be detecting this (and recovering from it),
but that is being tracked as Bug 621057, so I'm closing this as a duplicate.

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