Bug 512564 - Digikam fails to start on X11 due to some icc-profile related error:
Summary: Digikam fails to start on X11 due to some icc-profile related error:
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Profiles (other bugs)
Version First Reported In: 8.8.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-24 18:29 UTC by Lukas Jirkovsky
Modified: 2025-12-25 10:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:


Attachments
ICC profile used in the system (944.71 KB, application/vnd.iccprofile)
2025-11-24 18:29 UTC, Lukas Jirkovsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jirkovsky 2025-11-24 18:29:17 UTC
Created attachment 187128 [details]
ICC profile used in the system

Digikam crashes on start. It starts on wayland, but it might be only because I don't have color management on wayland sorted out.

The profile is set in KDE's color management settings. The profile itself is attached. I use 10bit depth in X11

Here is the backtrace:

(gdb) bt
#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
#1  0x00007ffff4434334 in memcpy (__dest=<optimized out>, __src=<optimized out>, __len=<optimized out>, __dest=<optimized out>, __src=<optimized out>, __len=<optimized out>) at /usr/include/bits/string_fortified.h:29
#2  QByteArray::reallocData (this=this@entry=0x555555b69678, alloc=<optimized out>, option=option@entry=QArrayData::KeepSize) at /usr/src/debug/qt6-base/qtbase/src/corelib/text/qbytearray.cpp:1996
#3  0x00007ffff632f507 in QByteArray::detach (this=0x555555b69678) at /usr/include/qt6/QtCore/qbytearray.h:655
#4  QByteArray::detach (this=0x555555b69678) at /usr/include/qt6/QtCore/qbytearray.h:654
#5  QByteArray::data (this=0x555555b69678) at /usr/include/qt6/QtCore/qbytearray.h:642
#6  Digikam::IccProfile::open (this=0x7fffffffd660) at /usr/src/debug/digikam/digikam-8.8.0/core/libs/dimg/filters/icc/iccprofile.cpp:306
#7  0x00007ffff63260e0 in Digikam::IccManager::displayProfile (displayingWidget=0x555555b7db00) at /usr/src/debug/digikam/digikam-8.8.0/core/libs/dimg/filters/icc/iccmanager.cpp:377
#8  0x00007ffff64cf817 in Digikam::ThumbnailLoadThread::setDisplayingWidget (widget=widget@entry=0x555555b7db00) at /usr/src/debug/digikam/digikam-8.8.0/core/libs/threadimageio/thumb/thumbnailloadthread.cpp:176
#9  0x00007ffff7856978 in Digikam::DigikamApp::DigikamApp (this=<optimized out>, this=<optimized out>) at /usr/src/debug/digikam/digikam-8.8.0/core/app/main/digikamapp.cpp:91
#10 0x00005555555595e1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/digikam/digikam-8.8.0/core/app/main/main.cpp:441
```

STEPS TO REPRODUCE
1. Start digikam

OBSERVED RESULT
Digikam crashes. For some reason DrKonqi doesn't report it.

EXPECTED RESULT
Digikam starts

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux current
Digikam: 8.8.0
KDE Plasma Version:  6.5.3
KDE Frameworks Version: 6.53
Qt Version: 6.10.0
Comment 1 Maik Qualmann 2025-11-24 19:16:39 UTC
Already fixed with Bug 511092

Maik