Bug 264945

Summary: Showfoto 1.9 (strigi relevant), installed in /usr/local/bin along with digiKam 1.9, crashes when opening many, but not all, jpegs.
Product: [Applications] digikam Reporter: Elle Stone <elle>
Component: Showfoto-LoadAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: axel.krebs, caulier.gilles, christian, errol, frank78ac, gstateo, johannes.schwall, morlix, peter, remur, RussellH, rydberg, sam.chola+kdebugs
Priority: NOR    
Version: 2.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 2.0.0
Sentry Crash Report:
Attachments: jpeg that crashes showfoto

Description Elle Stone 2011-01-31 13:18:07 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

Showfoto 1.9, installed in /usr/local/bin along with digiKam 1.9, crashes when opening many, but not all, jpegs (different sources - camera, web, imagemagick).

Showfot 1.8, installed in /usr/bin via Synaptic from ppa:philip5/extra, does not crash when opening the same images. Also gimp and krita open the affected jpegs with no problem.

If it makes a difference, I did an "along-side" installation of 1.9, but that feature isn't working.

Reproducible: Always

Steps to Reproduce:
Try to open an affected jpeg with showfoto 1.9 installed from svn.

Actual Results:  
showfoto crashes.

Expected Results:  
The image should open and showfoto shouldn't crash.

crash handler information:
Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb5c6b4e7c0 (LWP 2206))]

Thread 5 (Thread 0x7fb5aec19700 (LWP 2207)):
#0  0x00007fb5c2777a9c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb5c29fee3b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb5c650ac1d in Digikam::ParkingThread::run (this=0x1d73eb0) at /home/elle/trunk/digikam/libs/threads/threadmanager.cpp:119
#3  0x00007fb5c29fe27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb5c2773971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fb5c1d3092d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb5ae418700 (LWP 2208)):
#0  0x00007fb5be1578b3 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007fb5be157e78 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fb5be15845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fb5c2b1e1e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007fb5c2af0a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007fb5c2af0dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007fb5c29fb2fd in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb5c2ad05f8 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb5c29fe27e in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fb5c2773971 in start_thread () from /lib/libpthread.so.0
#10 0x00007fb5c1d3092d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb5ab727700 (LWP 2216)):
#0  0x00007fb5c2777e09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb5c29feda2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb5c29f3da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fb5c29fe27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb5c2773971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fb5c1d3092d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb5a8f22700 (LWP 2217)):
#0  0x00007fb5c2777e09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fb5c29feda2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007fb5c29f3da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fb5c29fe27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fb5c2773971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fb5c1d3092d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb5c6b4e7c0 (LWP 2206)):
[KCrash Handler]
#6  0x0000000c00000002 in ?? ()
#7  0x00007fb5a0b6ebff in JpegEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_jpeg.so
#8  0x00007fb5bc048f7a in ?? () from /usr/lib/libstreamanalyzer.so.0
#9  0x00007fb5c58d41f5 in ?? () from /usr/lib/libkio.so.5
#10 0x00007fb5c58d5f33 in KFileMetaInfo::KFileMetaInfo(QString const&, QString const&, QFlags<KFileMetaInfo::What>) () from /usr/lib/libkio.so.5
#11 0x00007fb5c58badda in KFileItem::metaInfo(bool, int) const () from /usr/lib/libkio.so.5
#12 0x00007fb5c65ad56f in Digikam::ImagePropertiesSideBar::setImagePropertiesInformation (this=0x1e00800, url=...) at /home/elle/trunk/digikam/libs/imageproperties/imagepropertiessidebar.cpp:225
#13 0x00007fb5c65aca2f in Digikam::ImagePropertiesSideBar::slotChangedTab (this=0x1e00800, tab=0x1d93fd0) at /home/elle/trunk/digikam/libs/imageproperties/imagepropertiessidebar.cpp:159
#14 0x00007fb5c65ac6e1 in Digikam::ImagePropertiesSideBar::itemChanged (this=0x1e00800, url=..., rect=..., img=0x1d8aa50) at /home/elle/trunk/digikam/libs/imageproperties/imagepropertiessidebar.cpp:115
#15 0x000000000043e3eb in ShowFoto::ShowFoto::slotChanged (this=0x1cf3a60) at /home/elle/trunk/digikam/showfoto/showfoto.cpp:647
#16 0x000000000043a084 in ShowFoto::ShowFoto::qt_metacall (this=0x1cf3a60, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff848cf860) at /home/elle/trunk/digikam/build/showfoto/showfoto.moc:113
#17 0x00007fb5c2b09b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007fb5c65f7e15 in Digikam::Canvas::signalChanged (this=0x1dd6b40) at /home/elle/trunk/digikam/build/digikam/canvas.moc:215
#19 0x00007fb5c65ff423 in Digikam::Canvas::slotModified (this=0x1dd6b40) at /home/elle/trunk/digikam/utilities/imageeditor/canvas/canvas.cpp:1507
#20 0x00007fb5c65f7c4e in Digikam::Canvas::qt_metacall (this=0x1dd6b40, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0x7fff848cf9d0) at /home/elle/trunk/digikam/build/digikam/canvas.moc:179
#21 0x00007fb5c2b09b27 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x00007fb5c65ee5b7 in Digikam::DImgInterface::signalModified (this=0x1dafa20) at /home/elle/trunk/digikam/build/digikam/dimginterface.moc:124
#23 0x00007fb5c65f19eb in Digikam::DImgInterface::setModified (this=0x1dafa20) at /home/elle/trunk/digikam/utilities/imageeditor/canvas/dimginterface.cpp:648
#24 0x00007fb5c65efdc1 in Digikam::DImgInterface::slotImageLoaded (this=0x1dafa20, loadingDescription=..., img=...) at /home/elle/trunk/digikam/utilities/imageeditor/canvas/dimginterface.cpp:419
#25 0x00007fb5c65ee4d1 in Digikam::DImgInterface::qt_metacall (this=0x1dafa20, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x311a6b0) at /home/elle/trunk/digikam/build/digikam/dimginterface.moc:108
#26 0x00007fb5c2b03bde in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007fb5c3722fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007fb5c3728aed in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007fb5c4c46156 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#30 0x00007fb5c2af1cdc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x00007fb5c2af4c22 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#32 0x00007fb5c2b1e653 in ?? () from /usr/lib/libQtCore.so.4
#33 0x00007fb5be154342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007fb5be1582a8 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007fb5be15845c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007fb5c2b1e193 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0x00007fb5c37d5a4e in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007fb5c2af0a02 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x00007fb5c2af0dec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#40 0x00007fb5c2af4ebb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#41 0x000000000043956d in main (argc=1, argv=0x7fff848d0828) at /home/elle/trunk/digikam/showfoto/main.cpp:89


