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

            Bug ID: 512564
           Summary: Digikam fails to start on X11 due to some icc-profile
                    related error:
    Classification: Applications
           Product: digikam
      Version First 8.8.0
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: ColorManagement-Profiles
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 187128
  --> https://bugs.kde.org/attachment.cgi?id=187128&action=edit
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

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

Reply via email to