[digikam] [Bug 338724] New: Symlink from one collection to another causes high CPU usage, freeze and DB lockup errors

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

[digikam] [Bug 338724] New: Symlink from one collection to another causes high CPU usage, freeze and DB lockup errors

Adrian Dziubek
https://bugs.kde.org/show_bug.cgi?id=338724

            Bug ID: 338724
           Summary: Symlink from one collection to another causes high CPU
                    usage, freeze and DB lockup errors
           Product: digikam
           Version: 4.2.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Database
          Assignee: [hidden email]
          Reporter: [hidden email]

My local collections include:
- a path to separate partition with few hundred GB pictures and
- a path to my desktop folder, where I ocassionaly put some pictures.

Recently I added a symlink on my desktop to quickly get to the folder with data
which is a parent directory of my collection of pictures. When I ran digikam
few days after:
- it took a few minutes to show any pictures,
- switching to other albums freezed the UI for few seconds,
- after switching albums it wasn't showing any thumbnails,
- htop showed two digikam processes eating 100% CPU.
- I killed it and ran it in console and the output showed output showed
multiple lines being logged (about 3 times a second):
checkRetrySQLiteLockError: Detected locked database file. There is an active
transaction. Waited but giving up now.

I killed digikam, I removed the symlink and everything went back to normal.

Reproducible: Always

Steps to Reproduce:
1. add two folders including images to collection,
2. add symlink from one to parent of another.


Actual Results:  
A big freeze.

Expected Results:  
Normal operation: either not following the symilnks or treating them as links
to albums.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338724] Symlink from one collection to another causes high CPU usage, freeze and DB lockup errors

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=338724

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |[hidden email]
         Resolution|---                         |DUPLICATE

--- Comment #1 from Gilles Caulier <[hidden email]> ---


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

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338724] Symlink from one collection to another causes high CPU usage, freeze and DB lockup errors

Adrian Dziubek
In reply to this post by Adrian Dziubek
https://bugs.kde.org/show_bug.cgi?id=338724

--- Comment #2 from Adrian Dziubek <[hidden email]> ---
I don't think it's a duplicate. The other item, which I read before reporting
this one, is more of a feature request. It mentions errors about usability of
links, but not the general freeze up of the application, when encountering a
symlink.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338724] Symlink from one collection to another causes high CPU usage, freeze and DB lockup errors

Adrian Dziubek
In reply to this post by Adrian Dziubek
https://bugs.kde.org/show_bug.cgi?id=338724

--- Comment #3 from Adrian Dziubek <[hidden email]> ---
On the other hand it could be a duplicate development-wise.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 338724] Symlink from one collection to another causes high CPU usage, freeze and DB lockup errors

bugzilla_noreply
In reply to this post by Adrian Dziubek
https://bugs.kde.org/show_bug.cgi?id=338724

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Database                    |Database-Scan

--
You are receiving this mail because:
You are the assignee for the bug.