GNOME Bugzilla – Bug 590478
Crash due to database file locked
Last modified: 2009-08-02 14:03:08 UTC
I upgraded from banshee stable version 1.4.3 to the one available in the launchpad unstable ppa. Trying to run banshee I got an error message regarding a database problem.
Created attachment 139701 [details] the log that contains the error message
(In reply to comment #0) > I upgraded from banshee stable version 1.4.3 to the one available in the > launchpad unstable ppa. Trying to run banshee I got an error message regarding > a database problem. > Sorry for the typos in the bug title, I meant database instead of databe. I searched to modify it but it does not seem possible.
Looks like a dupe of bug 356983. A few questions: 1. Do you have other instances of banshee running? You can check with: $ ps aux | grep banshee 2. Is anything else locking your database file? You can check with: $ lsof -- ~/.config/banshee-1/banshee.db 3. Could you attach the full log file by running: $ banshee-1 --debug > log.txt
(In reply to comment #3) 1- I don't have other copies of banshee 2- It is only banshee is using the file eid@aboSamoor:/tmp/bug report 3$ lsof -- ~/.config/banshee-1/banshee.db COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME banshee-1 16373 eid 9ur REG 8,6 3928064 459061 /home/eid/.config/banshee-1/banshee.db 3- I attached the log file
Created attachment 139718 [details] The log of the debug process
It seems that one of the database migration queries fails, then tries to rollback, which in turn fails with the "The database file is locked" error. Would you be OK with me having a look at your database file ? It would help in diagnosing the problem. You can send me the ~/.config/banshee-1/banshee.db directly by e-mail, or put it somewhere and send me the link. See my bugzilla login for my e-mail address.
Apparently it's a mono bug, I filed it at BNO: https://bugzilla.novell.com/show_bug.cgi?id=527414 In the meantime I committed a work-around. Ramy, please check your email.
Created attachment 139733 [details] debug log with banshee compiled version
I compiled banshee and it ran smoothly. I tried to generate a log to be sure that everything ok. banshee-1 with --debug is giving database error, it was hard to reproduce. Anyway, I attached one of the corrects runs log.