terminal output:
elle@light:~$ showfoto
Time elapsed: 18 ms
Model: Time elapsed: 55 ms
TextureColorizer: Time elapsed: 17 ms
showfoto(2358)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Color"
showfoto(2358)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Decorate"
showfoto(2358)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Enhance"
showfoto(2358)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_FxFilters"
showfoto(2358)/digikam (core) Digikam::ImagePluginLoader::loadPluginsFromList: ImagePluginLoader: Loaded plugin  "ImagePlugin_Transform"
showfoto(2358)/digikam (core) Digikam::ImageDialog::ImageDialog: file formats= "*.ppm *.png *.pbm *.xpm *.ico *.xbm *.jpeg *.jpe *.jpg *.jfif *.pnm *.rgb *.pcx *.icb *.tpic *.vda *.tga *.vst *.psd *.jp2 *.jpf *.jpx *.jpc *.j2k *.xcf *.gif *.pgm *.bmp *.dib *.pic *.tif *.tiff *.eps *.epsf *.epsi *.hdr *.pic *.dds *.exr *.sun *.mng*.bay *.bmq *.cr2 *.crw *.cs1 *.dc2 *.dcr *.dng *.erf *.fff *.hdr *.k25 *.kdc *.mdc *.mos *.mrw *.nef *.orf *.pef *.pxn *.raf *.raw *.rdc *.sr2 *.srf *.x3f *.arw *.3fr *.cine *.ia *.kc2 *.mef *.nrw *.qtk *.rw2 *.sti *.rwl  *.JPE *.TIF *.PGF|All Pictures
*.bay *.bmq *.cr2 *.crw *.cs1 *.dc2 *.dcr *.dng *.erf *.fff *.hdr *.k25 *.kdc *.mdc *.mos *.mrw *.nef *.orf *.pef *.pxn *.raf *.raw *.rdc *.sr2 *.srf *.x3f *.arw *.3fr *.cine *.ia *.kc2 *.mef *.nrw *.qtk *.rw2 *.sti *.rwl |Camera RAW files
*.bmp *.dib|Windows BMP image
*.dds|DirectDraw surface
*.eps *.epsf *.epsi|EPS image
*.exr|EXR image
*.gif|GIF image
*.hdr *.pic|HDR image
*.icb *.tpic *.vda *.tga *.vst|TGA image
*.ico|Microsoft icon
*.jp2 *.jpf *.jpx *.jpc *.j2k|JPEG-2000 image
*.jpeg *.jpe *.jpg *.jfif|JPEG Image
*.mng|MNG animation
*.pbm|PBM image
*.pcx|PCX image
*.pgm|PGM image
*.pic|Softimage PIC image
*.png|PNG image
*.pnm|PNM image
*.ppm|PPM image
*.psd|Photoshop image
*.rgb|RGB image
*.sun|Sun raster image
*.tif *.tiff|TIFF image
*.xbm|XBM image
*.xcf|GIMP image
*.xpm|XPM image
*.pgf|Progressive Graphics file"
showfoto(2358)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/usr/share/mime/magic"
showfoto(2358)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing  "/home/elle/.local/share/mime/magic"
showfoto(2358)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
showfoto(2358)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
showfoto(2358)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
showfoto(2358)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Image.DateTime =>  QDateTime("Mon Jan 31 06:02:42 2011")
showfoto(2358)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
showfoto(2358)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
showfoto(2358)/KEXIV2 KExiv2Iface::KExiv2::getImageDateTime: DateTime => Exif.Image.DateTime =>  QDateTime("Mon Jan 31 06:02:42 2011")
showfoto(2358)/digikam (core) Digikam::DImg::load: "/media/d6/InternetImagesILike/pop_yamamoto1170_cranes-gimpsave.jpg"  : JPEG file identified
showfoto(2358)/digikam (core) Digikam::isJpegImage: mimetype =  "JPEG"
showfoto(2358)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
showfoto(2358)/KEXIV2 KExiv2Iface::KExiv2::getImageOrientation: Orientation => Exif.Image.Orientation =>  1
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
KCrash: Application 'showfoto' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/elle/.kde/socket-light/kdeinit4__0
libpng error: Write Error
QFile::at: Cannot set file position 0 

