Bug 318762 - Digicam crash
Summary: Digicam crash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Backend (show other bugs)
Version: 3.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 11:54 UTC by Dima
Modified: 2022-02-01 11:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima 2013-04-23 11:54:48 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:
I try to use digicam first time. Start up sevseral times. Always crashes. In this moment also run VLC.

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 0xaf6cf780 (LWP 21654))]

Thread 3 (Thread 0xae73eb40 (LWP 21655)):
#0  0xb4353792 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0xb49dc85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#2  0xb578a550 in wait (time=4294967295, this=0xa6f24b8) at thread/qwaitcondition_unix.cpp:86
#3  QWaitCondition::wait (this=0xa6f2424, mutex=0xa6f2420, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#4  0x082117c6 in Digikam::ScanController::run (this=0xa605e60) at /usr/src/debug/digikam-3.0.0/core/digikam/database/scancontroller.cpp:698
#5  0xb5789f78 in QThreadPrivate::start (arg=0xa605e60) at thread/qthread_unix.cpp:338
#6  0xb434fb5e in start_thread () from /lib/libpthread.so.0
#7  0xb49cf16e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaddffb40 (LWP 21656)):
#0  0xb4352b54 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb49dcaa4 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0xb2d57f20 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#3  0xb2d1668a in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4  0xb2d16b62 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb2d16d31 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#6  0xb58ce7bf in QEventDispatcherGlib::processEvents (this=0xad400468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb589b2ac in QEventLoop::processEvents (this=this@entry=0xaddff1e8, flags=...) at kernel/qeventloop.cpp:149
#8  0xb589b5a1 in QEventLoop::exec (this=0xaddff1e8, flags=...) at kernel/qeventloop.cpp:204
#9  0xb5786b6c in QThread::exec (this=0xa6f3640) at thread/qthread.cpp:542
#10 0xb58798ad in QInotifyFileSystemWatcherEngine::run (this=0xa6f3640) at io/qfilesystemwatcher_inotify.cpp:256
#11 0xb5789f78 in QThreadPrivate::start (arg=0xa6f3640) at thread/qthread_unix.cpp:338
#12 0xb434fb5e in start_thread () from /lib/libpthread.so.0
#13 0xb49cf16e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaf6cf780 (LWP 21654)):
[KCrash Handler]
#5  0xb49733d7 in strchrnul () from /lib/libc.so.6
#6  0xb49351cc in vfprintf () from /lib/libc.so.6
#7  0xb49e35b8 in __vsnprintf_chk () from /lib/libc.so.6
#8  0xb36d33b6 in vsnprintf (__ap=0xbfd5b57c "\022\023\021\263 \317\021\263@Xr\267(\325x\n\377\377\377\377csed", __fmt=0x64657363 <Address 0x64657363 out of bounds>, __fmt@entry=0xb3110fb0 "Tag '%lx' not found", __n=1023, __s=0xbfd5b15c "") at /usr/include/bits/stdio2.h:77
#9  cmsSignalError (ContextID=ContextID@entry=0x3000, ErrorCode=ErrorCode@entry=3004239792, ErrorText=ErrorText@entry=0x64657363 <Address 0x64657363 out of bounds>) at cmserr.c:409
#10 0xb30f13ce in _cmsSearchTag (sig=icSigProfileDescriptionTag, Profile=<optimized out>, lSignalError=<optimized out>) at cmsio0.c:292
#11 _cmsSearchTag (Profile=Profile@entry=0xa78d528, sig=sig@entry=icSigProfileDescriptionTag, lSignalError=lSignalError@entry=1) at cmsio0.c:279
#12 0xb30f762a in cmsReadICCTextEx (hProfile=hProfile@entry=0xa78d528, sig=sig@entry=icSigProfileDescriptionTag, Name=Name@entry=0xb311cf20 <Name.7468> "", size_max=size_max@entry=512) at cmsio1.c:1675
#13 0xb30f7703 in cmsReadICCText (hProfile=hProfile@entry=0xa78d528, sig=sig@entry=icSigProfileDescriptionTag, Text=Text@entry=0xb311cf20 <Name.7468> "") at cmsio1.c:1706
#14 0xb30f883c in cmsTakeProductDesc (hProfile=0xa78d528) at cmsio1.c:2218
#15 0xb6882286 in Digikam::IccProfile::description (this=0xa6d8e48) at /usr/src/debug/digikam-3.0.0/core/libs/dimg/filters/icc/iccprofile.cpp:387
#16 0xb688ff9d in Digikam::IccSettings::loadAllProfilesProperties (this=0xa7aeb38) at /usr/src/debug/digikam-3.0.0/core/libs/dimg/filters/icc/iccsettings.cpp:585
#17 0xbfd5b720 in ?? ()
#18 0xb5a084ac in qDetectCPUFeatures()::features () from /usr/lib/libQtCore.so.4
#19 0xb5a084ac in qDetectCPUFeatures()::features () from /usr/lib/libQtCore.so.4
#20 0xffffffff in ?? ()
#21 0xbfd5ba00 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

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

Possible duplicates by query: bug 318744, bug 318730, bug 318721.

Reported using DrKonqi
Comment 1 caulier.gilles 2013-04-23 12:05:58 UTC

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