Created attachment 150861 [details] macOS crash report 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 1. Open DigiKam 7.7.0 on macOS 10.14 2. Wait until all pictures imported 3. Restart DigiKam 4. Select any folder -> crash OBSERVED RESULT Application crashes every time. EXPECTED RESULT Application works. SOFTWARE/OS VERSIONS macOS: 10.14 ADDITIONAL INFORMATION Apple format crash report attached.
It crashes in the ImageMagick metadata loader. Do you have any special files in the folders? Maik
So it was only crashing on specific folders and I found that one of them had some zero byte JPEG files. Once I removed those, it has stopped crashing. There are zero byte JPEGs in other folders too though which don't seem to be causing a problem. All the zero byte files also have the com.apple.quarantine xattr set. Now that it's working there's probably not much else to go on unfortunately.
Git commit e223531b341ba15831d0fe38896823b7daab5e7d by Gilles Caulier. Committed on 24/07/2022 at 08:15. Pushed by cgilles into branch 'qt5-maintenance'. ignore null file size to prevent ImageMgick crash FIXED-IN: 7.8.0 M +8 -0 core/libs/metadataengine/dmetadata/dmetadata_imagemagick.cpp https://invent.kde.org/graphics/digikam/commit/e223531b341ba15831d0fe38896823b7daab5e7d