| Summary: | Segfault during startup scanning. | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | |
| Component: | Database-Scan | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 8.7.0 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 9.0.0 | |
| Sentry Crash Report: | |||
| Attachments: | Meshroom depthmap EXR file crashing digikam scanning | ||
|
Description
mail
2025-11-03 09:47:15 UTC
It crashes in the NVIDIA driver, why are you using the "prime-run" program with digiKam? Maik The crash has probably nothing to do with the EXR file. I suspect a problem with the NVIDIA card when the Chromium based Qt component is initialized about the OpenGL support. Best Gilles Caulier Created attachment 186453 [details] Meshroom depthmap EXR file crashing digikam scanning Unfortunately all my exr files are >>4MB. The file behind the link https://oc.advico.de/index.php/s/RsYPw9cCKo6P2e6 was originally named 1075361187_depthMap.exr and has 38791750 bytes. exiftool info shows some possibly problematic float values?: Exif Focal Plane X Resolution : 5991.72 Exif Focal Plane Y Resolution : 6002.07 Data Window : 0 0 4343 2895 Display Window : 0 0 4343 2895 Image Width : 4344 Image Height : 2896 Image Size : 4344x2896 (In reply to Maik Qualmann from comment #1) > It crashes in the NVIDIA driver, why are you using the "prime-run" program > with digiKam? > > Maik just in case digikam would utilize the GPU for some of it's work (does it? Fingerprinting might be a good candidate, it takes very long). Should not be related to the crash, just showing the complete output after starting it No problems with the sample EXR image using my digiKam-8.9.0 developer version under openSUSE Tumbleweed here. Maik Git commit 6a75c0f0ca872c5b3f738a10f64f854f1a7a3549 by Maik Qualmann. Committed on 03/11/2025 at 11:33. Pushed by mqualmann into branch 'master'. let ExifTool copy image-specific metadata This gives us virtual Exif/Iptc/Xmp metadata, similar to FITS or video files. M +5 -2 core/libs/metadataengine/dmetadata/dmetadata_exiftool.cpp https://invent.kde.org/graphics/digikam/-/commit/6a75c0f0ca872c5b3f738a10f64f854f1a7a3549 The crash is therefore not related to Exiv2 or a digiKam image loader. Fingerprint creation does not use the GPU. Please test it without running prime-run. Maik I confirm that the weekly build appimage 8.9.0 does not crash :) BTW, thanks a lot for this unvaluable tool! In the logs I still see issues with all the Meshroom images, but it doesn't kill the program anymore: - unknown: QSvgHandler: Image filename is empty (several times, source files are unknown, maybe missing read permissions?) - Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot load metadata from file with Exiv2 backend: /media/Bilder5/Bilder/3D/Moos/Meshroom/MeshroomCache/DepthMap/1fe3453e2ad123fd5b582486796d6d4bff459947/1075361187_depthMap.exr (Error # 12 : "/media/Bilder5/Bilder/3D/Moos/Meshroom/MeshroomCache/DepthMap/1fe3453e2ad123fd5b582486796d6d4bff459947/1075361187_depthMap.exr: The file contains data of an unknown image type" - Digikam::MetaEngine::Private::printExiv2ExceptionError: Cannot load metadata from file with Exiv2 backend: /media/Bilder5/Bilder/3D/Moos/Meshroom/MeshroomCache/DepthMapFilter/3d34852deb25a1f7b6d963141f199cec8abfb5b4/1115300506_nmodMap.png (Error # 4 : "This does not look like a TIFF image" --> Nope, this is indeed a PNG and not a TIFF as also reported by "file" and "exiftool". Exiftool does report this warning, though: "Warning : [minor] Text/EXIF chunk(s) found after PNG IDAT (may be ignored by some readers)" Do you want a sample file for this as well? (I don't have time to check if Meshroom might have fixed something and I don't really care for these particular files) The error messages are normal; Exiv2 does not support this file type. Requests for EXR support must be submitted to the Exiv2 on GitHub repository. If a digiKam version with my latest modification is available, at least Exif and XMP metadata will be displayed (virtually). Note that these EXR images do not contain Exif metadata. Maik Do not use prime-run with Qt programs; Qt itself uses the GPU required to accelerate graphics operations. We are also aware of problems under Windows where users attempt to assign a specific GPU, which does not work. I am closing this bug report. Maik |