Bug 318730

Summary: digiKam crashes.
Product: [Applications] digikam Reporter: Mariusz Kocoń <termi>
Component: ColorManagement-BackendAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 3.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0
Sentry Crash Report:

Description Mariusz Kocoń 2013-04-22 17:39:04 UTC
Application: digikam (3.0.0)
KDE Platform Version: 4.10.2 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.1-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Just start after upograde to 4.10.2. openSuSE 12.3.
Every start crashes. After running from command lline:
Fontconfig warning: "/etc/fonts/conf.d/56-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.
"/org/freedesktop/UDisks2/drives/Hitachi_HTS543232A7A384_110513E2M31243JZ7DLD" : property "DeviceNumber" does not exist 
"/org/freedesktop/UDisks2/drives/Hitachi_HTS543232A7A384_110513E2M31243JZ7DLD" : property "Device" does not exist 
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/terminus/.kde4/socket-koriolan.mkocon.pl/kdeinit4__0

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f98f9d9f800 (LWP 6577))]

Thread 3 (Thread 0x7f98db006700 (LWP 6578)):
#0  0x00007f98f16a0964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f98f51ba62b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005d4338 in Digikam::ScanController::run (this=0x2acc930) at /usr/src/debug/digikam-3.0.0/core/digikam/database/scancontroller.cpp:698
#3  0x00007f98f51ba0cc in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f98f169ce0f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f98f37247dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f98da805700 (LWP 6579)):
#0  0x00007f98f371b87d in poll () from /lib64/libc.so.6
#1  0x00007f98eb169aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f98eb169bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f98f52e41f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f98f52b49ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f98f52b4c78 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f98f51b70f0 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f98f52951af in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f98f51ba0cc in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f98f169ce0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f98f37247dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f98f9d9f800 (LWP 6577)):
[KCrash Handler]
#5  0x00007f98f36c9f6a in strchrnul () from /lib64/libc.so.6
#6  0x00007f98f3682c6d in vfprintf () from /lib64/libc.so.6
#7  0x00007f98f37379f0 in __vsnprintf_chk () from /lib64/libc.so.6
#8  0x00007f98ef748a58 in vsnprintf (__ap=0x7fff030912d8, __fmt=0x7f98ee363cb0 "Tag '%lx' not found", __n=1023, __s=0x7fff030912f0 "") at /usr/include/bits/stdio2.h:77
#9  cmsSignalError (ContextID=ContextID@entry=0x3000, ErrorCode=ErrorCode@entry=3996531888, ErrorText=ErrorText@entry=0x64657363 <Address 0x64657363 out of bounds>) at cmserr.c:409
#10 0x00007f98ee3467ad in _cmsSearchTag (sig=icSigProfileDescriptionTag, Profile=<optimized out>, lSignalError=<optimized out>) at cmsio0.c:292
#11 _cmsSearchTag (Profile=Profile@entry=0x2c6f2b0, sig=sig@entry=icSigProfileDescriptionTag, lSignalError=lSignalError@entry=1) at cmsio0.c:279
#12 0x00007f98ee34c0d0 in cmsReadICCTextEx (hProfile=hProfile@entry=0x2c6f2b0, sig=sig@entry=icSigProfileDescriptionTag, Name=Name@entry=0x7f98ee56f320 <Name.7711> "", size_max=size_max@entry=512) at cmsio1.c:1675
#13 0x00007f98ee34c16a in cmsReadICCText (hProfile=hProfile@entry=0x2c6f2b0, sig=sig@entry=icSigProfileDescriptionTag, Text=Text@entry=0x7f98ee56f320 <Name.7711> "") at cmsio1.c:1706
#14 0x00007f98ee34cf36 in cmsTakeProductDesc (hProfile=0x2c6f2b0) at cmsio1.c:2218
#15 0x00007f98f74c3625 in Digikam::IccProfile::description (this=0x2b12970) at /usr/src/debug/digikam-3.0.0/core/libs/dimg/filters/icc/iccprofile.cpp:387
#16 0x00007f98f74cffa3 in Digikam::IccSettings::loadAllProfilesProperties (this=0x2c48bc0) at /usr/src/debug/digikam-3.0.0/core/libs/dimg/filters/icc/iccsettings.cpp:585
#17 0x0000000000598d52 in Digikam::DigikamApp::DigikamApp (this=0x2c08dd0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/digikam-3.0.0/core/digikam/main/digikamapp.cpp:228
#18 0x00000000004987c1 in main (argc=1, argv=0x7fff03092328) at /usr/src/debug/digikam-3.0.0/core/digikam/main/main.cpp:188

This bug may be a duplicate of or related to bug 318721.

Possible duplicates by query: bug 318721.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-04-22 20:25:57 UTC

*** This bug has been marked as a duplicate of bug 318721 ***
Comment 2 caulier.gilles 2017-07-23 12:58:17 UTC
Since digiKam 5.0.0, we use drop lcms version 1.x in favor of lcms version 2.x. This problem will not reproducible.