Digikam freezing

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Digikam freezing

David King
I am using Ubuntu Studio 14.04, and when using Digikam it keeps freezing at startup. The progress bar at the bottom of the window gets so far and then stops, and nothing responds in the program. I was using version 3.5 and in that it got as far as 91% and then froze.

So I uninstalled 3.5 and then downloaded and installed 4.0.0 and its dependencies. Now when I start the program it gets as far as 38%, or sometimes to 91%, and then freezes.

I have a lot of photos, and it all worked perfectly okay a few days ago the last time I used it, this has not happened before, nor has anything else changed in regards to the photos themselves. I have kept my Ubuntu Studio up to date with automatic updates.

Any ideas why Digikam is freezing and how to get it working again?

I note that the digikam site says to have exiv2 at 0.11 or later, mine is 0.23.





David K
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam freezing

Gilles Caulier-4
run kdebugdialog, tuen on debug space and run digiKam from a console
to look trace.

It's explained here :

http://www.digikam.org/contrib

Gilles Caulier

2014-06-20 14:13 GMT+02:00 David King <[hidden email]>:

> I am using Ubuntu Studio 14.04, and when using Digikam it keeps freezing at
> startup. The progress bar at the bottom of the window gets so far and then
> stops, and nothing responds in the program. I was using version 3.5 and in
> that it got as far as 91% and then froze.
>
> So I uninstalled 3.5 and then downloaded and installed 4.0.0 and its
> dependencies. Now when I start the program it gets as far as 38%, or
> sometimes to 91%, and then freezes.
>
> I have a lot of photos, and it all worked perfectly okay a few days ago the
> last time I used it, this has not happened before, nor has anything else
> changed in regards to the photos themselves. I have kept my Ubuntu Studio up
> to date with automatic updates.
>
> Any ideas why Digikam is freezing and how to get it working again?
>
> I note that the digikam site says to have exiv2 at 0.11 or later, mine is
> 0.23.
>
>
>
>
>
> David K
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam freezing

David King
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



On 20/06/14 13:22, Gilles Caulier wrote:

> run kdebugdialog, tuen on debug space and run digiKam from a console
> to look trace.
>
> It's explained here :
>
> http://www.digikam.org/contrib
>
> Gilles Caulier
>
> 2014-06-20 14:13 GMT+02:00 David King <[hidden email]>:
>> I am using Ubuntu Studio 14.04, and when using Digikam it keeps freezing at
>> startup. The progress bar at the bottom of the window gets so far and then
>> stops, and nothing responds in the program. I was using version 3.5 and in
>> that it got as far as 91% and then froze.
>>
>> So I uninstalled 3.5 and then downloaded and installed 4.0.0 and its
>> dependencies. Now when I start the program it gets as far as 38%, or
>> sometimes to 91%, and then freezes.
>>
>> I have a lot of photos, and it all worked perfectly okay a few days ago the
>> last time I used it, this has not happened before, nor has anything else
>> changed in regards to the photos themselves. I have kept my Ubuntu Studio up
>> to date with automatic updates.
>>
>> Any ideas why Digikam is freezing and how to get it working again?
>>
>> I note that the digikam site says to have exiv2 at 0.11 or later, mine is
>> 0.23.
>>
>>
>>
>>
>>
>> David K
>>
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam freezing

David King
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
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam freezing

Gilles Caulier-4
In reply to this post by David King
Look these entries from bugzilla :

https://bugs.kde.org/show_bug.cgi?id=329697
https://bugs.kde.org/show_bug.cgi?id=333565

Gilles Caulier

2014-06-20 15:07 GMT+02:00 David King <[hidden email]>:

> 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
>
>
>
>
> On 20/06/14 13:22, Gilles Caulier wrote:
>>
>> run kdebugdialog, tuen on debug space and run digiKam from a console
>> to look trace.
>>
>> It's explained here :
>>
>> http://www.digikam.org/contrib
>>
>> Gilles Caulier
>>
>> 2014-06-20 14:13 GMT+02:00 David King <[hidden email]>:
>>>
>>> I am using Ubuntu Studio 14.04, and when using Digikam it keeps freezing
>>> at
>>> startup. The progress bar at the bottom of the window gets so far and
>>> then
>>> stops, and nothing responds in the program. I was using version 3.5 and
>>> in
>>> that it got as far as 91% and then froze.
>>>
>>> So I uninstalled 3.5 and then downloaded and installed 4.0.0 and its
>>> dependencies. Now when I start the program it gets as far as 38%, or
>>> sometimes to 91%, and then freezes.
>>>
>>> I have a lot of photos, and it all worked perfectly okay a few days ago
>>> the
>>> last time I used it, this has not happened before, nor has anything else
>>> changed in regards to the photos themselves. I have kept my Ubuntu Studio
>>> up
>>> to date with automatic updates.
>>>
>>> Any ideas why Digikam is freezing and how to get it working again?
>>>
>>> I note that the digikam site says to have exiv2 at 0.11 or later, mine is
>>> 0.23.
>>>
>>>
>>>
>>>
>>>
>>> David K
>>>
>>> _______________________________________________
>>> Digikam-users mailing list
>>> [hidden email]
>>> https://mail.kde.org/mailman/listinfo/digikam-users
>>>
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam freezing

David King
In reply to this post by David King

All was well with Digikam after creating the new database, and then
suddenly it crashed completely (not frozen, just disappeared from the
screen) -- I just clicked on a folder on the left and it all went.


David K




On 20/06/14 15:12, David King wrote:

> 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
>
>
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users