Bug 212780 - Digikam crashes when opening large JPG
Summary: Digikam crashes when opening large JPG
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Backend (show other bugs)
Version: 1.0.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-02 18:37 UTC by Bruce Press
Modified: 2022-02-01 11:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Press 2009-11-02 18:37:29 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta5
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
Digikam crashed when opening a large JPG that was transfered directly from my Nikon D300. 

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f765be6f710 (LWP 17222))]

Thread 19 (Thread 0x7f7649080910 (LWP 17223)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00000000006c2ea3 in Digikam::ScanController::run (this=0x1064510) at /usr/src/debug/digikam-1.0.0-beta5/digikam/scancontroller.cpp:499
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f7644f1a910 (LWP 17232)):
#0  0x00007f76555560e9 in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x00007f764f8723a1 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f764f872b90 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f764f872fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7656815d16 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007f76567ec032 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x00007f76567ec404 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007f7656704f7b in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7655c8437d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f7644719910 (LWP 17233)):
#0  0x00007f7655554cb2 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f764f8726f5 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f764f872a91 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f764f872fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7656815d16 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007f76567ec032 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x00007f76567ec404 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007f7656704f7b in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7655c8437d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f7643e98910 (LWP 17234)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x10e7d10) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f7643697910 (LWP 17235)):
#0  0x00007f765681606f in ?? () from /usr/lib64/libQtCore.so.4
#1  0x00007f764f8723aa in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f764f872b90 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f764f872fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f7656815d16 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007f76567ec032 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#6  0x00007f76567ec404 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007f7656704f7b in QThread::exec () from /usr/lib64/libQtCore.so.4
#8  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#10 0x00007f7655c8437d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f7642e96910 (LWP 17236)):
#0  0x00007f764f8726b8 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f764f872a91 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f764f872fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f7656815d16 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#4  0x00007f76567ec032 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#5  0x00007f76567ec404 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#6  0x00007f7656704f7b in QThread::exec () from /usr/lib64/libQtCore.so.4
#7  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f7642695910 (LWP 17237)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x1152400) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f763a571910 (LWP 17240)):
#0  0x00007f7655c92170 in ?? () from /lib64/libc.so.6
#1  0x00007f7655c7a7d8 in poll () from /lib64/libc.so.6
#2  0x00007f76559985df in ?? () from /usr/lib64/libpulse.so.0
#3  0x00007f7655988bf6 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#4  0x00007f7655989fd9 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#5  0x00007f765598a090 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#6  0x00007f76559984fb in ?? () from /usr/lib64/libpulse.so.0
#7  0x00007f764e98c900 in ?? () from /usr/lib64/libpulsecommon-0.9.19.so
#8  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#9  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f7634c4d910 (LWP 17251)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f7634c4cd30 in ?? ()
#2  0x00007ffff1fff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 10 (Thread 0x7f76373a8910 (LWP 17252)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x2e27c90) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f7633be2910 (LWP 17259)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x373f180) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f7637bf8910 (LWP 17260)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f7637bf7d30 in ?? ()
#2  0x00007ffff1fff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7f76367dc910 (LWP 17261)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x3f0d2c0) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7632be0910 (LWP 17551)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x5edd8b0) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f76323df910 (LWP 17552)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x4f18830) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f76224d8910 (LWP 17560)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x4fa43b0) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7621ca2910 (LWP 17561)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f7621ca1d30 in ?? ()
#2  0x00007ffff1fff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x7f76214a1910 (LWP 17562)):
#0  0x00007f7655556e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7656708dab in QWaitCondition::wait () from /usr/lib64/libQtCore.so.4
#2  0x00007f76595dd9e2 in Digikam::LoadSaveThread::run (this=0x518c4c0) at /usr/src/debug/digikam-1.0.0-beta5/libs/threadimageio/loadsavethread.cpp:136
#3  0x00007f7656707cf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f76555527cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f7655c8437d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f765be6f710 (LWP 17222)):
[KCrash Handler]
#5  0x00007f76576c5f8b in QAbstractButton::setChecked () from /usr/lib64/libQtGui.so.4
#6  0x00007f76596d58da in Digikam::ColorCorrectionDlg::readSettings (this=0x5729ee0) at /usr/src/debug/digikam-1.0.0-beta5/utilities/imageeditor/canvas/colorcorrectiondlg.cpp:687
#7  0x00007f76596d74cc in ColorCorrectionDlg (this=0x5729ee0, mode=<value optimized out>, preview=<value optimized out>, file=@0x5f59780, parent=<value optimized out>)
    at /usr/src/debug/digikam-1.0.0-beta5/utilities/imageeditor/canvas/colorcorrectiondlg.cpp:181
