Bug 453078 - Can't access images: need to setup right access to disk with MacOS config panel.
Summary: Can't access images: need to setup right access to disk with MacOS config panel.
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-MacOS (show other bugs)
Version: 7.7.0
Platform: macOS (DMG) macOS
: NOR critical
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-27 06:30 UTC by yves.pratter
Modified: 2024-09-17 14:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screen copy with file access (134.18 KB, image/png)
2022-04-27 06:30 UTC, yves.pratter
Details
This image is accessible and displayed (2.50 MB, image/png)
2022-05-09 16:46 UTC, yves.pratter
Details
« Terminal » requests permission to control « Finder » (103.14 KB, image/png)
2022-05-12 07:26 UTC, yves.pratter
Details
Full disk access (315.08 KB, image/png)
2022-05-12 07:29 UTC, yves.pratter
Details
Files and folders (296.92 KB, image/png)
2022-05-12 07:30 UTC, yves.pratter
Details
Full disk access (272.82 KB, image/png)
2022-05-12 07:44 UTC, yves.pratter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yves.pratter 2022-04-27 06:30:56 UTC
Created attachment 148402 [details]
Screen copy with file access

SUMMARY
Digikam can't refresh folder, can't display thumbnails nor images.

File permissions are -rwx r-x- r-x (I'am the owner) and files are accessible from File manager.



OBSERVED RESULT
It display "Failed to load image" in Preview.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
macOS: Monterey 12.3.1 (21E258)
Qt Version: 5.15.3 (built against 5.15.3)
KDEFrameworks: 5.92.0

ADDITIONAL INFORMATION
Most images are stored on an external disk, but same issue with the internal disk.

Issue with digikam update or macOS update ???
Comment 1 Maik Qualmann 2022-04-27 06:39:11 UTC
Please start digiKam in a terminal. Set the Qt debug variable beforehand and then post the output from the terminal when trying to open an image. Here is a description for MacOS too:

https://www.digikam.org/contribute/

Maik
Comment 2 Maik Qualmann 2022-05-02 11:55:02 UTC
Any progress or news? To help we need the log from the terminal.

Maik
Comment 3 yves.pratter 2022-05-09 16:44:47 UTC
Thank you for your advices and your time :)

I started Digikam from Terminal with QT_LOGGING_RULES enabled.

The app crashed. See last lines :

…
imgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Adding new item "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_161810.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/database/item/scanner/itemscanner_database.cpp:202, void Digikam::ItemScanner::prepareAddImage(int))
cathaysia.digikam.flowview(Debug): DateTime (Exif digitalized): QDateTime(2022-04-26 16:18:10.000 CEST Qt::LocalTime) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/metadataengine/engine/metaengine_item.cpp:1099, QDateTime Digikam::MetaEngine::getDigitizationDateTime(bool) const)
cathaysia.digikam.flowview(Debug): DateTime (digitization date): QDateTime(2022-04-26 16:18:10.000 CEST Qt::LocalTime) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/metadataengine/engine/metaengine_item.cpp:1206, QDateTime Digikam::MetaEngine::getDigitizationDateTime(bool) const)
cathaysia.digikam.flowview(Debug): Scanning took 48 ms (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/database/item/scanner/itemscanner_database.cpp:37, void Digikam::ItemScanner::commit())
cathaysia.digikam.flowview(Debug): Finishing took 5 ms (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/database/item/scanner/itemscanner.cpp:60, Digikam::ItemScanner::~ItemScanner())
cathaysia.digikam.flowview(Debug): Loading metadata with "Exiv2" backend from "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_161824.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/metadataengine/dmetadata/dmetadata_fileio.cpp:110, bool Digikam::DMetadata::load(const QString &, Digikam::MetaEngine::Backend *))
digikam(99018,0x700003b89000) malloc: Heap corruption detected, free list is damaged at 0x600000204270
*** Incorrect guard value: 264489008841327
digikam(99018,0x700003b89000) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6

Run DigiKam another time:

…
athaysia.digikam.flowview(Debug): "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165039.jpg" : "JPEG" file identified (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/dimg/dimg_fileio.cpp:126, bool Digikam::DImg::load(const QString &, int, Digikam::DImgLoaderObserver *const, const Digikam::DRawDecoding &))
cathaysia.digikam.flowview(Debug): Start of Image  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Miscellaneous marker 0xe1, length 11245  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Quantization Table 0  precision 0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Quantization Table 1  precision 0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Start Of Frame 0xc0: width=4000, height=3000, components=3  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 1: 2hx2v q=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 2: 1hx1v q=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 3: 1hx1v q=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x00  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   1   5   1   1   1   1   1  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           1   0   0   0   0   0   0   0  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x10  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   2   1   3   3   2   4   3  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           5   5   4   4   0   0   1 125  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x01  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   3   1   1   1   1   1   1  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           1   1   1   0   0   0   0   0  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x11  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   2   1   2   4   4   3   4  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           7   5   4   4   0   1   2 119  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Start Of Scan: 3 components  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 1: dc=0 ac=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 2: dc=1 ac=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 3: dc=1 ac=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):   Ss=0, Se=63, Ah=0, Al=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): End Of Image  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Loading metadata with "Exiv2" backend from "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165037.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/metadataengine/dmetadata/dmetadata_fileio.cpp:110, bool Digikam::DMetadata::load(const QString &, Digikam::MetaEngine::Backend *))
cathaysia.digikam.flowview(Debug): Trying to get thumbnail from "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165037.jpg" ( "image" ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp:66, Digikam::ThumbnailImage Digikam::ThumbnailCreator::createThumbnail(const Digikam::ThumbnailInfo &, const QRect &) const)
cathaysia.digikam.flowview(Debug): Trying to get thumbnail with Exiv2 for "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165037.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp:374, QImage Digikam::ThumbnailCreator::loadImagePreview(const Digikam::DMetadata &) const)
cathaysia.digikam.flowview(Debug): Trying to get thumbnail with DImg preview for "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165037.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp:385, QImage Digikam::ThumbnailCreator::loadImagePreview(const Digikam::DMetadata &) const)
cathaysia.digikam.flowview(Debug): "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165037.jpg" : "JPEG" file identified (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/dimg/dimg_fileio.cpp:126, bool Digikam::DImg::load(const QString &, int, Digikam::DImgLoaderObserver *const, const Digikam::DRawDecoding &))
cathaysia.digikam.flowview(Debug): Start of Image  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Miscellaneous marker 0xe1, length 10346  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Quantization Table 0  precision 0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Quantization Table 1  precision 0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Start Of Frame 0xc0: width=4000, height=3000, components=3  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 1: 2hx2v q=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 2: 1hx1v q=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 3: 1hx1v q=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x00  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   1   5   1   1   1   1   1  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           1   0   0   0   0   0   0   0  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x10  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   2   1   3   3   2   4   3  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           5   5   4   4   0   0   1 125  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x01  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   3   1   1   1   1   1   1  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           1   1   1   0   0   0   0   0  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x11  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   2   1   2   4   4   3   4  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           7   5   4   4   0   1   2 119  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Start Of Scan: 3 components  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 1: dc=0 ac=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 2: dc=1 ac=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 3: dc=1 ac=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):   Ss=0, Se=63, Ah=0, Al=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): End Of Image  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Loading metadata with "Exiv2" backend from "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165017.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/metadataengine/dmetadata/dmetadata_fileio.cpp:110, bool Digikam::DMetadata::load(const QString &, Digikam::MetaEngine::Backend *))
cathaysia.digikam.flowview(Debug): Trying to get thumbnail from "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165017.jpg" ( "image" ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp:66, Digikam::ThumbnailImage Digikam::ThumbnailCreator::createThumbnail(const Digikam::ThumbnailInfo &, const QRect &) const)
cathaysia.digikam.flowview(Debug): Trying to get thumbnail with Exiv2 for "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165017.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp:374, QImage Digikam::ThumbnailCreator::loadImagePreview(const Digikam::DMetadata &) const)
cathaysia.digikam.flowview(Debug): Trying to get thumbnail with DImg preview for "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165017.jpg" (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/threadimageio/thumb/thumbnailcreator_engine.cpp:385, QImage Digikam::ThumbnailCreator::loadImagePreview(const Digikam::DMetadata &) const)
cathaysia.digikam.flowview(Debug): "/Volumes/TOSHIBA EXT/images/2022/2022-04/2022-04-26/IMG_20220426_165017.jpg" : "JPEG" file identified (/Users/gilles/dktemp/digikam-qt5-maintenance/core/libs/dimg/dimg_fileio.cpp:126, bool Digikam::DImg::load(const QString &, int, Digikam::DImgLoaderObserver *const, const Digikam::DRawDecoding &))
cathaysia.digikam.flowview(Debug): Start of Image  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Miscellaneous marker 0xe1, length 13540  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Quantization Table 0  precision 0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Quantization Table 1  precision 0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Start Of Frame 0xc0: width=4000, height=3000, components=3  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 1: 2hx2v q=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 2: 1hx1v q=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 3: 1hx1v q=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x00  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   1   5   1   1   1   1   1  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           1   0   0   0   0   0   0   0  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x10  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   2   1   3   3   2   4   3  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           5   5   4   4   0   0   1 125  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x01  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   3   1   1   1   1   1   1  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           1   1   1   0   0   0   0   0  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Define Huffman Table 0x11  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplucathaysia.digikam.flowview(Debug): Define Huffman Table 0x11  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           0   2   1   2   4   4   3   4  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):           7   5   4   4   0   1   2 119  ( 2 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): Start Of Scan: 3 components  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 1: dc=0 ac=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 2: dc=1 ac=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):     Component 3: dc=1 ac=1  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug):   Ss=0, Se=63, Ah=0, Al=0  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
cathaysia.digikam.flowview(Debug): End Of Image  ( 1 ) (/Users/gilles/dktemp/digikam-qt5-maintenance/core/dplugins/dimg/jpeg/dimgjpegloader.cpp:82, static void DigikamJPEGDImgPlugin::DImgJPEGLoader::dimg_jpeg_emit_message(j_common_ptr, int))
Segmentation fault: 11

