[Digikam-users] Digikam freezing

David King linuxman at avoura.com
Fri Jun 20 15:12:56 BST 2014


Further to previous comments, I decided to look for the Digikam database 
files, which I found in the Pictures folder which I had set as root for 
Digikam.

I renamed digikam4.db and digikam4.db-journal and then restarted 
Digikam. This time it took a while to get started, but once it did, it 
all seems to be working again (so far) without freezing, having created 
new database files.

Hopefully it will stay okay, but I wonder what caused the database to be 
locked? Maybe from when it was open before and did not shut down cleanly?


David K




On 20/06/14 14:07, David King wrote:
> I ran the gdb digikam, etc.
>
> I got the following error repeated over and over again:
>
> digikam(16883)/digikam (core)
> Digikam::DatabaseCoreBackend::prepareQuery: Prepare failed!
>
>
> I then pressed CTRL C to stop it and got the following as well:
>
> digikam(16883)/digikam (core)
> Digikam::DatabaseCoreBackendPrivate::checkRetrySQLiteLockError: Database
> is locked. Waited 4500
>
>
> The output from bt is:
>
> #0  0x00007ffff10c7fbd in poll () at ../sysdeps/unix/syscall-template.S:81
> #1  0x00007fffea00cfe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #2  0x00007fffea00d0ec in g_main_context_iteration ()
>     from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> #3  0x00007ffff1fe57a1 in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #4  0x00007ffff2a4cbb6 in ?? () from
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> #5  0x00007ffff1fb70af in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #6  0x00007ffff1fb73a5 in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> #7  0x00000000005df729 in ?? ()
> #8  0x00000000005df7d7 in ?? ()
> #9  0x00000000005a41b6 in ?? ()
> #10 0x00000000004945ca in ?? ()
> #11 0x00007ffff0ffbec5 in __libc_start_main (main=0x4936a0, argc=1,
>      argv=0x7fffffffe098, init=<optimised out>, fini=<optimised out>,
>      rtld_fini=<optimised out>, stack_end=0x7fffffffe088) at
> libc-start.c:287
> #12 0x0000000000496f1f in _start ()
>
>
>
> The Digikam splash screen opened, the main window opened and a dialog
> box that says it was scanning my collection but got no further than 0%
> and then it disappeared. The main window is currently not displaying
> anything other than a large grey area on the left and white area on the
> right plus the title bar (no menus, folders, etc.)
>
>
> I am guessing it is something to do with the "Database is locked" error.
>
>
>
> David K
>
>



More information about the Digikam-users mailing list