Version: (using KDE KDE 3.0.99) Installed from: Gentoo Packages Compiler: gcc-2.95.3 OS: Linux Backtrace: (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...[New Thread 1024 (LWP 17593)] 0x40f42569 in wait4 () from /lib/libc.so.6 #0 0x40f42569 in wait4 () from /lib/libc.so.6 #1 0x40fbe3f8 in __DTOR_END__ () from /lib/libc.so.6 #2 0x40dfa402 in waitpid () from /lib/libpthread.so.0 #3 0x4058448f in KCrash::defaultCrashHandler () from /usr/kde/3.1/lib/libkdecore.so.4 #4 0x40df8134 in pthread_sighandler () from /lib/libpthread.so.0 #5 <signal handler called> #6 0x40ec6c21 in kill () from /lib/libc.so.6 #7 0x40df8042 in pthread_kill () from /lib/libpthread.so.0 #8 0x40df852d in raise () from /lib/libpthread.so.0 #9 0x40ec81cb in abort () from /lib/libc.so.6 #10 0x40e5fd28 in __terminate () from /usr/lib/libstdc++-libc6.2-2.so.3 #11 0x40e5fd45 in __terminate () from /usr/lib/libstdc++-libc6.2-2.so.3 #12 0x40e60910 in __throw () from /usr/lib/libstdc++-libc6.2-2.so.3 #13 0x41767962 in ExifData::ReadJpegSections () from /usr/kde/3.1/lib/kde3/kfile_jpeg.so #14 0x417691a1 in ExifData::scan () from /usr/kde/3.1/lib/kde3/kfile_jpeg.so #15 0x41762735 in KJpegPlugin::readInfo () from /usr/kde/3.1/lib/kde3/kfile_jpeg.so #16 0x401e1467 in KFileMetaInfo::KFileMetaInfo () from /usr/kde/3.1/lib/libkio.so.4 #17 0x401bc0bf in KFileItem::metaInfo () from /usr/kde/3.1/lib/libkio.so.4 #18 0x401ba130 in KFileItem::getToolTipText () from /usr/kde/3.1/lib/libkio.so.4 #19 0x411a2894 in KFileTip::setItem () from /usr/kde/3.1/lib/libkonq.so.4 #20 0x411a3b0d in KonqIconViewWidget::slotOnItem () from /usr/kde/3.1/lib/libkonq.so.4 #21 0x411a87d5 in KonqIconViewWidget::qt_invoke () from /usr/kde/3.1/lib/libkonq.so.4 #22 0x408d9685 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3 #23 0x40b8d9ad in QIconView::onItem () from /usr/qt/3/lib/libqt-mt.so.3 #24 0x40a3d479 in QIconView::contentsMouseMoveEvent () from /usr/qt/3/lib/libqt-mt.so.3 #25 0x409b18ae in QScrollView::viewportMouseMoveEvent () from /usr/qt/3/lib/libqt-mt.so.3 #26 0x409b1073 in QScrollView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3 #27 0x40a4172e in QIconView::eventFilter () from /usr/qt/3/lib/libqt-mt.so.3 #28 0x408d7538 in QObject::activate_filters () from /usr/qt/3/lib/libqt-mt.so.3 #29 0x408d7414 in QObject::event () from /usr/qt/3/lib/libqt-mt.so.3 #30 0x40904e64 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3 #31 0x40884d03 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3 #32 0x4088456c in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3 #33 0x40517bcb in KApplication::notify () from /usr/kde/3.1/lib/libkdecore.so.4 #34 0x408385cb in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3 #35 0x40836799 in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3 #36 0x40848954 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3 #37 0x40896cc3 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3 #38 0x40896c12 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3 #39 0x40884e85 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3 #40 0x4123cf1e in main () from /usr/kde/3.1/lib/konqueror.so #41 0x0804d5a6 in strcpy () #42 0x0804e3ab in strcpy () #43 0x0804e86d in strcpy () #44 0x0804f757 in strcpy () #45 0x40eb5671 in __libc_start_main () from /lib/libc.so.6 Reproduce: Seems that konq crashes when it attempts to generate a preview for the selected file. The exi is exported EXIF data from a JPEG taken with a digital camera (Canon Powershot S30 to be exact). The software used to create the data file is a windows program called Exifer, which can be found here: http://www.exifer.friedemann.info/ I can provide a data file if needed as well.
Subject: kdegraphics/kfile-plugins/jpeg CVS commit by pfeiffer: catch exceptions CCMAIL: 52356-close@bugs.kde.org M +9 -2 kfile_jpeg.cpp 1.14 --- kdegraphics/kfile-plugins/jpeg/kfile_jpeg.cpp #1.13:1.14 @@ -190,6 +190,13 @@ bool KJpegPlugin::readInfo( KFileMetaInf // parse the jpeg file now - if (ImageInfo.scan(info.path()) == false) { + try { + if ( !ImageInfo.scan(info.path()) ) { kdDebug(7034) << "Not a JPEG file!\n"; + return false; + } + } + catch (FatalError& e) { // malformed exif data? + kdDebug(7034) << "Exception caught while parsing Exif data of: " << info.path() << endl; + e.debug_print(); return false; }
*** Bug 65040 has been marked as a duplicate of this bug. ***