Bug 274832 - Crash is observed while opening the attached .odt file
Summary: Crash is observed while opening the attached .odt file
Status: VERIFIED FIXED
Alias: None
Product: calligrawords
Classification: Unclassified
Component: opendocument (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 12:24 UTC by swathi
Modified: 2011-06-28 14:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test data (23.90 KB, application/x-zip-compressed)
2011-06-03 12:24 UTC, swathi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swathi 2011-06-03 12:24:17 UTC
Created attachment 60581 [details]
Test data

Version: git checkout 0a5c60c868f770035565fe36ecf1ee0408f48f90
        (Using KDE 4.5.5)                
     OS: Kubuntu 10.10
Test data is in ODT format.
Open the same document in Calligra Words.

Expected outcome:
Document should be opened.
Actual outcome:
Crash is observed.

Frequency:
Always.
Comment 1 swathi 2011-06-03 12:26:05 UTC
Here is the backtrace.
Application: Words (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0x012c5d82 in QTextLine::y() const () from /usr/lib/libQtGui.so.4
#8  0x08d8ab5b in FloatingAnchorStrategy::countVerticalRel (this=0x9620ee8, anchorBoundingRect=..., containerBoundingRect=..., data=0x95ad430, block=..., layout=0x96611d8) at /home/swathi/nsc/calligra/libs/textlayout/FloatingAnchorStrategy.cpp:318
#9  0x08d89b0c in FloatingAnchorStrategy::moveSubject (this=0x9620ee8) at /home/swathi/nsc/calligra/libs/textlayout/FloatingAnchorStrategy.cpp:94
#10 0x08d793cb in KoTextDocumentLayout::positionAnchoredObstructions (this=0x9662430) at /home/swathi/nsc/calligra/libs/textlayout/KoTextDocumentLayout.cpp:378
#11 0x08d672f6 in KoTextLayoutArea::layoutBlock (this=0x9673130, cursor=0x965bef8) at /home/swathi/nsc/calligra/libs/textlayout/KoTextLayoutArea.cpp:902
#12 0x08d69915 in KoTextLayoutArea::layout (this=0x9673130, cursor=0x965bef8) at /home/swathi/nsc/calligra/libs/textlayout/KoTextLayoutArea.cpp:448
#13 0x08d77bf6 in KoTextLayoutRootArea::layoutRoot (this=0x9673130, cursor=0x965bef8) at /home/swathi/nsc/calligra/libs/textlayout/KoTextLayoutRootArea.cpp:61
#14 0x08d7a3c7 in KoTextDocumentLayout::doLayout (this=0x9662430) at /home/swathi/nsc/calligra/libs/textlayout/KoTextDocumentLayout.cpp:601
#15 0x08d7a830 in KoTextDocumentLayout::layout (this=0x9662430) at /home/swathi/nsc/calligra/libs/textlayout/KoTextDocumentLayout.cpp:479
#16 0x08d78150 in KoTextDocumentLayout::executeScheduledLayout (this=0xbfcceeec) at /home/swathi/nsc/calligra/libs/textlayout/KoTextDocumentLayout.cpp:656
#17 0x08d78373 in KoTextDocumentLayout::qt_metacall (this=0x9662430, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x94f6060) at /home/swathi/nsc/build/libs/textlayout/KoTextDocumentLayout.moc:89
#18 0x00dc68ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00dd1df6 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#20 0x00dd36a2 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#21 0x01020fdc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x0102704e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x006bed8a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0x00dc0b3b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#25 0x00dc3d8b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#26 0x00dc3f4d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#27 0x00defa74 in ?? () from /usr/lib/libQtCore.so.4
#28 0x03e1e855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x03e22668 in ?? () from /lib/libglib-2.0.so.0
#30 0x03e22848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00def565 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x010e2be5 in ?? () from /usr/lib/libQtGui.so.4
#33 0x00dc41e1 in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x023127aa in KoProgressUpdater::update (this=0x94e3040) at /home/swathi/nsc/calligra/libs/main/KoProgressUpdater.cpp:163
#35 0x02312d41 in KoProgressUpdater::qt_metacall (this=0x94e3040, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfcd045c) at /home/swathi/nsc/build/libs/main/KoProgressUpdater.moc:73
#36 0x00dc68ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#37 0x00dd96ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#38 0x023147c7 in KoUpdaterPrivate::sigUpdated (this=0x948d350) at /home/swathi/nsc/build/libs/main/KoUpdaterPrivate_p.moc:95
#39 0x023148ff in KoUpdaterPrivate::qt_metacall (this=0x948d350, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfcd05b8) at /home/swathi/nsc/build/libs/main/KoUpdaterPrivate_p.moc:84
#40 0x00dc68ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#41 0x00dd96ad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#42 0x02313df3 in KoUpdater::sigProgress (this=0x9460ba0, _t1=100) at /home/swathi/nsc/build/libs/main/KoUpdater.moc:102
#43 0x02314192 in KoUpdater::setProgress (this=0x9460ba0, percent=100) at /home/swathi/nsc/calligra/libs/main/KoUpdater.cpp:61
#44 0x0229ef0d in KoDocument::openFile (this=0x9426ff0) at /home/swathi/nsc/calligra/libs/main/KoDocument.cpp:1657
#45 0x08bbb549 in KParts::ReadOnlyPart::openUrl(KUrl const&) () from /usr/lib/libkparts.so.4
#46 0x0229ccc1 in KoDocument::openUrl (this=0x9426ff0, _url=...) at /home/swathi/nsc/calligra/libs/main/KoDocument.cpp:1264
#47 0x022c45cf in KoMainWindow::openDocumentInternal (this=0x93ba548, url=..., newdoc=0x9426ff0) at /home/swathi/nsc/calligra/libs/main/KoMainWindow.cpp:677
#48 0x022c5396 in KoMainWindow::openDocument (this=0x93ba548, newdoc=0x9426ff0, url=...) at /home/swathi/nsc/calligra/libs/main/KoMainWindow.cpp:660
#49 0x0228f9dd in KoApplication::start (this=0xbfcd0dec) at /home/swathi/nsc/calligra/libs/main/KoApplication.cpp:252
#50 0x0635a98f in kdemain (argc=2, argv=0x9296a28) at /home/swathi/nsc/calligra/words/part/main.cpp:41
#51 0x0804e4d1 in _start ()
Comment 2 Sebastian Sauer 2011-06-03 15:02:07 UTC
Fixed with 9153190e81b003ff8c58541277cfbd4a36f33c6f
Comment 3 swathi 2011-06-28 14:02:25 UTC
Verified in 5f6f9401b53343b140d2bae8587ec3a01f103fe1.