[1]+  Stopped                 showfoto
elle@light:~$
Comment 1 caulier.gilles 2011-01-31 13:30:41 UTC
Crash appears in strigi analyser...

Gilles Caulier
Comment 2 caulier.gilles 2011-01-31 13:33:23 UTC
Note to Strigi developpers : Code from Showfoto is there :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/imageproperties/imagepropertiessidebar.cpp#225

Gilles Caulier
Comment 3 Frank Reininghaus 2011-01-31 14:55:35 UTC
Strigi has got its own bug tracker at 

http://sourceforge.net/tracker/?group_id=171000&atid=856302

I don't know though if Strigi developers read the issues reported there regularly (most Strigi web content is quite out of date).

In any case, it might help to upload a file which makes it crash.
Comment 4 Elle Stone 2011-02-01 13:21:36 UTC
On a hunch, I tried opening one of the jpegs that make showfoto 1.9
crash, two different ways, directly and via digiKam 1.9.

Launch directly (as in my bug report), using the command line
"/usr/local/bin/showfoto" and open the jpeg - showfoto 1.9 crashes
reliably.

Instead of launching directly, first open digiKam 1.9
("/usr/local/bin/digikam") and then open the same jpeg by
right-clicking on the image in digiKam and selecting "open with
showfoto". showfoto 1.9 opens all the jpegs without crashing.

And as before, launch showfoto 1.8 directly by typing
"/usr/bin/showfoto" and showfoto 1.8 opens the jpeg without crashing.
Comment 5 Karsten König 2011-02-04 19:21:19 UTC
Can you provide a jpg on which it crashes as a testcase?
Comment 6 Elle Stone 2011-02-05 02:46:06 UTC
Attached is a jpeg that crashes showfoto 1.9 in /usr/bin from svn
(yesterday, not the same installation as the original bug report) and
also digikam 2.0.0 beta2 (side-along svn in /user/local/bin) when
showfoto (either version) is started by right-clicking the image and
opening with showfoto. It also crashes showfoto when opened from
within digikam 1.9 (svn /usr/bin yesterday).

If I remove all the metadata with "mogrify -strip" the image opens just fine.

The same thing happens with some, but not all jpegs downloaded from
the internet.


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

