Version: git checkout 71c1189cf0bc0008c4fcb51d38c186d53e4c9fe2 (Using KDE 4.6.3) OS: Kubuntu 11.04 Test data is in ppt 2003 format. Open the same document in Calligra Satge. Test data Link:http://agricoop.nic.in/Kharif2006/Kharif2006ppt/J.S.Marketing.ppt Expected outcome. File should be opened. Actual outcome: Crash is observed while opening the ppt file. Frequency: Always
Backtrace: Application: Stage (kdeinit4), signal: Segmentation fault [KCrash Handler] #7 Libemf::Bitmap::image (this=0x0) at /home/swathi/n/calligra/plugins/vectorshape/libemf/Bitmap.cpp:97 #8 0x036b2dcc in Libemf::StretchDiBitsRecord::image (this=0xbf832810) at /home/swathi/n/calligra/plugins/vectorshape/libemf/EmfRecords.cpp:218 #9 0x036bd219 in Libemf::OutputPainterStrategy::stretchDiBits (this=0xbf832b50, record=...) at /home/swathi/n/calligra/plugins/vectorshape/libemf/EmfOutputPainterStrategy.cpp:1364 #10 0x036b55a4 in Libemf::Parser::readRecord (this=0xbf832c5c, stream=...) at /home/swathi/n/calligra/plugins/vectorshape/libemf/EmfParser.cpp:800 #11 0x036b68a7 in Libemf::Parser::loadFromStream (this=0xbf832c5c, stream=...) at /home/swathi/n/calligra/plugins/vectorshape/libemf/EmfParser.cpp:123 #12 0x036b6a40 in Libemf::Parser::load (this=0xbf832c5c, contents=...) at /home/swathi/n/calligra/plugins/vectorshape/libemf/EmfParser.cpp:100 #13 0x036aeb33 in RenderThread::drawEmf (this=0x89cee78, painter=...) at /home/swathi/n/calligra/plugins/vectorshape/VectorShape.cpp:231 #14 0x036af968 in RenderThread::draw (this=0x89cee78, painter=...) at /home/swathi/n/calligra/plugins/vectorshape/VectorShape.cpp:174 #15 0x036afb88 in RenderThread::run (this=0x89cee78) at /home/swathi/n/calligra/plugins/vectorshape/VectorShape.cpp:129 #16 0x036b0584 in VectorShape::render (this=0x8e069a0, converter=..., asynchronous=false, useCache=true) at /home/swathi/n/calligra/plugins/vectorshape/VectorShape.cpp:419 #17 0x036b06c8 in VectorShape::waitUntilReady (this=0x8e069a0, converter=..., asynchronous=false) at /home/swathi/n/calligra/plugins/vectorshape/VectorShape.cpp:399 #18 0x08172693 in KoShapePainter::paint (this=0xbf832efc, painter=..., converter=...) at /home/swathi/n/calligra/libs/flake/KoShapePainter.cpp:143 #19 0x0598db20 in KoPAPage::paintPage (this=0x89c5b00, painter=..., zoomHandler=...) at /home/swathi/n/calligra/libs/kopageapp/KoPAPage.cpp:197 #20 0x0598d049 in KoPAPage::generateThumbnail (this=0x89c5b00, size=...) at /home/swathi/n/calligra/libs/kopageapp/KoPAPage.cpp:183 #21 0x0598a76a in KoPAPageBase::thumbnail (this=0x89c5b00, size=...) at /home/swathi/n/calligra/libs/kopageapp/KoPAPageBase.cpp:288 #22 0x05978881 in KoPADocument::pageThumbnail (this=0x85fe408, page=0x89c5b00, size=...) at /home/swathi/n/calligra/libs/kopageapp/KoPADocument.cpp:615 #23 0x05992d8d in KoPADocumentModel::createThumbnail (this=0x91e04a8, shape=0x89c5b00, thumbSize=...) at /home/swathi/n/calligra/libs/kopageapp/KoPADocumentModel.cpp:351 #24 0x059936a8 in KoPADocumentModel::data (this=0x91e04a8, index=..., role=133) at /home/swathi/n/calligra/libs/kopageapp/KoPADocumentModel.cpp:230 #25 0x0237eb24 in data (this=0x8e64000, p=0xbf8339cc, option=..., index=...) at /usr/include/qt4/QtCore/qabstractitemmodel.h:398 #26 KoDocumentSectionDelegate::drawThumbnail (this=0x8e64000, p=0xbf8339cc, option=..., index=...) at /home/swathi/n/calligra/libs/main/KoDocumentSectionDelegate.cpp:462 #27 0x0238031c in KoDocumentSectionDelegate::paint (this=0x8e64000, p=0xbf8339cc, o=..., index=...) at /home/swathi/n/calligra/libs/main/KoDocumentSectionDelegate.cpp:93 #28 0x013dc79c in QTreeView::drawRow(QPainter*, QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4 #29 0x013df5f2 in QTreeView::drawTree(QPainter*, QRegion const&) const () from /usr/lib/libQtGui.so.4 #30 0x013dff7b in QTreeView::paintEvent(QPaintEvent*) () from /usr/lib/libQtGui.so.4 #31 0x02383853 in KoDocumentSectionView::paintEvent (this=0x8b20128, event=0xbf8345b4) at /home/swathi/n/calligra/libs/main/KoDocumentSectionView.cpp:289 #32 0x00e7a18e in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #33 0x0126bf63 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4 #34 0x012fa5d2 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #35 0x01399797 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #36 0x013e13f3 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4 #37 0x02382e7c in KoDocumentSectionView::viewportEvent (this=0x8b20128, e=0xbf8345b4) at /home/swathi/n/calligra/libs/main/KoDocumentSectionView.cpp:154 #38 0x012fced5 in ?? () from /usr/lib/libQtGui.so.4 #39 0x00b6d25a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #40 0x00e21d00 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #41 0x00e2697b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #42 0x0084f3ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #43 0x00b6d0bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #44 0x00e76f0c in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #45 0x00e77b7c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #46 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #47 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #48 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #49 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #50 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #51 0x00e76c80 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #52 0x00e77b7c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #53 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #54 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #55 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #56 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #57 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #58 0x00e76c80 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #59 0x00e77b7c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #60 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #61 0x00e76c80 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #62 0x00e77b7c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #63 0x00e77a42 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #64 0x00e76c80 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/libQtGui.so.4 #65 0x01052908 in ?? () from /usr/lib/libQtGui.so.4 #66 0x00e6c843 in QWidgetPrivate::syncBackingStore() () from /usr/lib/libQtGui.so.4 #67 0x00e7a7e5 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #68 0x01288a97 in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4 #69 0x0092a2bc in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #70 0x0096ab5f in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5 #71 0x00e21d24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #72 0x00e2697b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #73 0x0084f3ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #74 0x00b6d0bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #75 0x00b70c79 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #76 0x00b70e0d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4 #77 0x00b9a3c4 in ?? () from /usr/lib/libQtCore.so.4 #78 0x03851aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #79 0x03852270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #80 0x03852524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #81 0x00b9a53c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #82 0x00ed5775 in ?? () from /usr/lib/libQtGui.so.4 #83 0x00b6c289 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #84 0x00b6c522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #85 0x00b70ecc in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #86 0x00e1f8e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #87 0x01e200e5 in kdemain (argc=2, argv=0x84918d0) at /home/swathi/n/calligra/stage/part/main.cpp:44 #88 0x0804dc5f in _start ()
Fixed with 53530bd1e4bb4ab48fffb42c9e04e58b580046bb
Verified in dd267fba75fccccf66e6d485dbada7cea5301d0f.