#8  0x00007f76596ea269 in Digikam::IccManager::postLoadingManage (this=0x7ffff1f26c90, parent=0x5197ea0) at /usr/src/debug/digikam-1.0.0-beta5/utilities/imageeditor/canvas/iccmanager.cpp:218
#9  0x00007f7659701c16 in Digikam::EditorWindow::colorManage (this=0x5197ea0) at /usr/src/debug/digikam-1.0.0-beta5/utilities/imageeditor/editor/editorwindow.cpp:1387
#10 0x00007f7659701d6e in Digikam::EditorWindow::slotLoadingFinished (this=0x5197ea0, success=true) at /usr/src/debug/digikam-1.0.0-beta5/utilities/imageeditor/editor/editorwindow.cpp:1361
#11 0x00007f765971314b in Digikam::EditorWindow::qt_metacall (this=0x5197ea0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff1f26e80)
    at /usr/src/debug/digikam-1.0.0-beta5/build/digikam/editorwindow.moc:179
#12 0x000000000046d710 in Digikam::ImageWindow::qt_metacall (this=0x0, _c=QMetaObject::ReadProperty, _id=1, _a=0x1) at /usr/src/debug/digikam-1.0.0-beta5/build/digikam/imagewindow.moc:121
#13 0x00007f76568028dc in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#14 0x00007f76596ed8e6 in Digikam::Canvas::signalLoadingFinished (this=0x0, _t1=<value optimized out>, _t2=true) at /usr/src/debug/digikam-1.0.0-beta5/build/digikam/canvas.moc:261
#15 0x00007f76596f1aa8 in Digikam::Canvas::slotImageLoaded (this=0x5060450, filePath=@0x5e16818, success=true) at /usr/src/debug/digikam-1.0.0-beta5/utilities/imageeditor/canvas/canvas.cpp:281
#16 0x00007f76596f2758 in Digikam::Canvas::qt_metacall (this=0x5060450, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffff1f27090)
    at /usr/src/debug/digikam-1.0.0-beta5/build/digikam/canvas.moc:174
#17 0x00007f76568028dc in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#18 0x00007f76596db6f6 in Digikam::DImgInterface::signalImageLoaded (this=0x0, _t1=<value optimized out>, _t2=true) at /usr/src/debug/digikam-1.0.0-beta5/build/digikam/dimginterface.moc:146
#19 0x00007f76596def29 in Digikam::DImgInterface::slotImageLoaded (this=0x407f270, loadingDescription=<value optimized out>, img=@0x0)
    at /usr/src/debug/digikam-1.0.0-beta5/utilities/imageeditor/canvas/dimginterface.cpp:361
#20 0x00007f76596e3704 in Digikam::DImgInterface::qt_metacall (this=0x407f270, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x6597f30)
    at /usr/src/debug/digikam-1.0.0-beta5/build/digikam/dimginterface.moc:102
#21 0x00007f76567fcbf9 in QObject::event () from /usr/lib64/libQtCore.so.4
#22 0x00007f765736212c in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#23 0x00007f76573693fe in QApplication::notify () from /usr/lib64/libQtGui.so.4
#24 0x00007f76581cb326 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#25 0x00007f76567ed6fc in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#26 0x00007f76567ee30a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/libQtCore.so.4
#27 0x00007f7656816123 in ?? () from /usr/lib64/libQtCore.so.4
#28 0x00007f764f86f4ce in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f764f872e98 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f764f872fc0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f7656815cc3 in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#32 0x00007f76573f564e in ?? () from /usr/lib64/libQtGui.so.4
#33 0x00007f76567ec032 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#34 0x00007f76567ec404 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#35 0x00007f76567ee5b9 in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#36 0x0000000000759ed2 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/digikam-1.0.0-beta5/digikam/main.cpp:186

Reported using DrKonqi
Comment 1 caulier.gilles 2009-11-02 18:46:55 UTC
Crash appears in Color Management.

With current code from SVN (beta6) a lots of code have been fixed.

I recommend to  :

-give us your JPEG file to test here.
-give us your CM config.
-try if you can with current implementation.

Gilles Caulier
Comment 2 Bruce Press 2009-11-02 19:14:14 UTC
Thanks! I tried without colormanagement and it worked.  Then I reset my profiles and that worked.  I must have messed something up when organizing my ICC profiles directory.