[Bug 182858] New: digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

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

[Bug 182858] New: digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858

           Summary: digiKam becomes unusable when removing a collection that
                    is part of a "Find Duplicates" search result
           Product: digikam
           Version: 0.10.0-rc2
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: Searches
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0-rc2 (using 4.2.00 (KDE 4.2.0), Arch Linux)
Compiler:          gcc
OS:                Linux (i686) release 2.6.28-ARCH

I removed a collection (in digiKam's collection setup, not physically) and
restarted the application.
The start-up took nearly 2 minutes. After digiKam was loaded, all image
thumbnails flickered like crazy and where "jumping" around as I hovered over
with the mouse cursor.

Opening htop revealed that digiKam has started over 1000 tasks! After a while
digiKam crashed completely and I restarted again, but no luck.
I even restarted my machine, still the same issue.

After a while I realized that the collection was part of a "Find Duplicates"
search result and that digiKam tried to scan those files all the time, although
the collection was removed from the setup.
The only solution was to eliminate the search from the database:

DELETE FROM Searches WHERE type == 7;

After removing those entries, digiKam started normally again.
We need to make sure that removing a collection updates the "Find Duplicates"
search result, otherwise you are not able to work with digiKam or your computer
anymore.

Andi Clemens


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858


Andi Clemens andi clemens gmx net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Searches                    |Fuzzy Searches




--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858





--- Comment #1 from Andi Clemens <andi clemens gmx net>  2009-02-02 13:06:55 ---
Created an attachment (id=30868)
 --> (http://bugs.kde.org/attachment.cgi?id=30868)
many tasks opened after collection removal


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Marcel Wiesweg
In reply to this post by Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-02-04 21:00:55 ---
I have fixed all the bugs I encountered when adding/removing a collection and
updating the duplicates search list, but I could not reproduce this (neither
before nor after the fixes).
Do I need a certain number of duplicates?
If I have a folder with two duplicate pictures that I add/remove as a
collection, what to I need to do to trigger this bug?


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858





--- Comment #3 from Andi Clemens <andi clemens gmx net>  2009-02-04 21:13:25 ---
I had over 100 duplicate entries, don't know how many Gilles had.
This was a test collection, so the numbers might not be quite accurate in a
normal album collection.
I don't know if the number of entries triggered the bug, I will create the
collection again and see if it is fixed now.


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858





--- Comment #4 from Andi Clemens <andi clemens gmx net>  2009-02-04 22:08:07 ---
It doesn't seem to be fixed.

Gilles,
can you test it again?

Andi


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Marcel Wiesweg
In reply to this post by Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858





--- Comment #5 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-02-05 20:30:55 ---
Well dont expect it to be fixed, I just was trying to reproduce.
No idea so far, all these process are kio_file, where should they come from?
Was there any debug output or .xsession-errors output?


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858





--- Comment #6 from Andi Clemens <andi clemens gmx net>  2009-02-05 23:40:29 ---
Created an attachment (id=31005)
 --> (http://bugs.kde.org/attachment.cgi?id=31005)
error log

This is what I get, nothing helpful I guess...


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Marcel Wiesweg
In reply to this post by Bugzilla from andi.clemens@gmx.net
http://bugs.kde.org/show_bug.cgi?id=182858


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #7 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-02-09 17:24:54 ---
SVN commit 923868 by mwiesweg:

Use at most one KIO::PreviewJob per thumbnail thread. KIO goes crazy if more
than 150 jobs
are active, which may happen otherwise in special cases.

BUG: 182858

 M  +33 -8     thumbnailloadthread.cpp  
 M  +3 -0      thumbnailloadthread.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=923868


--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- 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
|

[Bug 182858] digiKam becomes unusable when removing a collection that is part of a "Find Duplicates" search result

Gilles Caulier-4
In reply to this post by Bugzilla from andi.clemens@gmx.net
https://bugs.kde.org/show_bug.cgi?id=182858


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-rc2                  |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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