Bug 269831 - crash on opening docx file from Firefox
Summary: crash on opening docx file from Firefox
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: docx (show other bugs)
Version: 2.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 18:37 UTC by Andrew Dabrowski
Modified: 2011-05-25 23:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Dabrowski 2011-03-31 18:37:07 UTC
Application: kword (2.2.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-30-generic i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Tried to open a .docx file file from the web using Firefox and KWord crashed.

The crash can be reproduced every time.

 -- Backtrace:
Application: KWord (kword), signal: Segmentation fault
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0x0, path=..., file=..., id=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QString (this=0x0, path=..., file=..., id=...) at /usr/include/qt4/QtCore/qstring.h:715
#8  operator+ (this=0x0, path=..., file=..., id=...) at /usr/include/qt4/QtCore/qstring.h:1023
#9  MSOOXML::MsooXmlRelationshipsReader::relKey (this=0x0, path=..., file=..., id=...) at ../../../filters/libmsooxml/MsooXmlRelationshipsReader.h:56
#10 MSOOXML::MsooXmlRelationships::target (this=0x0, path=..., file=..., id=...) at ../../../filters/libmsooxml/MsooXmlRelationships.cpp:94
#11 0x02bdf3b4 in DocxXmlDocumentReader::read_blip (this=0xbfc2a548) at ../../../../filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:1213
#12 0x02be505f in DocxXmlDocumentReader::read_blipFill (this=0xbfc2a548) at ../../../../filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:1452
#13 0x02bed1c2 in DocxXmlDocumentReader::read_pic (this=0xbfc2a548) at ../../../../filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:121
#14 0x02bee1c4 in DocxXmlDocumentReader::read_graphicData (this=0xbfc2a548) at ../../../../filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:1378
#15 0x02bee67c in DocxXmlDocumentReader::read_graphic (this=0xbfc2a548) at ../../../../filters/libmsooxml/MsooXmlCommonReaderDrawingMLImpl.h:1345
#16 0x02befa4e in DocxXmlDocumentReader::read_anchor (this=0xbfc2a548) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:3187
#17 0x02bf132c in DocxXmlDocumentReader::read_drawing (this=0xbfc2a548) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:1598
#18 0x02bfc64f in DocxXmlDocumentReader::read_r (this=0xbfc2a548) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:1284
#19 0x02bfff5e in DocxXmlDocumentReader::read_p (this=0xbfc2a548) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:1175
#20 0x02c06975 in DocxXmlHeaderReader::read_hdr (this=0xbfc2a548) at ../../../../filters/kword/docx/DocxXmlHeaderReader.cpp:162
#21 0x02c075df in DocxXmlHeaderReader::read (this=0xbfc2a548, context=0xbfc2bc3c) at ../../../../filters/kword/docx/DocxXmlHeaderReader.cpp:98
#22 0x077ef5f0 in MSOOXML::Utils::loadAndParseDocument (reader=0xbfc2a548, zip=0xbfc2bdd8, writers=0xbfc2a550, errorMessage=..., fileName=..., context=0xbfc2bc3c)
    at ../../../filters/libmsooxml/MsooXmlUtils.cpp:212
#23 0x07811616 in MSOOXML::MsooXmlImport::loadAndParseDocument (this=0x828ba00, reader=0xe40ed9, path=..., errorMessage=..., context=0xbfc2bc3c) at ../../../filters/libmsooxml/MsooXmlImport.cpp:208
#24 0x02bcce03 in DocxXmlDocumentReader::read_headerReference (this=0xbfc2b7c0) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:565
#25 0x02bebad5 in DocxXmlDocumentReader::read_sectPr (this=0xbfc2b7c0) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:360
#26 0x02c03de6 in DocxXmlDocumentReader::read_body (this=0xbfc2b7c0) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:290
#27 0x02c04a3f in DocxXmlDocumentReader::read (this=0xbfc2b7c0, context=0xbfc2bc3c) at ../../../../filters/kword/docx/DocxXmlDocumentReader.cpp:221
#28 0x077ef5f0 in MSOOXML::Utils::loadAndParseDocument (reader=0xbfc2b7c0, zip=0xbfc2bdd8, writers=0xbfc2bebc, errorMessage=..., fileName=..., context=0xbfc2bc3c)
    at ../../../filters/libmsooxml/MsooXmlUtils.cpp:212
#29 0x0781268f in MSOOXML::MsooXmlImport::loadAndParseDocumentInternal (this=0x828ba00, contentType=..., reader=0xbfc2b7c0, writers=0xbfc2bebc, errorMessage=..., context=0xbfc2bc3c, 
    pathFound=0xbfc2b2ef) at ../../../filters/libmsooxml/MsooXmlImport.cpp:161
