Bug 271414 - showFoto crashes, when loading a pic for the first time
Summary: showFoto crashes, when loading a pic for the first time
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-04-21 11:54 UTC by Axel Krebs
Modified: 2022-02-05 04:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.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-04-21 11:54:07 UTC
Application: showfoto (2.0.0-beta4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-28-generic-pae i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Just wanted to load a jpg-pic besides digiKam, which is running for hours, already. 

At first loading attempt showFoto crashes. 

When loading again, showFoto works without problems

The crash can be reproduced every time.

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

Thread 4 (Thread 0xaf4e9b70 (LWP 26502)):
#0  0xb76fa424 in __kernel_vsyscall ()
#1  0xb522ddf6 in poll () from /lib/libc.so.6
#2  0xb432fa1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb432243c in ?? () from /lib/libglib-2.0.so.0
#4  0xb4322ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb144f9c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb434948f in ?? () from /lib/libglib-2.0.so.0
#7  0xb455ecc9 in start_thread () from /lib/libpthread.so.0
#8  0xb523c69e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xac9fab70 (LWP 26503)):
#0  0xb76fa424 in __kernel_vsyscall ()
#1  0xb45634dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb5249d9d in pthread_cond_wait () from /lib/libc.so.6
#3  0xb54589c7 in wait (this=0x877bfd0, mutex=0x877bfcc, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x877bfd0, mutex=0x877bfcc, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0xb749d71a in Digikam::ParkingThread::run (this=0x877bfc0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/threads/threadmanager.cpp:119
#6  0xb5457df9 in QThreadPrivate::start (arg=0x877bfc0) at thread/qthread_unix.cpp:266
#7  0xb455ecc9 in start_thread () from /lib/libpthread.so.0
#8  0xb523c69e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xabdfcb70 (LWP 26510)):
#0  0xb3806e36 in clock_gettime () from /lib/librt.so.1
#1  0xb54b350b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0xb558a6e5 in QTimerInfoList::updateCurrentTime (this=0x8965134) at kernel/qeventdispatcher_unix.cpp:339
#4  0xb558a72a in QTimerInfoList::timerWait (this=0x8965134, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0xb55887a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xabdfbf2c) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb558883d in timerSourcePrepare (source=0x0, timeout=0xb380aff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb4321e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb4322279 in ?? () from /lib/libglib-2.0.so.0
#9  0xb4322848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb558859f in QEventDispatcherGlib::processEvents (this=0x876cba0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0xb5558609 in QEventLoop::processEvents (this=0xabdfc100, flags=) at kernel/qeventloop.cpp:149
#12 0xb5558a8a in QEventLoop::exec (this=0xabdfc100, flags=...) at kernel/qeventloop.cpp:201
#13 0xb5454b7e in QThread::exec (this=0x8978e28) at thread/qthread.cpp:490
#14 0xb553735b in QInotifyFileSystemWatcherEngine::run (this=0x8978e28) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5457df9 in QThreadPrivate::start (arg=0x8978e28) at thread/qthread_unix.cpp:266
#16 0xb455ecc9 in start_thread () from /lib/libpthread.so.0
#17 0xb523c69e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaf9618a0 (LWP 26501)):
[KCrash Handler]
#7  0xb3efc7a8 in vtable for Exiv2::AsciiValue () from /usr/lib/libexiv2.so.10
#8  0xac08df5e in JpegEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_jpeg.so
#9  0xb3a406c2 in ?? () from /usr/lib/libstreamanalyzer.so.0
#10 0xb6e6b0d2 in KFileMetaInfoPrivate::init (this=0x8c86180, stream=..., url=..., mtime=1183820492, w=...) at ../../kio/kio/kfilemetainfo.cpp:257
#11 0xb6e6d248 in KFileMetaInfo::KFileMetaInfo (this=0xbf9e96ac, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#12 0xb6e50073 in KFileItem::metaInfo (this=0xbf9e98f8, autoget=true, what=12) at ../../kio/kio/kfileitem.cpp:1266
#13 0xb7553d5d in Digikam::ImagePropertiesSideBar::setImagePropertiesInformation (this=0x8785b20, url=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/imageproperties/imagepropertiessidebar.cpp:226
#14 0xb7551853 in Digikam::ImagePropertiesSideBar::slotChangedTab (this=0x8785b20, tab=0x8782670) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/imageproperties/imagepropertiessidebar.cpp:158
#15 0xb7551aeb in Digikam::ImagePropertiesSideBar::itemChanged (this=0x8785b20, url=..., rect=..., img=0x87d50ac) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/libs/imageproperties/imagepropertiessidebar.cpp:111
#16 0x0807e0ab in ShowFoto::ShowFoto::slotChanged (this=0x86fe208) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/showfoto/main/showfoto.cpp:652
#17 0x08084106 in ShowFoto::ShowFoto::qt_metacall (this=0x86fe208, _c=QMetaObject::InvokeMetaMethod, _id=123, _a=0xbf9e9b3c) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/showfoto/showfoto.moc:113
#18 0xb555f8ca in QMetaObject::metacall (object=0x86fe208, cl=3214840852, idx=123, argv=0xbf9e9b3c) at kernel/qmetaobject.cpp:237
#19 0xb55726ad in QMetaObject::activate (sender=0x8776540, m=0xb76d6144, local_signal_index=3, argv=0x8cd0cb8) at kernel/qobject.cpp:3280
#20 0xb75b25c7 in Digikam::Canvas::signalChanged (this=0x8776540) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/canvas.moc:220
#21 0xb75b4c78 in Digikam::Canvas::slotModified (this=0x8776540) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/utilities/imageeditor/canvas/canvas.cpp:1507
#22 0xb75b54b8 in Digikam::Canvas::qt_metacall (this=0x8776540, _c=QMetaObject::InvokeMetaMethod, _id=87, _a=0xbf9e9c7c) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/canvas.moc:184
#23 0xb555f8ca in QMetaObject::metacall (object=0x8776540, cl=3214840852, idx=87, argv=0xbf9e9c7c) at kernel/qmetaobject.cpp:237
#24 0xb55726ad in QMetaObject::activate (sender=0x87535f0, m=0xb76d60e4, local_signal_index=0, argv=0x8cd0cb8) at kernel/qobject.cpp:3280
#25 0xb75a5237 in Digikam::DImgInterface::signalModified (this=0x87535f0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/dimginterface.moc:130
#26 0xb75a5265 in Digikam::DImgInterface::setModified (this=0x87535f0) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/utilities/imageeditor/canvas/dimginterface.cpp:840
#27 0xb75a6c0f in Digikam::DImgInterface::slotImageLoaded (this=0x87535f0, loadingDescription=..., img=...) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/utilities/imageeditor/canvas/dimginterface.cpp:450
#28 0xb75ab794 in Digikam::DImgInterface::qt_metacall (this=0x87535f0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0xaeb0f650) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/obj-i686-linux-gnu/digikam/dimginterface.moc:114
#29 0xb555f8ca in QMetaObject::metacall (object=0x87535f0, cl=3214840852, idx=13, argv=0xaeb0f650) at kernel/qmetaobject.cpp:237
#30 0xb556adf6 in QMetaCallEvent::placeMetaCall (this=0xaeb2fb78, object=0x87535f0) at kernel/qobject.cpp:534
#31 0xb556c6a2 in QObject::event (this=0x87535f0, e=0x8a2a288) at kernel/qobject.cpp:1219
#32 0xb5addfdc in QApplicationPrivate::notify_helper (this=0x865ad38, receiver=0x87535f0, e=0xaeb2fb78) at kernel/qapplication.cpp:4396
#33 0xb5ae404e in QApplication::notify (this=0xbf9ea618, receiver=0x87535f0, e=0xaeb2fb78) at kernel/qapplication.cpp:3798
#34 0xb684882a in KApplication::notify (this=0xbf9ea618, receiver=0x87535f0, event=0xaeb2fb78) at ../../kdeui/kernel/kapplication.cpp:311
#35 0xb5559b3b in QCoreApplication::notifyInternal (this=0xbf9ea618, receiver=0x87535f0, event=0xaeb2fb78) at kernel/qcoreapplication.cpp:732
#36 0xb555cd8b in sendEvent (receiver=0x0, event_type=0, data=0x8614e30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8614e30) at kernel/qcoreapplication.cpp:1373
#38 0xb555cf4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#39 0xb5588a74 in sendPostedEvents (s=0x865d140) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x865d140) at kernel/qeventdispatcher_glib.cpp:277
#41 0xb431e855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#42 0xb4322668 in ?? () from /lib/libglib-2.0.so.0
#43 0xb4322848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#44 0xb5588565 in QEventDispatcherGlib::processEvents (this=0x8614b98, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#45 0xb5b9fbe5 in QGuiEventDispatcherGlib::processEvents (this=0x8614b98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#46 0xb5558609 in QEventLoop::processEvents (this=0xbf9ea584, flags=) at kernel/qeventloop.cpp:149
#47 0xb5558a8a in QEventLoop::exec (this=0xbf9ea584, flags=...) at kernel/qeventloop.cpp:201
#48 0xb555d00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#49 0xb5adce07 in QApplication::exec () at kernel/qapplication.cpp:3672
#50 0x0807c0aa in main (argc=5, argv=0xbf9ea7b4) at /build/buildd/digikam2-2.0.0~beta4+maverick~ppa4kde46/showfoto/main/main.cpp:89

Reported using DrKonqi
Comment 1 caulier.gilles 2011-04-21 15:02:31 UTC

*** This bug has been marked as a duplicate of bug 264945 ***
Comment 2 caulier.gilles 2021-05-07 17:27:21 UTC
Not reproducible with Showfoto o7.3.0 and Exiv2 0.27.4