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 525729 - "The database is locked."
"The database is locked."
Status: RESOLVED DUPLICATE of bug 356983
Product: banshee
Classification: Other
Component: general
0.98.2
Other Linux
: Low normal
: 1.0
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on: 520714
Blocks:
 
 
Reported: 2008-04-02 09:46 UTC by Stephane Delcroix
Modified: 2008-04-07 00:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stephane Delcroix 2008-04-02 09:46:14 UTC
got this nice crash...

it's a bit unfair, as I got this crash starting multiple instances of banshee (bug #525725). So this shouldn't happen with proper single-instance detection, but I think this exception is worth being caught, just in case...


An unhandled exception was thrown: The database is locked.

  at Mono.Data.SqliteClient.SqliteCommand.ExecuteStatement (IntPtr pStmt, System.Int32& cols, System.IntPtr& pazValue, System.IntPtr& pazColName) [0x00000] 
  at (wrapper remoting-invoke-with-check) Mono.Data.SqliteClient.SqliteCommand:ExecuteStatement (intptr,int&,intptr&,intptr&)
  at Mono.Data.SqliteClient.SqliteDataReader.ReadpVm (IntPtr pVm, Int32 version, Mono.Data.SqliteClient.SqliteCommand cmd) [0x00000] 
  at Mono.Data.SqliteClient.SqliteDataReader..ctor (Mono.Data.SqliteClient.SqliteCommand cmd, IntPtr pVm, Int32 version) [0x00000] 
  at (wrapper remoting-invoke-with-check) Mono.Data.SqliteClient.SqliteDataReader:.ctor (Mono.Data.SqliteClient.SqliteCommand,intptr,int)
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior, Boolean want_results, System.Int32& rows_affected) [0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (CommandBehavior behavior) [0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteReader () [0x00000] 
  at Mono.Data.SqliteClient.SqliteCommand.ExecuteScalar () [0x00000] 
  at Hyena.Data.Sqlite.HyenaSqliteCommand.Execute (Mono.Data.SqliteClient.SqliteConnection connection) [0x00066] in /usr/src/packages/BUILD/banshee-1-0.98.2/src/Libraries/Hyena/Hyena.Data.Sqlite/HyenaSqliteCommand.cs:100 
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] 
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] 
  at System.Activator.CreateInstance (System.Type type) [0x00000] 
  at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in /usr/src/packages/BUILD/banshee-1-0.98.2/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:55 
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00048] in /usr/src/packages/BUILD/banshee-1-0.98.2/src/Libraries/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54 

.NET Version: 2.0.50727.42
OS Version: Unix 2.6.22.17

Assembly Version Information:

Lastfm (0.98.2.3049)
Banshee.Lastfm (0.98.2.3056)
Banshee.NotificationArea (0.98.2.3057)
Banshee.Bookmarks (0.98.2.3056)
Banshee.MultimediaKeys (0.98.2.3057)
pango-sharp (2.10.0.0)
Mono.Cairo (2.0.0.0)
Banshee.Widgets (0.98.2.3052)
Banshee.GStreamer (0.98.2.3055)
System.Transactions (2.0.0.0)
NDesk.DBus.Proxies (0.0.0.0)
NDesk.DBus.GLib (1.0.0.0)
NDesk.DBus (1.0.0.0)
gconf-sharp (2.16.0.0)
Banshee.Gnome (0.98.2.3054)
System.Xml (2.0.0.0)
System.Data (2.0.0.0)
Mono.Data.SqliteClient (2.0.0.0)
Mono.Posix (2.0.0.0)
Mono.Addins (0.3.0.0)
gdk-sharp (2.10.0.0)
System (2.0.0.0)
atk-sharp (2.10.0.0)
glib-sharp (2.10.0.0)
Hyena.Gui (0.98.2.3048)
gtk-sharp (2.10.0.0)
Hyena (0.98.2.3047)
Banshee.Core (0.98.2.3050)
Banshee.Services (0.98.2.3051)
Banshee.ThickClient (0.98.2.3053)
Nereid (0.98.2.3054)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.22.17-0.1-default x86_64 x86_64 GNU/Linux

Disribution Information:

[/etc/SuSE-release]
openSUSE 10.3 (X86-64)
VERSION = 10.3

[/etc/lsb-release]
LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64"
Comment 1 Andrew Conkling 2008-04-07 00:20:17 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but the maintainers need more information to fix the bug. Could you please answer the questions in the other report in order to help the developers?


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