Bug 276795 - showphoto crashes when open a pic
Summary: showphoto crashes when open a pic
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Load (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-30 04:18 UTC by Axel Krebs
Modified: 2022-02-04 22:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Krebs 2011-06-30 04:18:52 UTC
Application: showfoto (2.0.0-rc)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-30-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
Just as an information: bug seems to be persistent even in newest version of digiKam/showfoto

The crash can be reproduced every time.

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

Thread 4 (Thread 0xaee3cb70 (LWP 2577)):
#0  0xb5348fa9 in pthread_mutex_unlock () from /lib/libc.so.6
#1  0xb469efee in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0xb469f279 in ?? () from /lib/libglib-2.0.so.0
#3  0xb469fba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0xb178e9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#5  0xb46c648f in ?? () from /lib/libglib-2.0.so.0
#6  0xb48dccc9 in start_thread () from /lib/libpthread.so.0
#7  0xb533b69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xac358b70 (LWP 2578)):
#0  0xb77f0424 in __kernel_vsyscall ()
#1  0xb48e14dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5348d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb55579c7 in wait (this=0x9ab1218, mutex=0x9ab1214, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9ab1218, mutex=0x9ab1214, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb75962aa in Digikam::ParkingThread::run (this=0x9ab1208) at /build/buildd/digikam2-2.0.0~rc1/core/libs/threads/threadmanager.cpp:119
#6  0xb5556df9 in QThreadPrivate::start (arg=0x9ab1208) at thread/qthread_unix.cpp:266
#7  0xb48dccc9 in start_thread () from /lib/libpthread.so.0
#8  0xb533b69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xab775b70 (LWP 2579)):
#0  0xb3b90e36 in clock_gettime () from /lib/librt.so.1
#1  0xb55b250b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb56896e5 in QTimerInfoList::updateCurrentTime (this=0xae5005fc) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb568972a in QTimerInfoList::timerWait (this=0xae5005fc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb56877a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xab774f1c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb568783d in timerSourcePrepare (source=0x0, timeout=0xb3b94ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb469ee6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb469f279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb469f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb568759f in QEventDispatcherGlib::processEvents (this=0xae500700, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb5657609 in QEventLoop::processEvents (this=0xab7750f0, flags=) at kernel/qeventloop.cpp:149
#12 0xb5657a8a in QEventLoop::exec (this=0xab7750f0, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5553b7e in QThread::exec (this=0x9ceaa80) at thread/qthread.cpp:490
#14 0xb563635b in QInotifyFileSystemWatcherEngine::run (this=0x9ceaa80) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5556df9 in QThreadPrivate::start (arg=0x9ceaa80) at thread/qthread_unix.cpp:266
#16 0xb48dccc9 in start_thread () from /lib/libpthread.so.0
#17 0xb533b69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaf31c8b0 (LWP 2576)):
[KCrash Handler]
#7  0xb4277b88 in vtable for Exiv2::ExifKey () from /usr/lib/libexiv2.so.10
#8  0xa70c2f5e in JpegEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_jpeg.so
#9  0xb3dcb6c2 in ?? () from /usr/lib/libstreamanalyzer.so.0
#10 0xb6f6a0d2 in KFileMetaInfoPrivate::init (this=0xa1198e0, stream=..., url=..., mtime=1305235368, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#11 0xb6f6c248 in KFileMetaInfo::KFileMetaInfo (this=0xbfafbbcc, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#12 0xb6f4f073 in KFileItem::metaInfo (this=0xbfafc010, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1266
#13 0xb75fbeaa in Digikam::ThumbBarToolTip::tipContents (this=0x9bde1c0) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/q3support/thumbbar.cpp:1476
#14 0xb75b11d7 in Digikam::DItemToolTip::updateToolTip (this=0x9bde1c0) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/common/ditemtooltip.cpp:189
#15 0xb75f5dff in Digikam::ThumbBarToolTip::setItem (this=0x9bde1c0, item=0x9fa9390) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/q3support/thumbbar.cpp:1386
#16 0xb75f5e9e in Digikam::ThumbBarView::slotToolTip (this=0x9bdb570) at /build/buildd/digikam2-2.0.0~rc1/core/libs/widgets/q3support/thumbbar.cpp:943
#17 0xb75f7b33 in Digikam::ThumbBarView::qt_metacall (this=0x9bdb570, _c=QMetaObject::InvokeMetaMethod, _id=58, _a=0xbfafc1cc) at /build/buildd/digikam2-2.0.0~rc1/obj-i686-linux-gnu/core/digikam/thumbbar.moc:96
#18 0xb565e8ca in QMetaObject::metacall (object=0x9bdb570, cl=3215964468, idx=58, argv=0xbfafc1cc) at kernel/qmetaobject.cpp:237
#19 0xb56716ad in QMetaObject::activate (sender=0x9bdc9f0, m=0xb578b5a4, local_signal_index=0, argv=0x9fa9390) at kernel/qobject.cpp:3280
#20 0xb56c31e7 in QTimer::timeout (this=0x9bdc9f0) at .moc/release-shared/moc_qtimer.cpp:134
#21 0xb56771ce in QTimer::timerEvent (this=0x9bdc9f0, e=0xbfafc700) at kernel/qtimer.cpp:271
#22 0xb566b504 in QObject::event (this=0x9bdc9f0, e=0x9fa9350) at kernel/qobject.cpp:1183
#23 0xb5bdcfdc in QApplicationPrivate::notify_helper (this=0x99b5c28, receiver=0x9bdc9f0, e=0xbfafc700) at kernel/qapplication.cpp:4396
#24 0xb5be304e in QApplication::notify (this=0xbfafca58, receiver=0x9bdc9f0, e=0xbfafc700) at kernel/qapplication.cpp:3798
#25 0xb694782a in KApplication::notify (this=0xbfafca58, receiver=0x9bdc9f0, event=0xbfafc700) at ../../kdeui/kernel/kapplication.cpp:311
#26 0xb5658b3b in QCoreApplication::notifyInternal (this=0xbfafca58, receiver=0x9bdc9f0, event=0xbfafc700) at kernel/qcoreapplication.cpp:732
#27 0xb568aad6 in sendEvent (this=0x99b867c) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QTimerInfoList::activateTimers (this=0x99b867c) at kernel/qeventdispatcher_unix.cpp:602
#29 0xb56878a7 in timerSourceDispatch (source=0x99b86b0) at kernel/qeventdispatcher_glib.cpp:184
#30 idleTimerSourceDispatch (source=0x99b86b0) at kernel/qeventdispatcher_glib.cpp:231
#31 0xb469b855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0xb469f668 in ?? () from /lib/libglib-2.0.so.0
#33 0xb469f848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0xb5687565 in QEventDispatcherGlib::processEvents (this=0x997f580, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#35 0xb5c9ebe5 in QGuiEventDispatcherGlib::processEvents (this=0x997f580, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0xb5657609 in QEventLoop::processEvents (this=0xbfafc9c4, flags=) at kernel/qeventloop.cpp:149
#37 0xb5657a8a in QEventLoop::exec (this=0xbfafc9c4, flags=...) at kernel/qeventloop.cpp:201
#38 0xb565c00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#39 0xb5bdbe07 in QApplication::exec () at kernel/qapplication.cpp:3672
#40 0x0807cd9a in main (argc=5, argv=0xbfafcbf4) at /build/buildd/digikam2-2.0.0~rc1/core/showfoto/main/main.cpp:89

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

Possible duplicates by query: bug 268889.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-06-30 07:08:51 UTC
Git commit 291fb66b7027f1a9a6eef459c106690e0df6686a by Gilles Caulier.
Committed on 30/06/2011 at 09:07.
Pushed by cgilles into branch 'master'.

Another place where KFileMetaInfo must not be used to prevent crash in strigi.
CCBUGS: 264945
BUG: 276795

M  +4    -24   libs/widgets/q3support/thumbbar.cpp     

http://commits.kde.org/digikam/291fb66b7027f1a9a6eef459c106690e0df6686a