Thread 3 (Thread 0x7f7a29f5d700 (LWP 5143)):
#0  0x00007f7a3b0e6a9c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f7a3df46e3b in QWaitCondition::wait(QMutex*, unsigned long)
() from /usr/lib/libQtCore.so.4
#2  0x00007f7a41a2cec2 in ?? () from /usr/lib/libdigikamcore.so.1
#3  0x00007f7a3df4627e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f7a3b0e2971 in start_thread () from /lib/libpthread.so.0
#5  0x00007f7a3d49592d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7a2975c700 (LWP 5144)):
#0  0x00007fff035ff85d in ?? ()
#1  0x00007fff035ff945 in clock_gettime ()
#2  0x00007f7a355820bf in clock_gettime () from /lib/librt.so.1
#3  0x00007f7a3df9b94f in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f7a3e0681fd in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f7a3e068225 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00007f7a3e0663dd in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f7a3e066485 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f7a3a005a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f7a3a005e78 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f7a3a00645c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f7a3e0661e6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQtCore.so.4
#12 0x00007f7a3e038a02 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#13 0x00007f7a3e038dec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#14 0x00007f7a3df432fd in QThread::exec() () from /usr/lib/libQtCore.so.4
#15 0x00007f7a3e0185f8 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007f7a3df4627e in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f7a3b0e2971 in start_thread () from /lib/libpthread.so.0
#18 0x00007f7a3d49592d in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7a41fd97c0 (LWP 5142)):
[KCrash Handler]
#6  0x00007f7a38362390 in vtable for Exiv2::ExifKey () from
/usr/local/lib/libexiv2.so.10
#7  0x00007f7a1e7cebff in
JpegEndAnalyzer::analyze(Strigi::AnalysisResult&,
Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_jpeg.so
#8  0x00007f7a37a11f7a in ?? () from /usr/lib/libstreamanalyzer.so.0
#9  0x00007f7a40eac585 in ?? () from /usr/lib/libkio.so.5
#10 0x00007f7a40eae2c3 in KFileMetaInfo::KFileMetaInfo(QString const&,
QString const&, QFlags<KFileMetaInfo::What>) () from
/usr/lib/libkio.so.5
#11 0x00007f7a40e931ca in KFileItem::metaInfo(bool, int) const () from
/usr/lib/libkio.so.5
#12 0x00007f7a41abbc91 in
Digikam::ImagePropertiesSideBar::setImagePropertiesInformation(KUrl
const&) () from /usr/lib/libdigikamcore.so.1
#13 0x00007f7a41ab9ce4 in
Digikam::ImagePropertiesSideBar::slotChangedTab(QWidget*) () from
/usr/lib/libdigikamcore.so.1
#14 0x000000000043966d in ?? ()
#15 0x000000000043f5a1 in ?? ()
#16 0x00007f7a3e051b27 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00007f7a41b07a76 in
Digikam::Canvas::qt_metacall(QMetaObject::Call, int, void**) () from
/usr/lib/libdigikamcore.so.1
#18 0x00007f7a3e051b27 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007f7a41af8a9b in Digikam::DImgInterface::setModified() ()
from /usr/lib/libdigikamcore.so.1
#20 0x00007f7a41afa80a in
Digikam::DImgInterface::slotImageLoaded(Digikam::LoadingDescription
const&, Digikam::DImg const&) () from /usr/lib/libdigikamcore.so.1
#21 0x00007f7a41afdc14 in
Digikam::DImgInterface::qt_metacall(QMetaObject::Call, int, void**) ()
from /usr/lib/libdigikamcore.so.1
#22 0x00007f7a3e04bbde in QObject::event(QEvent*) () from
/usr/lib/libQtCore.so.4
#23 0x00007f7a3ec96fdc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f7a3ec9caed in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#25 0x00007f7a401f7a36 in KApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libkdeui.so.5
#26 0x00007f7a3e039cdc in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f7a3e03cc22 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
() from /usr/lib/libQtCore.so.4
#28 0x00007f7a3e066653 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007f7a3a002342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007f7a3a0062a8 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007f7a3a00645c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007f7a3e066193 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQtCore.so.4
#33 0x00007f7a3ed49a4e in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007f7a3e038a02 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#35 0x00007f7a3e038dec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#36 0x00007f7a3e03cebb in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#37 0x0000000000436f93 in ?? ()
#38 0x00007f7a3d3cdd8e in __libc_start_main () from /lib/libc.so.6
#39 0x0000000000411ac9 in _start ()


On 2/4/11, Karsten König <remur@gmx.net> wrote:
> https://bugs.kde.org/show_bug.cgi?id=264945
>
>
> Karsten König <remur@gmx.net> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |remur@gmx.net
>
>
>
>
> --- Comment #5 from Karsten König <remur gmx net>  2011-02-04 19:21:19 ---
> Can you provide a jpg on which it crashes as a testcase?
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 7 Karsten König 2011-02-05 09:23:23 UTC
You forgot to attach the jpg file ;-)
Also could you try running xmlindexer on the file? KFileMetaInfo has some unwelcome influence on strigi =/
Comment 8 Elle Stone 2011-02-05 13:18:21 UTC
Sorry about the image - guess I didn't find the right button. Hope it
works this time.

What is KFileMetaInfo? How to "run xmlindexer on the file"?

The only strigi-related items installed on my computer according to
synaptic are:

libstreamanalyzer0    0.7.2-1
libstreams0    0.7.2-1
shared-desktop-ontologies   0.5-1

No strigi client, daemon, utils or dbg or any of the other
strigi-related libs or plugins are installed.

