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 636181 - Banshee crashes after playing a song
Banshee crashes after playing a song
Status: RESOLVED DUPLICATE of bug 621057
Product: banshee
Classification: Other
Component: general
1.8.0
Other Linux
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-12-01 00:46 UTC by Richard
Modified: 2010-12-01 04:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
logfile (8.00 KB, application/octet-stream)
2010-12-01 00:46 UTC, Richard
Details

Description Richard 2010-12-01 00:46:16 UTC
Created attachment 175593 [details]
logfile

After playing a song or more to the point when playing the next song Banshee crashes. When running from the command line I get this error 

Unhandled Exception: Mono.Data.Sqlite.SqliteException: The database disk image is malformed
database disk image is malformed
  at Mono.Data.Sqlite.Sqlite3.Reset (Mono.Data.Sqlite.SqliteStatement stmt) [0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.Sqlite3.Step (Mono.Data.Sqlite.SqliteStatement stmt) [0x00000] in <filename unknown>:0 
  at Mono.Data.Sqlite.SqliteCommand.ExecuteNonQuery () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Mono.Data.Sqlite.SqliteCommand:ExecuteNonQuery ()
  at Hyena.Data.Sqlite.HyenaSqliteCommand.Execute (Hyena.Data.Sqlite.HyenaSqliteConnection hconnection, Mono.Data.Sqlite.SqliteConnection connection) [0x00000] in <filename unknown>:0 

I have made a copy of my banshee-1 directory deleted it and made banshee rebuild the directory and I seem to not have that problem. But I have invested some time rating my song and using the smart playlist from the previous version and I don't wanna do all that again.
Comment 1 Michael Martin-Smucker 2010-12-01 01:25:00 UTC
Thanks for the bug report.  Something went wrong with your database (did your computer crash or lose power unexpectedly?), which is causing Banshee to crash every time it tries to update the database.  Luckily, a few quick commands in terminal will probably have things fixed up in no time... see the bottom of this page: http://banshee.fm/support/faq/

The Sqlite database corruption might be unavoidable, but recovering automatically would be great.  I'm marking this as a duplicate of the more broad bug 621057

*** This bug has been marked as a duplicate of bug 621057 ***
Comment 2 Richard 2010-12-01 04:15:53 UTC
Thank you for a quick response and yes that has corrected the problem