Bug 261115

Summary: Strigi crashes when loading JPEG file
Product: [Unmaintained] kdelibs Reporter: Bob Kowalski <bk011048>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: caulier.gilles, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bob Kowalski 2010-12-24 00:30:08 UTC
Version:           1.7.0 (using KDE 4.5.90) 
OS:                Linux

Showfoto always crashes if I use it to open a JPEG but it opens without a problem Canon RAW files (*.CR2).

This also happened with version 1.6 and before upgrading to KDE SC 4.6 RC1

Reproducible: Always

Steps to Reproduce:
Start Showfoto Open JPEG. 

or 

start digikam and then right click, choose "open with..." choose showfoto.

Actual Results:  
crash

Expected Results:  
allow me to edit the JPEG. 

OS: Linux (x86_64) release 2.6.37-11-generic
Compiler: cc

BACKTRACE:

Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0deaa59800 (LWP 4801))]

Thread 4 (Thread 0x7f0dd2839700 (LWP 4803)):
#0  0x00007f0de54a2c7c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0de7c560eb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f0dea4d3cf7 in ?? () from /usr/lib/libdigikamcore.so.1
#3  0x00007f0de7c55a2e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f0de549dd8c in start_thread () from /lib/libpthread.so.0
#5  0x00007f0de71a061d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0dd1f9d700 (LWP 4804)):
#0  0x00007f0de1ac90f7 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f0de1aca024 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f0de1aca6c9 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0de7d67f26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f0de7d3c362 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f0de7d3c59c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f0de7c53274 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f0de7d1e82f in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f0de7c55a2e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f0de549dd8c in start_thread () from /lib/libpthread.so.0
#10 0x00007f0de71a061d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0dcb5eb700 (LWP 4811)):
#0  0x00007f0de54a2ffb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f0de7c5605e in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f0de7c4c108 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f0de7c55a2e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f0de549dd8c in start_thread () from /lib/libpthread.so.0
#5  0x00007f0de71a061d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0deaa59800 (LWP 4801)):
[KCrash Handler]
#6  0x00007f0dc91c6bfc in JpegEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_jpeg.so
#7  0x00007f0de3658f7a in ?? () from /usr/lib/libstreamanalyzer.so.0
#8  0x00007f0de998f201 in ?? () from /usr/lib/libkio.so.5
#9  0x00007f0de998fa5f in KFileMetaInfo::KFileMetaInfo(QString const&, QString const&, QFlags<KFileMetaInfo::What>) () from /usr/lib/libkio.so.5
#10 0x00007f0de997b535 in KFileItem::metaInfo(bool, int) const () from /usr/lib/libkio.so.5
#11 0x00007f0dea54851d in Digikam::ImagePropertiesSideBar::setImagePropertiesInformation(KUrl const&) () from /usr/lib/libdigikamcore.so.1
#12 0x00007f0dea547a70 in Digikam::ImagePropertiesSideBar::slotChangedTab(QWidget*) () from /usr/lib/libdigikamcore.so.1
#13 0x000000000042e614 in _start ()
Comment 1 Raphael Kubo da Costa 2010-12-25 02:06:41 UTC
This is a crash in Strigi, so please report it upstream on Strigi's bug tracker: http://sourceforge.net/tracker/?group_id=171000&atid=856302