https://bugs.kde.org/show_bug.cgi?id=511565

            Bug ID: 511565
           Summary: segfault reading EXIF from exr file during startup
                    scanning
    Classification: Applications
           Product: digikam
      Version First 8.7.0
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Metadata-Exif
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
digikam crashes consistently on a range of exr files created by Meshroom
(unknown version, files created 2023). exiftool (unknown version, ships with
openSuse Tumbleweed) can read the EXIF data without problems. The crash happens
when scanning for new items after startup.
As a workaround I chmod -x the respective folder in my collection.

STEPS TO REPRODUCE
1.  place the exr file in the media folder
2.  start digikam and let it scan for new items
3. segfault with cannot load metadata (exr file type not known but scanned?)
4. try exiftool, it can reads the metadata of the file

OBSERVED RESULT

prime-run digikam &
GBM is not supported with the current configuration. Fallback to Vulkan
rendering in Chromium.
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not
UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not
UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
If this causes problems, reconfigure your locale. See the locale(1) manual
for more information.
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1.1 nonfree and
unredistributable
libva error: /usr/lib64/dri/vdpau_drv_video.so init failed
kf.xmlgui: Unhandled container to remove :  Digikam::DigikamApp
digikam.metaengine: 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"
/usr/bin/prime-run: line 2: 4043989 Segmentation fault         (core dumped)
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
__GLX_VENDOR_LIBRARY_NAME=nvidia "$@"

EXPECTED RESULT
either gracefully ignore the file or handle it properly


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSuse Tumbleweed
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to