Bug 275423

Summary: ShowFoto crashes when viewing JPEG files
Product: [Applications] digikam Reporter: Sam Pera <sam.chola+kdebugs>
Component: Showfoto-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Sam Pera 2011-06-11 20:14:20 UTC
Application: showfoto (2.0.0-beta5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed: I was perusing the contents of a folder containing about 350 JPG files. The photos were taken with a dSLR so they are rather large, 2-5MB each. I had just finished calibrating my monitor, and updated the icc profiles showPhoto uses for both the monitor and the camera. I pressed the button on the lower right hand corner on the screen that toggles color management several times to compare the effect the new profile had.

-- Backtrace:
Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 1 (Thread 0xaff89ae0 (LWP 20694))]

Thread 5 (Thread 0xafabab70 (LWP 20695)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb529edf6 in poll () from /lib/libc.so.6
#2  0xb462ba1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb461e43c in ?? () from /lib/libglib-2.0.so.0
#4  0xb461eba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb16c69c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb464548f in ?? () from /lib/libglib-2.0.so.0
#7  0xb485bcc9 in start_thread () from /lib/libpthread.so.0
#8  0xb52ad69e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xacca7b70 (LWP 20696)):
#0  0xb7760424 in __kernel_vsyscall ()
#1  0xb48604dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb52bad9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb54c99c7 in wait (this=0xa242368, mutex=0xa242364, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa242368, mutex=0xa242364, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb750269a in Digikam::ParkingThread::run (this=0xa242358) at /build/buildd/digikam2-2.0.0~beta5/core/libs/threads/threadmanager.cpp:119
#6  0xb54c8df9 in QThreadPrivate::start (arg=0xa242358) at thread/qthread_unix.cpp:266
#7  0xb485bcc9 in start_thread () from /lib/libpthread.so.0
#8  0xb52ad69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xac0ccb70 (LWP 20697)):
#0  0xb3b02e36 in clock_gettime () from /lib/librt.so.1
#1  0xb552450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb55fb6e5 in QTimerInfoList::updateCurrentTime (this=0xa495bf4) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb55fb72a in QTimerInfoList::timerWait (this=0xa495bf4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb55f97a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xac0cbf2c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb55f983d in timerSourcePrepare (source=0x0, timeout=0xb3b06ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb461de6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb461e279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb461e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb55f959f in QEventDispatcherGlib::processEvents (this=0xa487b98, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb55c9609 in QEventLoop::processEvents (this=0xac0cc100, flags=) at kernel/qeventloop.cpp:149
#12 0xb55c9a8a in QEventLoop::exec (this=0xac0cc100, flags=...) at kernel/qeventloop.cpp:201
#13 0xb54c5b7e in QThread::exec (this=0xa487868) at thread/qthread.cpp:490
#14 0xb55a835b in QInotifyFileSystemWatcherEngine::run (this=0xa487868) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb54c8df9 in QThreadPrivate::start (arg=0xa487868) at thread/qthread_unix.cpp:266
#16 0xb485bcc9 in start_thread () from /lib/libpthread.so.0
#17 0xb52ad69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaad23b70 (LWP 20715)):
#0  0xb3b02e36 in clock_gettime () from /lib/librt.so.1
#1  0xb552450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb55fb6e5 in QTimerInfoList::updateCurrentTime (this=0xb2cd6d4) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb55fb72a in QTimerInfoList::timerWait (this=0xb2cd6d4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb55f97a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaad22f2c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb55f983d in timerSourcePrepare (source=0x0, timeout=0xb3b06ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb461de6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb461e279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb461e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb55f959f in QEventDispatcherGlib::processEvents (this=0xb2c4998, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb55c9609 in QEventLoop::processEvents (this=0xaad23100, flags=) at kernel/qeventloop.cpp:149
#12 0xb55c9a8a in QEventLoop::exec (this=0xaad23100, flags=...) at kernel/qeventloop.cpp:201
#13 0xb54c5b7e in QThread::exec (this=0xb1fe690) at thread/qthread.cpp:490
#14 0xb55a835b in QInotifyFileSystemWatcherEngine::run (this=0xb1fe690) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb54c8df9 in QThreadPrivate::start (arg=0xb1fe690) at thread/qthread_unix.cpp:266
#16 0xb485bcc9 in start_thread () from /lib/libpthread.so.0
#17 0xb52ad69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaff89ae0 (LWP 20694)):
[KCrash Handler]
#7  0x00000010 in ?? ()
#8  0xab74df5e in JpegEndAnalyzer::analyze (this=0xb1115b8, ar=..., in=0xb163c38) at /build/buildd/strigi-0.7.2/src/streamanalyzer/endplugins/jpegendanalyzer.cpp:298
#9  0xb3d3d6c2 in Strigi::StreamAnalyzerPrivate::analyze (this=0xb5751c8, idx=..., input=0xb163c38) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#10 0xb6edc0d2 in KFileMetaInfoPrivate::init (this=0xae7c270, stream=..., url=..., mtime=1306662782, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#11 0xb6ede248 in KFileMetaInfo::KFileMetaInfo (this=0xbff1900c, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#12 0xb6ec1073 in KFileItem::metaInfo (this=0xbff193d0, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1266
#13 0xb7567e28 in Digikam::ThumbBarToolTip::tipContents (this=0xa222ae8) at /build/buildd/digikam2-2.0.0~beta5/core/libs/widgets/q3support/thumbbartooltip.cpp:185
#14 0xb751d3a7 in Digikam::DItemToolTip::updateToolTip (this=0xa222ae8) at /build/buildd/digikam2-2.0.0~beta5/core/libs/widgets/common/ditemtooltip.cpp:189
#15 0xb75672ef in Digikam::ThumbBarToolTip::setItem (this=0xa222ae8, item=0xb59c728) at /build/buildd/digikam2-2.0.0~beta5/core/libs/widgets/q3support/thumbbartooltip.cpp:95
#16 0xb7560f0e in Digikam::ThumbBarView::slotToolTip (this=0xa210bf8) at /build/buildd/digikam2-2.0.0~beta5/core/libs/widgets/q3support/thumbbar.cpp:941
#17 0xb7562343 in Digikam::ThumbBarView::qt_metacall (this=0xa210bf8, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbff1958c) at /build/buildd/digikam2-2.0.0~beta5/obj-i686-linux-gnu/core/digikam/thumbbar.moc:96
#18 0xb55d08ca in QMetaObject::metacall (object=0xa210bf8, cl=3220278644, idx=58, argv=0xbff1958c) at kernel/qmetaobject.cpp:237
#19 0xb55e36ad in QMetaObject::activate (sender=0xa216138, m=0xb56fd5a4, local_signal_index=0, argv=0xb59c728) at kernel/qobject.cpp:3280
#20 0xb56351e7 in QTimer::timeout (this=0xa216138) at .moc/release-shared/moc_qtimer.cpp:134
#21 0xb55e91ce in QTimer::timerEvent (this=0xa216138, e=0xbff19ac0) at kernel/qtimer.cpp:271
#22 0xb55dd504 in QObject::event (this=0xa216138, e=0xb59c680) at kernel/qobject.cpp:1183
#23 0xb5b4efdc in QApplicationPrivate::notify_helper (this=0xa024d18, receiver=0xa216138, e=0xbff19ac0) at kernel/qapplication.cpp:4396
#24 0xb5b5504e in QApplication::notify (this=0xbff19e18, receiver=0xa216138, e=0xbff19ac0) at kernel/qapplication.cpp:3798
#25 0xb68b982a in KApplication::notify (this=0xbff19e18, receiver=0xa216138, event=0xbff19ac0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0xb55cab3b in QCoreApplication::notifyInternal (this=0xbff19e18, receiver=0xa216138, event=0xbff19ac0) at kernel/qcoreapplication.cpp:732
#27 0xb55fcad6 in sendEvent (this=0xa027fa4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0xa027fa4) at kernel/qeventdispatcher_unix.cpp:602
#29 0xb55f98a7 in timerSourceDispatch (source=0xa028400) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0xa028400) at kernel/qeventdispatcher_glib.cpp:231
#31 0xb461a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0xb461e668 in ?? () from /lib/libglib-2.0.so.0
#33 0xb461e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0xb55f9565 in QEventDispatcherGlib::processEvents (this=0x9fee508, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#35 0xb5c10be5 in QGuiEventDispatcherGlib::processEvents (this=0x9fee508, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0xb55c9609 in QEventLoop::processEvents (this=0xbff19d84, flags=) at kernel/qeventloop.cpp:149
#37 0xb55c9a8a in QEventLoop::exec (this=0xbff19d84, flags=...) at kernel/qeventloop.cpp:201
#38 0xb55ce00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#39 0xb5b4de07 in QApplication::exec () at kernel/qapplication.cpp:3672
#40 0x0807cb4a in main (argc=6, argv=0xbff19fb4) at /build/buildd/digikam2-2.0.0~beta5/core/showfoto/main/main.cpp:89

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

Possible duplicates by query: bug 271096, bug 269674, bug 269188.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-06-11 21:20:29 UTC

*** This bug has been marked as a duplicate of bug 264945 ***
Comment 2 caulier.gilles 2022-01-20 06:46:26 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=264945