Bug 206803 - opening jpg with Showfoto causes crash
Summary: opening jpg with Showfoto causes crash
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Load (show other bugs)
Version: 0.10.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-09 00:18 UTC by Mike Welch
Modified: 2022-02-05 04:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Welch 2009-09-09 00:18:30 UTC
Application that crashed: showfoto
Version of the application: 0.10.0-beta7
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.28-14-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
Seems to happen with any jpgs when opening with Showfoto.  Similar issues with gwenview.  This has happened ever since update to 4.3.

 -- Backtrace:
Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 0 (LWP 32637)]

Thread 4 (Thread 0x7f8159db9950 (LWP 32642)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f81676f1d19 in QWaitCondition::wait (this=0x923ce0, mutex=0x923cd8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f816b79b114 in Digikam::LoadSaveThread::run (this=0x923cc0) at /home/nos/Desktop/Install/digikam-0.10.0-beta7/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f81676f0d35 in QThreadPrivate::start (arg=0x923cc0) at thread/qthread_unix.cpp:188
#4  0x00007f816621f3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8165122fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8159520950 (LWP 32643)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f81676f1d19 in QWaitCondition::wait (this=0x9cff60, mutex=0x9cff58, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f816b79b114 in Digikam::LoadSaveThread::run (this=0x9cff40) at /home/nos/Desktop/Install/digikam-0.10.0-beta7/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f81676f0d35 in QThreadPrivate::start (arg=0x9cff40) at thread/qthread_unix.cpp:188
#4  0x00007f816621f3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8165122fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8158d1f950 (LWP 32644)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f81676f1d19 in QWaitCondition::wait (this=0x9dbcb0, mutex=0x9dbca8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f816b79b114 in Digikam::LoadSaveThread::run (this=0x9dbc90) at /home/nos/Desktop/Install/digikam-0.10.0-beta7/libs/threadimageio/loadsavethread.cpp:129
#3  0x00007f81676f0d35 in QThreadPrivate::start (arg=0x9dbc90) at thread/qthread_unix.cpp:188
#4  0x00007f816621f3ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f8165122fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f816bced750 (LWP 32637)):
[KCrash Handler]
#5  0x00007f816043025c in ?? () from /usr/lib/libexiv2.so.5
#6  0x00007f814ebe7ffa in JpegEndAnalyzer::analyze (this=0xed8be0, ar=@0x7fff73d372d0, in=0xee04a0) at /home/nos/Desktop/Install/strigi-0.6.4/src/streamanalyzer/endplugins/jpegendanalyzer.cpp:283
#7  0x00007f8162f07c20 in Strigi::StreamAnalyzerPrivate::analyze (this=0xe8eea0, idx=@0x7fff73d372d0, input=0xee04a0)
    at /home/nos/Desktop/Install/strigi-0.6.4/src/streamanalyzer/streamanalyzer.cpp:417
#8  0x00007f8162f084f0 in Strigi::StreamAnalyzer::analyze (this=0xe1d320, idx=@0x7fff73d372d0, input=0x7fff73d37210)
    at /home/nos/Desktop/Install/strigi-0.6.4/src/streamanalyzer/streamanalyzer.cpp:361
#9  0x00007f8169f2f827 in KFileMetaInfoPrivate::init (this=0xde2a50, stream=<value optimized out>, url=<value optimized out>, mtime=1251340956)
    at /build/buildd/kde4libs-4.3.1/kio/kio/kfilemetainfo.cpp:201
#10 0x00007f8169f30dc2 in KFileMetaInfo (this=0x7fff73d37420, url=@0x7fff73d37410) at /build/buildd/kde4libs-4.3.1/kio/kio/kfilemetainfo.cpp:240
#11 0x00007f8169f197b9 in KFileItem::metaInfo (this=0x7fff73d379d0, autoget=<value optimized out>) at /build/buildd/kde4libs-4.3.1/kio/kio/kfileitem.cpp:1220
#12 0x00007f816b8344a8 in Digikam::ImagePropertiesSideBar::setImagePropertiesInformations (this=0x9c0660, url=<value optimized out>)
    at /home/nos/Desktop/Install/digikam-0.10.0-beta7/libs/imageproperties/imagepropertiessidebar.cpp:213
#13 0x00007f816b832824 in Digikam::ImagePropertiesSideBar::slotChangedTab (this=0x9c0660, tab=0x95e880)
    at /home/nos/Desktop/Install/digikam-0.10.0-beta7/libs/imageproperties/imagepropertiessidebar.cpp:148
#14 0x00000000004349f9 in ShowFoto::ShowFoto::slotChanged (this=0x9141d0) at /home/nos/Desktop/Install/digikam-0.10.0-beta7/showfoto/showfoto.cpp:699
#15 0x0000000000439034 in ShowFoto::ShowFoto::qt_metacall (this=0x9141d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73d37d30)
    at /home/nos/Desktop/Install/digikam-0.10.0-beta7/showfoto/showfoto.moc:109
#16 0x00007f81677efea2 in QMetaObject::activate (sender=0x9c0970, from_signal_index=<value optimized out>, to_signal_index=53, argv=0x1) at kernel/qobject.cpp:3113
#17 0x00007f816b870702 in Digikam::Canvas::qt_metacall (this=0x9c0970, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff73d37e30)
    at /home/nos/Desktop/Install/digikam-0.10.0-beta7/digikam/canvas.moc:172
#18 0x00007f81677efea2 in QMetaObject::activate (sender=0x95ab30, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x1) at kernel/qobject.cpp:3113
#19 0x00007f816b8635bb in Digikam::DImgInterface::setModified (this=0xeeda68) at /home/nos/Desktop/Install/digikam-0.10.0-beta7/utilities/imageeditor/canvas/dimginterface.cpp:704
#20 0x00007f816b865b46 in Digikam::DImgInterface::slotImageLoaded (this=0x95ab30, loadingDescription=@0x7f8154003920, img=@0x1)
    at /home/nos/Desktop/Install/digikam-0.10.0-beta7/utilities/imageeditor/canvas/dimginterface.cpp:440
#21 0x00007f816b868ec0 in Digikam::DImgInterface::qt_metacall (this=0x95ab30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f81540026b0)
    at /home/nos/Desktop/Install/digikam-0.10.0-beta7/digikam/dimginterface.moc:102
#22 0x00007f81677ea5d8 in QObject::event (this=0x95ab30, e=0x7f8154004d60) at kernel/qobject.cpp:1111
#23 0x00007f81685e9f4d in QApplicationPrivate::notify_helper (this=0x807980, receiver=0x95ab30, e=0x7f8154004d60) at kernel/qapplication.cpp:4056
#24 0x00007f81685f218a in QApplication::notify (this=0x7fff73d38d20, receiver=0x95ab30, e=0x7f8154004d60) at kernel/qapplication.cpp:4021
#25 0x00007f81699eedeb in KApplication::notify (this=0x7fff73d38d20, receiver=0x95ab30, event=0x7f8154004d60) at /build/buildd/kde4libs-4.3.1/kdeui/kernel/kapplication.cpp:302
#26 0x00007f81677da6ac in QCoreApplication::notifyInternal (this=0x7fff73d38d20, receiver=0x95ab30, event=0x7f8154004d60) at kernel/qcoreapplication.cpp:610
#27 0x00007f81677db31a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x7e5b80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 0x00007f8167803e03 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#29 0x00007f816164320a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007f81616468e0 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007f8161646a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007f8167803a8f in QEventDispatcherGlib::processEvents (this=0x7e57b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#33 0x00007f8168682bdf in QGuiEventDispatcherGlib::processEvents (this=0xeeda68, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#34 0x00007f81677d8f42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 1943243856}) at kernel/qeventloop.cpp:149
#35 0x00007f81677d9314 in QEventLoop::exec (this=0x7fff73d38c90, flags={i = 1943243936}) at kernel/qeventloop.cpp:201
#36 0x00007f81677db5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#37 0x0000000000430a53 in main (argc=<value optimized out>, argv=0x7fff73d39758) at /home/nos/Desktop/Install/digikam-0.10.0-beta7/showfoto/main.cpp:86

Reported using DrKonqi
Comment 1 caulier.gilles 2009-09-09 00:42:21 UTC
Please update to stable 0.10.0...

Crash appears in Exiv2 library. which version you use ? Go to Help/Components Info for details

Gilles Caulier
Comment 2 Dario Andres 2009-09-09 18:43:08 UTC
Marking as NEEDSINFO
Comment 3 caulier.gilles 2015-06-28 09:52:12 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 4 caulier.gilles 2015-08-23 14:34:59 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 5 caulier.gilles 2016-07-03 06:59:37 UTC
With digiKam 5.0.0, this problem is not reproducible.

I close this file now. Re-open it if necessary.

Gilles Caulier