Bug 426355

Summary: Not responding and strange activity when quality sorting
Product: [Applications] digikam Reporter: Andrey Shekhovtsov <andsh716>
Component: Maintenance-QualityAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: andsh716, caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.1.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 8.2.0
Attachments: Maintenance checkboxes
Unresponding with TaskManager
Unresponding with Resource Monitor
DebugView with the env var set
ProcessMonitor log with strange activity

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.