I downloaded some sample documents from http://openxmldeveloper.org/articles/OpenXMLsamples.aspx namely the file provided at http://openxmldeveloper.org/attachment/30.ashx to try out some things regarding printing and document languages. However, when I try to use these documents, some of them crash the whole application. One of them seems to be related to https://bugs.freedesktop.org/show_bug.cgi?id=33785 and it happens with "Office Open XML sample.doc" when scrolling a bit down in the document. Copying mtfrenderer.uno.dll to Program\ rather than Basis\Program seems to solve it. Merely opening "Office Open XML sample.docx" crashes the application. "Alice's Adventures in Wonderland.docx" opens, but it's totally blank. This was tested on Windows XP, with LibreOffice 3.3 final.
Backtrace of the crash with sample.docx: #0 0x00007fffd8e79b9c in writerfilter::ooxml::OOXMLParserState::setXNoteId (this=0x1737c30, rId=...) at /home/cbosdo/libreoffice/master/bootstrap/clone/filters/writerfilter/source/ooxml/OOXMLParserState.cxx:133 #1 0x00007fffd8e89e9f in writerfilter::ooxml::OOXMLFastContextHandler::setXNoteId (this=0x1737b60, rId=...) at /home/cbosdo/libreoffice/master/bootstrap/clone/filters/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx:1071 #2 0x00007fffd8e85c05 in writerfilter::ooxml::OOXMLFastDocumentHandler::getContextHandler (this=0x17378d0) at /home/cbosdo/libreoffice/master/bootstrap/clone/filters/writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx:134 #3 0x00007fffd8e85c9d in writerfilter::ooxml::OOXMLFastDocumentHandler::createFastChildContext (this=0x17378d0, Element=2036053) at /home/cbosdo/libreoffice/master/bootstrap/clone/filters/writerfilter/source/ooxml/OOXMLFastDocumentHandler.cxx:153
Lubos, can you have a look at that crasher?
I am getting some mostly-blank documents too, opening DOCX files with LibreOffice 3.4.2 on Windows XP. For example, as mentioned before, Alice's Adventures in Wonderland.docx is totally blank for me too, as was a company memo I just received, where I could see the header and footer, and an erroneous blank preceding page, but the body seemed to be written all in a text box that nearly floated off the page. I can attached if needed. Here is an updated link for Alice: http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2006/05/01/sampledocs2.aspx
Created attachment 61485 [details] bt with symbols On pc Debian x86-64 with master updated today, I still reproduce the problem. I tested Office Open XML sample.docx contained in the zip of the link of the comment 3.
Julien Nabet committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=dcfefd6676d8cf8930424724a509cce0d3612962 Related fdo#33895 add some checks against NULL derefs The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-4-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a5caaad1b83ecb8d6a17f0608c2716a5e69ae86c&h=libreoffice-4-1 Related fdo#33895 add some checks against NULL derefs It will be available in LibreOffice 4.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8f50adc18112877214495e723976f18fa41cc18d&h=libreoffice-4-0 Related fdo#33895 add some checks against NULL derefs It will be available in LibreOffice 4.0.5. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.