The main reason there are any kde applications at all on my computer
is digiKam/ShowFoto.

My installation (ubuntu 10.10 with kubuntu backports enabled for kde
4.6) was done as a minimal command-line install, with icewm as my
"desktop". If digiKam/showFoto would run more smoothly with more kde
stuff, what do I need?

Elle
Comment 9 Elle Stone 2011-02-05 13:38:15 UTC
Created attachment 56892 [details]
jpeg that crashes showfoto
Comment 10 Elle Stone 2011-02-05 17:34:48 UTC
I uploaded the jpeg to the bug report:
https://bugs.kde.org/show_bug.cgi?id=264945

I tried twice with gmail and it shows both times that it sent the
jpeg, but apparently it really didn't.

Elle



On 2/5/11, Karsten König <remur@gmx.net> wrote:
> https://bugs.kde.org/show_bug.cgi?id=264945
>
>
>
>
>
> --- Comment #7 from Karsten König <remur gmx net>  2011-02-05 09:23:23 ---
> You forgot to attach the jpg file ;-)
> Also could you try running xmlindexer on the file? KFileMetaInfo has some
> unwelcome influence on strigi =/
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 11 Karsten König 2011-02-05 18:23:16 UTC
xmlindexer is a part of strigi, this analyses files for kde to generate metainfo (in the case of graphics for example the dimensions).

the call would look like this: 'xmlindexer small.jpg'

KFileMetaInfo will use libstrigi0 to get the file informations.


I am unsure how this is triggered if it crashes with showfoto 1.9 and not with 1.8 =(
Comment 12 Elle Stone 2011-02-05 19:27:28 UTC
Actually it does crash with 1.8 as installed from kubuntu backports. I
had to totally uninstall and reinstall kde and my graphics driver
because all kde apps were suddenly beset by the "floating point
exception" problem. In the process I removed the phillip5 repository
and somehow I ended up overwriting the digikam 1.9svn installation.

It also crashes with 2.0.0beta2 installed in /usr/local/bin. "Edit"
(which I am assuming really is showfoto) within digikam2 beta2 doesn't
crash. So far no tif has crashed. Only most but not all jpegs crash if
opened with showfoto directly (either right-click within digikam or
with digikam not running).

I don't see "KFileMetaInfo" or "libstrigi0" in synaptic. I installed
"strigi" to run xmlindexer for you:

xmlindexer /media/d6/esp/digikam/small.jpg
<?xml version='1.0' encoding='UTF-8'?>
<metadata>
 <file uri='/media/d6/esp/digikam/small.jpg' mtime='0'>
  <value name='http://www.w3.org/1999/02/22-rdf-syntax-ns#type'>http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject</value>
  <value name='http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName'>small.jpg</value>
  <value name='http://www.semanticdesktop.org/ontologies/2007/01/19/nie#lastModified'>0</value>
  <value name='http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url'>/media/d6/esp/digikam/small.jpg</value>
  <value name='http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf'></value>
  <value name='http://strigi.sf.net/ontologies/0.9#depth'>0</value>
 </file>
</metadata>

Here's a 2-beta2 trace:
Application: showFoto (showfoto), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fd6f21c49a0 (LWP 3693))]

