Bug 426355 - Not responding and strange activity when quality sorting
Summary: Not responding and strange activity when quality sorting
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Quality (show other bugs)
Version: 7.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-09 21:37 UTC by Andrey Shekhovtsov
Modified: 2023-10-15 10:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.2.0


Attachments
Maintenance checkboxes (319.18 KB, image/png)
2020-09-09 21:37 UTC, Andrey Shekhovtsov
Details
Unresponding with TaskManager (1.10 MB, image/png)
2020-09-09 21:38 UTC, Andrey Shekhovtsov
Details
Unresponding with Resource Monitor (467.94 KB, image/png)
2020-09-09 21:39 UTC, Andrey Shekhovtsov
Details
DebugView with the env var set (61.49 KB, text/plain)
2020-09-09 21:39 UTC, Andrey Shekhovtsov
Details
ProcessMonitor log with strange activity (1.40 MB, application/x-zip-compressed)
2020-09-09 21:41 UTC, Andrey Shekhovtsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Shekhovtsov 2020-09-09 21:37:44 UTC
Created attachment 131524 [details]
Maintenance checkboxes

SUMMARY
I have a big collection of pics. I'm trying your quality sorter. The app is freezed, not responding, but constantly requesting the dhcp key of network interface in the registry. Why?

STEPS TO REPRODUCE
1. Open digiKam
2. Albums is selected, welcome screen is displayed
3. Open menu Tools/Maintenance
4. Make checkboxes like on the attached screenshot and press OK

OBSERVED RESULT
See pictures attached and logs attached

EXPECTED RESULT
Not to become unresponding and not querying the network interface constantly

SOFTWARE/OS VERSIONS
Windows: 10 x64
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Andrey Shekhovtsov 2020-09-09 21:38:31 UTC
Created attachment 131525 [details]
Unresponding with TaskManager
Comment 2 Andrey Shekhovtsov 2020-09-09 21:39:09 UTC
Created attachment 131526 [details]
Unresponding with Resource Monitor
Comment 3 Andrey Shekhovtsov 2020-09-09 21:39:50 UTC
Created attachment 131527 [details]
DebugView with the env var set
Comment 4 Andrey Shekhovtsov 2020-09-09 21:41:10 UTC
Created attachment 131528 [details]
ProcessMonitor log with strange activity
Comment 5 caulier.gilles 2020-09-10 05:59:26 UTC
Hi,

In Quality Sorter source code, there is no network access, only computation. Check code yourself here:

https://invent.kde.org/graphics/digikam/-/tree/master/core/libs/dimg/filters/imgqsort

What's you Quality Sorter settings used with the maintenance tool ?

Best

Gilles Caulier
Comment 6 Maik Qualmann 2020-09-10 06:03:12 UTC
How many images does your collection have? Have you waited long enough? The process of creating the scan list from the DB is not yet carried out in a separate thread with this function and can take some time. The access to the registry keys can actually only come from the QWebKit browser engine, which is already running in the sidebars of digiKam or in the welcome page.

Maik
Comment 7 caulier.gilles 2020-09-10 06:34:24 UTC
Another possibility about the network activity is the DrMinGW included in digiKam which caught the crash exception to generate a suitable backtrace to report.

Else, in your Windows you have perhaps installed a security tool which detect the crash and try to check application memory fingerprint with a remote database... typically an antivirus application for ex.

Gilles Caulier
Comment 8 Maik Qualmann 2020-09-10 08:57:36 UTC
I was able to reproduce it here on Windows. But it is not a crash, you can see in your DebugView log that no task has been started. In the settings for the quality sorter, the top check box must be activated in order to activate the sorter.

Maik
Comment 9 caulier.gilles 2021-03-30 06:53:39 UTC
digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla:

https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/

Can you reproduce the dysfunction with this version ?

Thanks in advance for your feedback

Gilles Caulier
Comment 10 caulier.gilles 2021-12-15 05:10:32 UTC
Andrey,

Stable digiKam 7.4.0 is published. Please check if problem is reproducible.

https://www.digikam.org/download/

Thanks in advance

Gilles Caulier
Comment 11 caulier.gilles 2023-04-19 14:53:34 UTC
@Andrey

digiKam 8.0.0 is out. Problem still reproducible ?

Best regards
Gilles Caulier
Comment 12 caulier.gilles 2023-10-15 10:44:01 UTC
Following the comment #8 from Maik, this file is not a bug.