[Digikam-devel] [Bug 264945] New: Showfoto 1.9, installed in /usr/local/bin along with digiKam 1.9, crashes when opening many, but not all, jpegs.

Elle Stone l.elle.stone at gmail.com
Mon Jan 31 12:18:10 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=264945

           Summary: Showfoto 1.9, installed in /usr/local/bin along with
                    digiKam 1.9, crashes when opening many, but not all,
                    jpegs.
           Product: showfoto
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: l.elle.stone at gmail.com


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 at 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 at light:~$

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list