Thread 6 (Thread 0x7fd6d144e700 (LWP 3694)):
#0  0x00007fd6ea989a9c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007fd6edc9ce3b in QWaitCondition::wait(QMutex*, unsigned long)
() from /usr/lib/libQtCore.so.4
#2  0x00007fd6f1b3afa5 in Digikam::ParkingThread::run (this=0x1acccd0)
at /home/elle/trunk/digikam-2.0.0-beta2/core/libs/threads/threadmanager.cpp:119
#3  0x00007fd6edc9c27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6ea985971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fd6ed1eb92d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fd6cec7d700 (LWP 3698)):
#0  0x00007fd6edcf1911 in ?? () from /usr/lib/libQtCore.so.4
#1  0x00007fd6eddbe1fd in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007fd6eddbe225 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd6eddbc3dd in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6eddbc485 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fd6e9101a11 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x00007fd6e9101e78 in ?? () from /lib/libglib-2.0.so.0
#7  0x00007fd6e910245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x00007fd6eddbc1e6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQtCore.so.4
#9  0x00007fd6edd8ea02 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#10 0x00007fd6edd8edec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#11 0x00007fd6edc992fd in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x00007fd6edd6e5f8 in ?? () from /usr/lib/libQtCore.so.4
#13 0x00007fd6edc9c27e in ?? () from /usr/lib/libQtCore.so.4
#14 0x00007fd6ea985971 in start_thread () from /lib/libpthread.so.0
#15 0x00007fd6ed1eb92d in clone () from /lib/libc.so.6
#16 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd6cde5b700 (LWP 3706)):
#0  0x00007fd6ea989e09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007fd6edc9cda2 in QWaitCondition::wait(QMutex*, unsigned long)
() from /usr/lib/libQtCore.so.4
#2  0x00007fd6edc91da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd6edc9c27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6ea985971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fd6ed1eb92d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd6bd177700 (LWP 3707)):
#0  0x00007fd6ea989e09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007fd6edc9cda2 in QWaitCondition::wait(QMutex*, unsigned long)
() from /usr/lib/libQtCore.so.4
#2  0x00007fd6edc91da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd6edc9c27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6ea985971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fd6ed1eb92d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd6bc976700 (LWP 3708)):
#0  0x00007fd6ea989e09 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007fd6edc9cda2 in QWaitCondition::wait(QMutex*, unsigned long)
() from /usr/lib/libQtCore.so.4
#2  0x00007fd6edc91da2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007fd6edc9c27e in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007fd6ea985971 in start_thread () from /lib/libpthread.so.0
#5  0x00007fd6ed1eb92d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd6f21c49a0 (LWP 3693)):
[KCrash Handler]
#6  0x00007fd6ed4844e8 in ?? () from /lib/libc.so.6
#7  0x00007fd6c77efbff in
JpegEndAnalyzer::analyze(Strigi::AnalysisResult&,
Strigi::StreamBase<char>*) () from /usr/lib/strigi/strigiea_jpeg.so
#8  0x00007fd6e662ef7a in ?? () from /usr/lib/libstreamanalyzer.so.0
#9  0x00007fd6f0c02585 in ?? () from /usr/lib/libkio.so.5
#10 0x00007fd6f0c042c3 in KFileMetaInfo::KFileMetaInfo(QString const&,
QString const&, QFlags<KFileMetaInfo::What>) () from
/usr/lib/libkio.so.5
#11 0x00007fd6f0be91ca in KFileItem::metaInfo(bool, int) const () from
/usr/lib/libkio.so.5
#12 0x00007fd6f1bea7ff in
Digikam::ImagePropertiesSideBar::setImagePropertiesInformation
(this=0x1a939b0, url=...) at
/home/elle/trunk/digikam-2.0.0-beta2/core/libs/imageproperties/imagepropertiessidebar.cpp:226
#13 0x00007fd6f1be9c9e in
Digikam::ImagePropertiesSideBar::slotChangedTab (this=0x1a939b0,
tab=0x1ad00f0) at
/home/elle/trunk/digikam-2.0.0-beta2/core/libs/imageproperties/imagepropertiessidebar.cpp:158
#14 0x00007fd6f1be9923 in Digikam::ImagePropertiesSideBar::itemChanged
(this=0x1a939b0, url=..., rect=..., img=0x1a5bb20) at
/home/elle/trunk/digikam-2.0.0-beta2/core/libs/imageproperties/imagepropertiessidebar.cpp:111
#15 0x000000000043fc19 in ShowFoto::ShowFoto::slotChanged
(this=0x19d5720) at
/home/elle/trunk/digikam-2.0.0-beta2/core/showfoto/showfoto.cpp:652
#16 0x000000000043b86c in ShowFoto::ShowFoto::qt_metacall
(this=0x19d5720, _c=QMetaObject::InvokeMetaMethod, _id=10,
_a=0x7fffd9613c40) at
/home/elle/trunk/digikam-2.0.0-beta2/build/core/showfoto/showfoto.moc:113
#17 0x00007fd6edda7b27 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x00007fd6f1c41fd9 in Digikam::Canvas::signalChanged
(this=0x1a410e0) at
/home/elle/trunk/digikam-2.0.0-beta2/build/core/digikam/canvas.moc:220
#19 0x00007fd6f1c49743 in Digikam::Canvas::slotModified
(this=0x1a410e0) at
/home/elle/trunk/digikam-2.0.0-beta2/core/utilities/imageeditor/canvas/canvas.cpp:1504
#20 0x00007fd6f1c41e12 in Digikam::Canvas::qt_metacall
(this=0x1a410e0, _c=QMetaObject::InvokeMetaMethod, _id=37,
_a=0x7fffd9613db0) at
/home/elle/trunk/digikam-2.0.0-beta2/build/core/digikam/canvas.moc:184
#21 0x00007fd6edda7b27 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#22 0x00007fd6f1c386bf in Digikam::DImgInterface::signalModified
(this=0x1a78570) at
/home/elle/trunk/digikam-2.0.0-beta2/build/core/digikam/dimginterface.moc:130
#23 0x00007fd6f1c3cfd7 in Digikam::DImgInterface::setModified
(this=0x1a78570) at
/home/elle/trunk/digikam-2.0.0-beta2/core/utilities/imageeditor/canvas/dimginterface.cpp:830
#24 0x00007fd6f1c3a156 in Digikam::DImgInterface::slotImageLoaded
(this=0x1a78570, loadingDescription=..., img=...) at
/home/elle/trunk/digikam-2.0.0-beta2/core/utilities/imageeditor/canvas/dimginterface.cpp:448
#25 0x00007fd6f1c385d9 in Digikam::DImgInterface::qt_metacall
(this=0x1a78570, _c=QMetaObject::InvokeMetaMethod, _id=9,
_a=0x1e31d30) at
/home/elle/trunk/digikam-2.0.0-beta2/build/core/digikam/dimginterface.moc:114
#26 0x00007fd6edda1bde in QObject::event(QEvent*) () from
/usr/lib/libQtCore.so.4
#27 0x00007fd6eec47fdc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x00007fd6eec4daed in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQtGui.so.4
#29 0x00007fd6ef9d7a36 in KApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libkdeui.so.5
#30 0x00007fd6edd8fcdc in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQtCore.so.4
#31 0x00007fd6edd92c22 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
() from /usr/lib/libQtCore.so.4
#32 0x00007fd6eddbc653 in ?? () from /usr/lib/libQtCore.so.4
#33 0x00007fd6e90fe342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#34 0x00007fd6e91022a8 in ?? () from /lib/libglib-2.0.so.0
#35 0x00007fd6e910245c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#36 0x00007fd6eddbc193 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQtCore.so.4
#37 0x00007fd6eecfaa4e in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007fd6edd8ea02 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#39 0x00007fd6edd8edec in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#40 0x00007fd6edd92ebb in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#41 0x000000000043ad55 in main (argc=1, argv=0x7fffd9614c28) at
/home/elle/trunk/digikam-2.0.0-beta2/core/showfoto/main.cpp:89


