Bug 319144

Summary: digikam crashes
Product: digikam Reporter: Dieter.Stuebinger
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 RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.0

Description Dieter.Stuebinger 2013-05-01 07:51:52 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 i686
Distribution: "openSUSE 12.3 (i586)"

-- Information about the crash:
no idea why...but it always crashes...

The crash can be reproduced every time.

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

Thread 4 (Thread 0xab420b40 (LWP 3499)):
#0  0xb4a1de91 in read () from /lib/libc.so.6
#1  0xb25e7b5b in ?? () from /usr/X11R6/lib/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa9e30b40 (LWP 3500)):
#0  0xb43b3792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb4a3c85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb57ea550 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x082117c6 in Digikam::ScanController::run (this=0xa5a4900) at /usr/src/debug/digikam-3.0.0/core/digikam/database/scancontroller.cpp:698
#4  0xb57e9f78 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb25eb061 in ?? () from /usr/X11R6/lib/libGL.so.1
#6  0x5c8b0824 in ?? ()
#7  0xbab80424 in ?? ()
#8  0xcd000000 in ?? ()
#9  0x3dd38980 in ?? ()
#10 0xfffff001 in ?? ()
#11 0xe8c30173 in ?? ()
#12 0x000eb5b7 in ?? ()
#13 0x74a0c181 in ?? ()
#14 0x898b0014 in ?? ()
#15 0xffffff20 in ?? ()
#16 0x8965d8f7 in ?? ()
#17 0xffc88301 in ?? ()
#18 0x669066c3 in ?? ()
#19 0x66906690 in ?? ()
#20 0x90906690 in ?? ()
#21 0x00acec81 in ?? ()
#22 0x9c890000 in ?? ()
#23 0x0000a024 in ?? ()
#24 0xb581e800 in QRectF::operator&(QRectF const&) const () from /usr/lib/libQtCore.so.4
#25 0xa424b489 in ?? ()
#26 0x8b000000 in ?? ()
#27 0x00b024b4 in ?? ()
#28 0xbc890000 in ?? ()
#29 0x0000a824 in ?? ()
#30 0x247c8d00 in ?? ()
#31 0x247c8914 in ?? ()
#32 0x2444c708 in ?? ()
#33 0x00000004 in ?? ()
#34 0x24348900 in ?? ()
#35 0xfff88be8 in ?? ()
#36 0x78c085ff in ?? ()
#37 0xff4e8d7f in ?? ()
#38 0x000001b8 in ?? ()
#39 0xd3ca8900 in ?? ()
#40 0x248c8be0 in ?? ()
#41 0x000000b4 in ?? ()
#42 0x8505eac1 in ?? ()
#43 0xf74d75c9 in ?? ()
#44 0x248c81d0 in ?? ()
#45 0x00000098 in ?? ()
#46 0x10000000 in ?? ()
#47 0xc0938421 in ?? ()
#48 0xc7000036 in ?? ()
#49 0x00082444 in ?? ()
#50 0x89000000 in ?? ()
#51 0x8904247c in ?? ()
#52 0x45e82434 in ?? ()
#53 0x85fffff8 in ?? ()
#54 0x313978c0 in ?? ()
#55 0x249c8bc0 in ?? ()
#56 0x000000a0 in ?? ()
#57 0xa424b48b in ?? ()
#58 0x8b000000 in ?? ()
#59 0x00a824bc in ?? ()
#60 0xc4810000 in ?? ()
#61 0x000000ac in ?? ()
#62 0x00768dc3 in ?? ()
#63 0xc0938409 in ?? ()
#64 0x81000036 in ?? ()
#65 0x009824a4 in ?? ()
#66 0xffff0000 in ?? ()
#67 0xb3ebefff in ?? () from /usr/lib/libopencv_imgproc.so.2.4
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa94ffb40 (LWP 3501)):
#0  0xb2d458a3 in ?? () from /usr/lib/libglib-2.0.so.0
#1  0xb2d76d04 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#2  0xb592e7bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#3  0xb58fb2ac in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb58fb5a1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb57e6b6c in QThread::exec() () from /usr/lib/libQtCore.so.4
#6  0xb58d98ad in ?? () from /usr/lib/libQtCore.so.4
#7  0xb57e9f78 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb25eb061 in ?? () from /usr/X11R6/lib/libGL.so.1
#9  0x5c8b0824 in ?? ()
#10 0xbab80424 in ?? ()
#11 0xcd000000 in ?? ()
#12 0x3dd38980 in ?? ()
#13 0xfffff001 in ?? ()
#14 0xe8c30173 in ?? ()
#15 0x000eb5b7 in ?? ()
#16 0x74a0c181 in ?? ()
#17 0x898b0014 in ?? ()
#18 0xffffff20 in ?? ()
#19 0x8965d8f7 in ?? ()
#20 0xffc88301 in ?? ()
#21 0x669066c3 in ?? ()
#22 0x66906690 in ?? ()
#23 0x90906690 in ?? ()
#24 0x00acec81 in ?? ()
#25 0x9c890000 in ?? ()
#26 0x0000a024 in ?? ()
#27 0xb581e800 in QRectF::operator&(QRectF const&) const () from /usr/lib/libQtCore.so.4
#28 0xa424b489 in ?? ()
#29 0x8b000000 in ?? ()
#30 0x00b024b4 in ?? ()
#31 0xbc890000 in ?? ()
#32 0x0000a824 in ?? ()
#33 0x247c8d00 in ?? ()
#34 0x247c8914 in ?? ()
#35 0x2444c708 in ?? ()
#36 0x00000004 in ?? ()
#37 0x24348900 in ?? ()
#38 0xfff88be8 in ?? ()
#39 0x78c085ff in ?? ()
#40 0xff4e8d7f in ?? ()
#41 0x000001b8 in ?? ()
#42 0xd3ca8900 in ?? ()
#43 0x248c8be0 in ?? ()
#44 0x000000b4 in ?? ()
#45 0x8505eac1 in ?? ()
#46 0xf74d75c9 in ?? ()
#47 0x248c81d0 in ?? ()
#48 0x00000098 in ?? ()
#49 0x10000000 in ?? ()
#50 0xc0938421 in ?? ()
#51 0xc7000036 in ?? ()
#52 0x00082444 in ?? ()
#53 0x89000000 in ?? ()
#54 0x8904247c in ?? ()
#55 0x45e82434 in ?? ()
#56 0x85fffff8 in ?? ()
#57 0x313978c0 in ?? ()
#58 0x249c8bc0 in ?? ()
#59 0x000000a0 in ?? ()
#60 0xa424b48b in ?? ()
#61 0x8b000000 in ?? ()
#62 0x00a824bc in ?? ()
#63 0xc4810000 in ?? ()
#64 0x000000ac in ?? ()
#65 0x00768dc3 in ?? ()
#66 0xc0938409 in ?? ()
#67 0x81000036 in ?? ()
#68 0x009824a4 in ?? ()
#69 0xffff0000 in ?? ()
#70 0xb3ebefff in ?? () from /usr/lib/libopencv_imgproc.so.2.4
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xad9d0a40 (LWP 3495)):
[KCrash Handler]
#4  0xb49d33d7 in strchrnul () from /lib/libc.so.6
#5  0xb49951cc in vfprintf () from /lib/libc.so.6
#6  0xb4a435b8 in __vsnprintf_chk () from /lib/libc.so.6
#7  0xb37333b6 in vsnprintf (__ap=0xbf94146c "\022\023\027\263 \317\027\263@(x\267H\354m\n\377\377\377\377csed", __fmt=0x64657363 <Address 0x64657363 out of bounds>, __fmt@entry=0xb3170fb0 "Tag '%lx' not found", __n=1023, __s=0xbf94104c "") at /usr/include/bits/stdio2.h:77
#8  cmsSignalError (ContextID=ContextID@entry=0x3000, ErrorCode=ErrorCode@entry=3004633008, ErrorText=ErrorText@entry=0x64657363 <Address 0x64657363 out of bounds>) at cmserr.c:409
#9  0xb31513ce in _cmsSearchTag (sig=icSigProfileDescriptionTag, Profile=<optimized out>, lSignalError=<optimized out>) at cmsio0.c:292
#10 _cmsSearchTag (Profile=Profile@entry=0xa6dec48, sig=sig@entry=icSigProfileDescriptionTag, lSignalError=lSignalError@entry=1) at cmsio0.c:279
#11 0xb315762a in cmsReadICCTextEx (hProfile=hProfile@entry=0xa6dec48, sig=sig@entry=icSigProfileDescriptionTag, Name=Name@entry=0xb317cf20 <Name.7468> "", size_max=size_max@entry=512) at cmsio1.c:1675
#12 0xb3157703 in cmsReadICCText (hProfile=hProfile@entry=0xa6dec48, sig=sig@entry=icSigProfileDescriptionTag, Text=Text@entry=0xb317cf20 <Name.7468> "") at cmsio1.c:1706
#13 0xb315883c in cmsTakeProductDesc (hProfile=0xa6dec48) at cmsio1.c:2218
#14 0xb68e2286 in Digikam::IccProfile::description (this=0xa676f10) at /usr/src/debug/digikam-3.0.0/core/libs/dimg/filters/icc/iccprofile.cpp:387
#15 0xb68eff9d in Digikam::IccSettings::loadAllProfilesProperties (this=0xa617988) at /usr/src/debug/digikam-3.0.0/core/libs/dimg/filters/icc/iccsettings.cpp:585
#16 0xbf941610 in ?? ()
#17 0xb49cab8a in malloc () from /lib/libc.so.6
#18 0x0a646a70 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Possible duplicates by query: bug 319070, bug 318991, bug 318989, bug 318987, bug 318861.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-05-01 07:59:04 UTC

*** This bug has been marked as a duplicate of bug 318721 ***
Comment 2 caulier.gilles 2017-07-23 12:56:08 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.