Restarted again, seem working fine : the app rebuild thumbnails, the sample image is displayed.
Note: When I wrote this ticket, I recursively changed access rights to the image folder of my external disk.
I also ask to rebuild thumbnails but DigiKam can't access images.
Now, it's ok ??? Is it a side effect of the QT_LOGGING_RULES flag ?
Comment 4 yves.pratter 2022-05-09 16:46:45 UTC
Created attachment 148680 [details]
This image is accessible and displayed
Comment 5 yves.pratter 2022-05-09 19:03:20 UTC
New test.
At least one picture is unaccessible when Digikam is started as a macOS application.

Same picture is accessible when Digikam is started from terminal (QT_LOGGING_RULES disabled).
Comment 6 yves.pratter 2022-05-12 07:26:05 UTC
Created attachment 148753 [details]
« Terminal »  requests permission to control « Finder »

It seem that there are new macOS Security settings.

Digikam couldn't access a picture even started from terminal.
When trying to select Open with… Preview.app, the following box appear :
« Terminal » demande l'autorisation de
contrôler « Finder ». Acceptez si vous
voulez lui permettre d'accéder aux
documents et aux données contenues
dans « Finder » et d'y effectuer des
actions.
Comment 7 yves.pratter 2022-05-12 07:29:42 UTC
Created attachment 148754 [details]
Full disk access

After accepting, the following "rights" are given to Digikam:
* Full disk access
* Files and folders
Comment 8 yves.pratter 2022-05-12 07:30:49 UTC
Created attachment 148755 [details]
Files and folders
Comment 9 yves.pratter 2022-05-12 07:44:48 UTC
Created attachment 148756 [details]
Full disk access

After according this privilege, this issue seem solved when Digikam is started as an app.

How to give only access to i.e. "Removable volumes" ?
(see Terminal privilege).
Comment 10 yves.pratter 2022-05-12 07:48:48 UTC
See "Full Disk Access (Catalina) - Not working with privileged helper"
https://developer.apple.com/forums/thread/124185
Comment 11 yves.pratter 2022-05-12 07:54:34 UTC
See also "Removable Volumes access to local applications" that describe the same issue.
https://developer.apple.com/forums/thread/655944
Comment 12 yves.pratter 2023-03-13 09:18:02 UTC
Still have this issue. In fact, there are ACL to some folders or files that prevent access to digikam.
Also some files/folders are owned by root.

After cleaning rights and ACL, digikam can't access any picture, even run as root !
Comment 13 yves.pratter 2023-03-13 09:56:23 UTC
Seem fine if I run the app from it's icon…
… but it can't access any pictures/folders from the terminal (even with sudo)
Comment 14 caulier.gilles 2023-04-19 05:56:20 UTC
@yves.pratter@gmail.com

digiKam 8.0.0 is released. This file still valid ?

Gilles Caulier
Comment 15 caulier.gilles 2023-10-19 12:51:29 UTC
@Yves,

digikam 8.2.0 pre-release have been rebuilt using last Qt 5.15.11 + KDE 5.110
frameworks. Installer is available at usual place :

https://files.kde.org/digikam/

Can reproduce the problem with this version?

Thanks in advance

Gilles Caulier
Comment 16 caulier.gilles 2024-09-17 14:11:03 UTC
@Yves

Please try the new 8.5.0 pre-release PKG installer for MacOS Silicon (arm64)
available here:

https://files.kde.org/digikam/

I tested on my a fresh installer Macbook air M1 with this PKG. At the first start, macOS ask to allow the application to access to the Picture directory (or to configure the grant), and that all...

https://i.imgur.com/gJe8NjG.png

So, for me all work as expected...

Gilles Caulier


Thanks in advance

Gilles Caulier