On 2/5/11, Karsten König <remur@gmx.net> wrote:
> https://bugs.kde.org/show_bug.cgi?id=264945
>
>
>
>
>
> --- Comment #11 from Karsten König <remur gmx net>  2011-02-05 18:23:16 ---
> xmlindexer is a part of strigi, this analyses files for kde to generate
> metainfo (in the case of graphics for example the dimensions).
>
> the call would look like this: 'xmlindexer small.jpg'
>
> KFileMetaInfo will use libstrigi0 to get the file informations.
>
>
> I am unsure how this is triggered if it crashes with showfoto 1.9 and not
> with
> 1.8 =(
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 13 Karsten König 2011-02-08 17:27:39 UTC
Hmm I can't reproduce, with strigi 0.7.3.99 (it's some betaversion shipped by opensuse kde:distro:factory repository) it doesn't crash, could you please try using a more recent version?

My xmlindexer output is also much more verbose, it should at least have width, height etc for images, besides exif information
Comment 14 Elle Stone 2011-02-14 02:27:41 UTC
Karsten, my apologies, I am not willing to locate and compile strigi
0.7.3.99. Ubuntu Maverick is using 0.7.2.1. If no-one besides me is
having trouble with showfoto crashing upon opening jpegs, then let's
assume it is not a bug but rather an issue plaguing only my own
computer. If someone else reports the same problem, I'll happily help
investigate further.

Elle

