SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE One album, four pictures, no faces. Database cleaning done. Tool / Maintenance / Face recognition. "Scan again and merge results" or "Clear unconfirmed results and rescan" Updating faces database - no progress - constantly 0% In case of forced termination of the process - digiKam (Not responding). digiKam crashes completely. Nothing happens before digiKam is forcibly closed. The same result for faces in pictures. OBSERVED RESULT Updating faces database - no progress - constantly 0% In case of forced termination of the process - digiKam (Not responding). EXPECTED RESULT Normal operation. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Please try to reproduce the dysfunction with debugview tool from Microsoft running in background of digiKam to catch debug traces from application. Look here for details : https://www.digikam.org/contribute/ Best Gilles Caulier
Debugview is not working properly. Last issued line: [6416] digikam.general: Plugin of type Digikam :: DPluginGeneric loaded from "C: / Program Files / digiKam / plugins / digikam / generic / Generic_Panorama_Plugin.dll" I can't guess what's wrong. The value of the user variable (all without quotation marks) QT_LOGGING_RULES is digikam* = true Hannes
DebugView seems to work correctly, you got a debug message. Start DebugView first, then digikam. Maik
Created attachment 148947 [details] Debugview log 183 entries - and no more The log always ends on the same entry Additional Information: The contents of the Debugview Help entry are not visible. Hannes
The log is good, exactly what we want to see. You also have to open the maintenance tool and run the face action that doesn't work and then post the entire log again. Maik
Created attachment 148950 [details] Maintenance face detection, 5 minutes 0% progress, freeze and forced end Debugview log from digiKam startup to face detection, 5 minutes 0% progress, freeze and forced end. At the end is a log of some other activity. Hannes
Hmm, the last log outputs are not from digiKam, but from other programs. The output from the maintenance tool is missing, as if you didn't start it. Maik
I see that other debug messages that should appear are also missing. I'll send a picture of the Windows Environment Variable Editor later for the setting. Maik
I can confirm that the creation of the DebugView log is not working correctly at the moment. The log ends here at the same point. I have to see what the cause is. Maik
The reason for the interruption of the debug output is the Generic_PicFlowView_Plugin.dll. Please delete the file and create a new debug output. C:\Program Files\digiKam\plugins\digikam\generic\Generic_PicFlowView_Plugin.dll Maik
Created attachment 149417 [details] The hangs have disappeared The hangs have disappeared since the recommendation was implemented. However, faces are not detected. Hannes
Created attachment 149418 [details] Fix - still hangs when Scan again and merge results. Fix - still hangs when Scan again and merge results. Hannes
Yes, I can reproduce the problem on Windows and digiKam-7.7.0 here now. The factor is the use of multicore. The problem does not occur with digiKam-7.6.0 on Windows or on the Linux platform in general. So the question is, what has changed under digiKam-7.7.0? If a face scan is run on a single image in the preview beforehand, there is no longer a problem with multi-core and the maintenance dialog. Maik
Git commit a4f8e09ce3b0080c16a0bdcca0ff29923ff46682 by Maik Qualmann. Committed on 02/06/2022 at 20:47. Pushed by mqualmann into branch 'qt5-maintenance'. ignore Flow View plugin in DPlugin Loader The plugin breaks digiKam's debug handling by installing its own Qt debug handler. The external author must change this. Related: bug 454739 M +1 -0 core/libs/dplugins/setup/dpluginloader_p.cpp https://invent.kde.org/graphics/digikam/commit/a4f8e09ce3b0080c16a0bdcca0ff29923ff46682
Git commit 2be361ea7ea7e945e8cf6e83a192a3aa72091502 by Maik Qualmann. Committed on 03/06/2022 at 19:27. Pushed by mqualmann into branch 'qt5-maintenance'. try to fix the lock problem in the face detector M +6 -3 core/utilities/facemanagement/threads/facepipeline.cpp M +1 -0 core/utilities/maintenance/maintenancemngr.cpp https://invent.kde.org/graphics/digikam/commit/2be361ea7ea7e945e8cf6e83a192a3aa72091502
Created attachment 149891 [details] It looks like the issues are gone in the latest version. It looks like the issues are gone in the latest version. Build date: 15/06/2022 20:38 (target: RelWithDebInfo) Revision: 9a058c9f5db20642deb1504345abeaa7119d0f9a Hannes
Git commit ffd179f90f4c4b1294828021626554796bee010f by Gilles Caulier. Committed on 27/11/2022 at 16:46. Pushed by cgilles into branch 'qt5-maintenance'. add patch for digiKam debug space support in FlowView Plugin Related: bug 454739 M +2 -2 project/bundles/3rdparty/ext_flowview/CMakeLists.txt A +155 -0 project/bundles/3rdparty/ext_flowview/fix-c++-qdebug.patch D +0 -12 project/bundles/3rdparty/ext_flowview/fix-c++-rules.patch https://invent.kde.org/graphics/digikam/commit/ffd179f90f4c4b1294828021626554796bee010f
Git commit 5b2543fa4d6d5d872cedf7b3b12b4142912c6fdb by Gilles Caulier. Committed on 27/11/2022 at 16:50. Pushed by cgilles into branch 'qt5-maintenance'. re-enable FlowView plugin Related: bug 454739 M +0 -1 core/libs/dplugins/setup/dpluginloader_p.cpp https://invent.kde.org/graphics/digikam/commit/5b2543fa4d6d5d872cedf7b3b12b4142912c6fdb