Bug 282921

Summary: Opening an .jpeg file from within a Dolpin browser causes a crash
Product: [Applications] digikam Reporter: Peter Terpstra <peter>
Component: Showfoto-LoadAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.9.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:

Description Peter Terpstra 2011-09-27 17:44:43 UTC
Application: showfoto (1.9.0)
KDE Platform Version: 4.6.5 (4.6.5) "release 7"
Qt Version: 4.7.4
Operating System: Linux 2.6.34.10-0.2-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

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

Opening an .jpeg file from within a Dolpin browser.
This happens every time.

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

Thread 2 (Thread 0x7fbb6ed3b710 (LWP 22974)):
#0  0x00007fbb7f94139c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fbb82d7bb7b in wait (this=<value optimized out>, mutex=0x9cc528, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x9cc528, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fbb848c8ae7 in Digikam::ParkingThread::run (this=0x9cc510) at /usr/src/debug/digikam-1.9.0/libs/threads/threadmanager.cpp:119
#4  0x00007fbb82d7b495 in QThreadPrivate::start (arg=0x9cc510) at thread/qthread_unix.cpp:331
#5  0x00007fbb7f93ca4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007fbb8164891d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbb84e427c0 (LWP 22970)):
[KCrash Handler]
#6  operator++ (this=0x2223700, ar=..., in=<value optimized out>) at /usr/include/c++/4.5/bits/stl_list.h:223
#7  __distance<std::_List_const_iterator<Exiv2::Exifdatum> > (this=0x2223700, ar=..., in=<value optimized out>) at /usr/include/c++/4.5/bits/stl_iterator_base_funcs.h:80
#8  distance<std::_List_const_iterator<Exiv2::Exifdatum> > (this=0x2223700, ar=..., in=<value optimized out>) at /usr/include/c++/4.5/bits/stl_iterator_base_funcs.h:115
#9  size (this=0x2223700, ar=..., in=<value optimized out>) at /usr/include/c++/4.5/bits/stl_list.h:806
#10 count (this=0x2223700, ar=..., in=<value optimized out>) at /usr/include/exiv2/exif.hpp:518
#11 empty (this=0x2223700, ar=..., in=<value optimized out>) at /usr/include/exiv2/exif.hpp:516
#12 JpegEndAnalyzer::analyze (this=0x2223700, ar=..., in=<value optimized out>) at /usr/src/debug/strigi-0.7.3.99/libstreamanalyzer/plugins/endplugins/jpegendanalyzer.cpp:300
#13 0x00007fbb7dbd2372 in Strigi::StreamAnalyzerPrivate::analyze (this=0x1a, idx=..., input=0xec7a30) at /usr/src/debug/strigi-0.7.3.99/libstreamanalyzer/lib/streamanalyzer.cpp:420
#14 0x00007fbb83d68c55 in KFileMetaInfoPrivate::init (this=<value optimized out>, stream=..., url=<value optimized out>, mtime=1203276086, w=<value optimized out>)
    at /usr/src/debug/kdelibs-4.6.5/kio/kio/kfilemetainfo.cpp:257
#15 0x00007fbb83df7c88 in KFileMetaInfo::KFileMetaInfo (this=0x7fff19595640, path=<value optimized out>, w=<value optimized out>) at /usr/src/debug/kdelibs-4.6.5/kio/kio/kfilemetainfo.cpp:286
#16 0x00007fbb83df7e2a in KFileItem::metaInfo (this=0x7fff19595c10, autoget=<value optimized out>, what=<value optimized out>) at /usr/src/debug/kdelibs-4.6.5/kio/kio/kfileitem.cpp:1266
#17 0x00007fbb8493ae16 in Digikam::ImagePropertiesSideBar::setImagePropertiesInformation (this=0x8799a0, url=<value optimized out>)
    at /usr/src/debug/digikam-1.9.0/libs/imageproperties/imagepropertiessidebar.cpp:225
#18 0x00007fbb8493a380 in Digikam::ImagePropertiesSideBar::slotChangedTab (this=0x8799a0, tab=0x983e80) at /usr/src/debug/digikam-1.9.0/libs/imageproperties/imagepropertiessidebar.cpp:159
#19 0x000000000042d6fd in ShowFoto::ShowFoto::slotChanged (this=0x807d30) at /usr/src/debug/digikam-1.9.0/showfoto/showfoto.cpp:647
#20 0x0000000000432511 in ShowFoto::ShowFoto::qt_metacall (this=0x807d30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff19595f60)
    at /usr/src/debug/digikam-1.9.0/build/showfoto/showfoto.moc:113
#21 0x00007fbb82e7bcaf in QMetaObject::activate (sender=0x886750, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#22 0x00007fbb84978b7e in Digikam::Canvas::qt_metacall (this=0x886750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff19596050)
    at /usr/src/debug/digikam-1.9.0/build/digikam/canvas.moc:179
#23 0x00007fbb82e7bcaf in QMetaObject::activate (sender=0x9583b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#24 0x00007fbb8496a70b in Digikam::DImgInterface::setModified (this=0x9583b0) at /usr/src/debug/digikam-1.9.0/utilities/imageeditor/canvas/dimginterface.cpp:648
#25 0x00007fbb8496b7ea in Digikam::DImgInterface::slotImageLoaded (this=0x9583b0, loadingDescription=<value optimized out>, img=<value optimized out>)
    at /usr/src/debug/digikam-1.9.0/utilities/imageeditor/canvas/dimginterface.cpp:419
#26 0x00007fbb8496f7a4 in Digikam::DImgInterface::qt_metacall (this=0x9583b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xf25f00)
    at /usr/src/debug/digikam-1.9.0/build/digikam/dimginterface.moc:108
#27 0x00007fbb82e7a92a in QObject::event (this=0x9583b0, e=<value optimized out>) at kernel/qobject.cpp:1226
#28 0x00007fbb8221c234 in QApplicationPrivate::notify_helper (this=0x6b4020, receiver=0x9583b0, e=0xc7b440) at kernel/qapplication.cpp:4481
#29 0x00007fbb822247ca in QApplication::notify (this=<value optimized out>, receiver=0x9583b0, e=0xc7b440) at kernel/qapplication.cpp:4360
#30 0x00007fbb837dd7f6 in KApplication::notify (this=0x7fff19596b60, receiver=0x9583b0, event=0xc7b440) at /usr/src/debug/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#31 0x00007fbb82e6697c in QCoreApplication::notifyInternal (this=0x7fff19596b60, receiver=0x9583b0, event=0xc7b440) at kernel/qcoreapplication.cpp:787
#32 0x00007fbb82e6a175 in sendEvent (receiver=0x0, event_type=0, data=0x64d920) at kernel/qcoreapplication.h:215
#33 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x64d920) at kernel/qcoreapplication.cpp:1428
#34 0x00007fbb82e91513 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#35 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#36 0x00007fbb7ad91a93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#37 0x00007fbb7ad92270 in ?? () from /usr/lib64/libglib-2.0.so.0
#38 0x00007fbb7ad92510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#39 0x00007fbb82e916af in QEventDispatcherGlib::processEvents (this=0x66a880, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#40 0x00007fbb822c217e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007fbb82e65db2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007fbb82e65fc5 in QEventLoop::exec (this=0x7fff19596ab0, flags=...) at kernel/qeventloop.cpp:201
#43 0x00007fbb82e6a42b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#44 0x000000000042aa13 in main (argc=6, argv=0x7fff19597818) at /usr/src/debug/digikam-1.9.0/showfoto/main.cpp:89

Reported using DrKonqi
Comment 1 caulier.gilles 2011-09-27 19:15:52 UTC

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