On 2/8/11, Karsten König <remur@gmx.net> wrote:
> https://bugs.kde.org/show_bug.cgi?id=264945
>
>
>
>
>
> --- Comment #13 from Karsten König <remur gmx net>  2011-02-08 17:27:39 ---
> Hmm I can't reproduce, with strigi 0.7.3.99 (it's some betaversion shipped
> by
> opensuse kde:distro:factory repository) it doesn't crash, could you please
> try
> using a more recent version?
>
> My xmlindexer output is also much more verbose, it should at least have
> width,
> height etc for images, besides exif information
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
Comment 15 caulier.gilles 2011-03-19 14:11:29 UTC
*** Bug 268889 has been marked as a duplicate of this bug. ***
Comment 16 Axel Krebs 2011-03-19 14:35:22 UTC
(In reply to comment #15)
> *** Bug 268889 has been marked as a duplicate of this bug. ***

Thank you.

2 additions:
- Eye of GNOME 2.32.0 opens the same pic without problems; therefore the assumption, that pic is "ok"

- strigi seems _not_ to be installed on my system, but some libraries:
-- libstreamanalyzer0 "streamanalyzer library for Strigi Desktop Search", Version 0.7.2-1
-- libstrems0 "streams library for for Strigi Desktop Search", Version 0.7.2-1
-- shared desktop-ontologies, "shared ontologies for semantic searching", Version 0.5-1

Maybe interesting for you!?


Axel Krebs
Comment 17 caulier.gilles 2011-03-22 23:25:27 UTC
*** Bug 269188 has been marked as a duplicate of this bug. ***
Comment 18 caulier.gilles 2011-03-29 10:26:06 UTC
*** Bug 269674 has been marked as a duplicate of this bug. ***
Comment 19 Christoph Feck 2011-04-08 21:05:15 UTC
*** Bug 270457 has been marked as a duplicate of this bug. ***
Comment 20 caulier.gilles 2011-04-16 14:03:58 UTC
*** Bug 271096 has been marked as a duplicate of this bug. ***
Comment 21 caulier.gilles 2011-04-21 15:02:31 UTC
*** Bug 271414 has been marked as a duplicate of this bug. ***
Comment 22 caulier.gilles 2011-04-22 06:41:07 UTC
*** Bug 271455 has been marked as a duplicate of this bug. ***
Comment 23 caulier.gilles 2011-05-16 08:42:28 UTC
*** Bug 273367 has been marked as a duplicate of this bug. ***
Comment 24 caulier.gilles 2011-05-19 09:08:23 UTC
*** Bug 273595 has been marked as a duplicate of this bug. ***
Comment 25 caulier.gilles 2011-06-11 21:20:29 UTC
*** Bug 275423 has been marked as a duplicate of this bug. ***
Comment 26 caulier.gilles 2011-06-28 13:31:37 UTC
Git commit 838e30ad7aed1a1ed213f5a2056ce7683d96174e by Gilles Caulier.
Committed on 28/06/2011 at 15:30.
Pushed by cgilles into branch 'master'.

use Exiv2 to get image dim.
disable KFileMetaInfo code
CCBUGS: 264945

M  +7    -47   libs/imageproperties/imagepropertiessidebar.cpp     

http://commits.kde.org/digikam/838e30ad7aed1a1ed213f5a2056ce7683d96174e
Comment 27 caulier.gilles 2011-06-29 10:44:03 UTC
Git commit 8de3f216f21fd1a23e4b063a4b28731eb643e373 by Gilles Caulier.
Committed on 29/06/2011 at 12:43.
Pushed by cgilles into branch 'master'.

don't use KFileMetaInfo to prevent crash into strigi.
Use more private internal container
CCBUGS: 264945

M  +5    -22   libs/imageproperties/cameraitempropertiestab.cpp     
M  +2    -2    libs/imageproperties/cameraitempropertiestab.h     

http://commits.kde.org/digikam/8de3f216f21fd1a23e4b063a4b28731eb643e373
Comment 28 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
Comment 29 caulier.gilles 2011-06-30 08:25:34 UTC
Elle,

The original problem from showfoto is now fixed in digiKam 2.0.0 implementation. KFileMetaInfo class (which use strigi API in background) is fully dropped everywhere now. The crash, reproducible in the pass on my computer has disappear.

As the Strigi problem have been reported to the project on SF.net bugtracker, i close this file now.

Gilles Caulier
Comment 30 caulier.gilles 2011-06-30 08:29:26 UTC
Git commit 9d7ff4e3cd42533908da18a37b6d8ff4ac383a13 by Gilles Caulier.
Committed on 30/06/2011 at 10:27.
Pushed by cgilles into branch 'master'.

move color model string convertion static method to DImg, to be able to use it in Showfoto.
Remove all KFileMetaInfo instance in digiKam core. We don't want to use strigi API in background, which crash Exiv2
CCBUGS: 264945

M  +2    -1    NEWS     
M  +1    -27   libs/database/imagescanner.cpp     
M  +1    -2    libs/database/imagescanner.h     
M  +25   -0    libs/dimg/dimg.cpp     
M  +5    -0    libs/dimg/dimg.h     
M  +4    -28   libs/imageproperties/imagepropertiessidebar.cpp     
M  +9    -9    utilities/searchwindow/searchfields.cpp     

http://commits.kde.org/digikam/9d7ff4e3cd42533908da18a37b6d8ff4ac383a13
Comment 31 caulier.gilles 2011-09-05 21:16:19 UTC
*** Bug 281431 has been marked as a duplicate of this bug. ***
Comment 32 caulier.gilles 2011-09-05 21:16:51 UTC
*** Bug 278776 has been marked as a duplicate of this bug. ***
Comment 33 caulier.gilles 2011-09-27 19:15:52 UTC
*** Bug 282921 has been marked as a duplicate of this bug. ***
Comment 34 caulier.gilles 2011-09-29 05:18:28 UTC
*** Bug 283009 has been marked as a duplicate of this bug. ***
Comment 35 caulier.gilles 2011-10-25 07:13:29 UTC
*** Bug 284889 has been marked as a duplicate of this bug. ***