#30 0x07812ee7 in MSOOXML::MsooXmlImport::loadAndParseDocument (this=0x828ba00, contentType=..., reader=0xbfc2b7c0, writers=0xbfc2bebc, errorMessage=..., context=0xbfc2bc3c)
    at ../../../filters/libmsooxml/MsooXmlImport.cpp:170
#31 0x02c096ef in DocxImport::parseParts (this=0x828ba00, writers=0xbfc2bebc, relationships=0xbfc2bce4, errorMessage=...) at ../../../../filters/kword/docx/DocxImport.cpp:261
#32 0x07811aa7 in MSOOXML::MsooXmlImport::openFile (this=0x828ba00, writers=0xbfc2bebc, errorMessage=...) at ../../../filters/libmsooxml/MsooXmlImport.cpp:223
#33 0x07811ecd in MSOOXML::MsooXmlImport::createDocument (this=0x828ba00, outputStore=0x8259248, writers=0xbfc2bebc) at ../../../filters/libmsooxml/MsooXmlImport.cpp:99
#34 0x07817b93 in KoOdfExporter::convert (this=0x828ba00, from=..., to=...) at ../../../filters/libmsooxml/KoOdfExporter.cpp:121
#35 0x001cc5c9 in KOfficeFilter::ChainLink::invokeFilter (this=0x826dda8, parentChainLink=0x0) at ../../../libs/main/KoFilterChainLink.cpp:73
#36 0x001c28dd in KoFilterChain::invokeChain (this=0x82637a8) at ../../../libs/main/KoFilterChain.cpp:94
#37 0x001c0855 in KoFilterManager::importDocument (this=0x827bd18, url=..., status=@0xbfc2c324) at ../../../libs/main/KoFilterManager.cpp:163
#38 0x001703ba in KoDocument::openFile (this=0x81e1ce8) at ../../../libs/main/KoDocument.cpp:1253
#39 0x0055bca9 in KParts::ReadOnlyPart::openUrl (this=0x81e1ce8, url=...) at ../../kparts/part.cpp:557
#40 0x0016fcb1 in KoDocument::openUrl (this=0x81e1ce8, _url=...) at ../../../libs/main/KoDocument.cpp:1181
#41 0x00192e7f in KoMainWindow::openDocumentInternal (this=0x820be20, url=..., newdoc=0x81e1ce8) at ../../../libs/main/KoMainWindow.cpp:671
#42 0x00194106 in KoMainWindow::openDocument (this=0x820be20, newdoc=0x81e1ce8, url=...) at ../../../libs/main/KoMainWindow.cpp:654
#43 0x0015f0d7 in KoApplication::start (this=0xbfc2c880) at ../../../libs/main/KoApplication.cpp:216
#44 0x00f66fba in kdemain (argc=2, argv=0xbfc2c994) at ../../../kword/part/main.cpp:36
#45 0x080485fb in main (argc=2, argv=0xbfc2c994) at kword_dummy.cpp:3

Possible duplicates by query: bug 259450, bug 259140, bug 244778, bug 244566, bug 242085.

Reported using DrKonqi
Comment 1 Inge Wallin 2011-05-17 09:39:29 UTC
Does words crash on the same file when you don't run it from Firefox?

And could you attach the file to the bugreport?  Or does it contain sensitive information? Without the file, it will be almost impossible to solve the bug.
Comment 2 Andrew Dabrowski 2011-05-18 00:04:13 UTC
I believe it only happened when trying to open it directly from Firefox - if I downloaded it and the opened it from within KWord it worked OK.

I'll try to strip out the sensitive data and see if the problem is still reproducible.
Comment 3 Sebastian Sauer 2011-05-25 23:52:26 UTC
Fixed with 3fff9d3a6e78c8fa01ddc375bf883ed88f5e23f4