Apache OpenOffice (AOO) Bugzilla – Issue 95423
OpenOffice Calc crashes when opening particular file (see attachment)
Last modified: 2013-08-07 15:14:27 UTC
I have a ODS file created using JasperReports 3.1.0 exporter. When I try to open the file, OpenOffice Calc crashes and show me the bug report window. This happens everytime I try to open this file. I tried to export a diferent report with JasperReports but the results are the same. I don't know if the file is malformed, but even if it is, OpenOffice should give a nice message informing the file is malformed, not crash. I'm using BrOffice 3.0 (Brazilian version of OpenOffice) on Ubuntu Linux 8.04
Created attachment 57437 [details] File that crashes Calc
Have tried it on Windows and got an Error message but not a crash. Will evaluate further on Monday. For future use to check for valid OASIS ODF documents you may use this URL: http://tools.services.openoffice.org/odfvalidator/ Frank
I have removed my BrOffice 3 instalation and installed the official OpenOffice 3 from http://www.openoffice.org so I could try to see if the problem was exclusive to the Brazilian version. It showed the same error and crashed again. The message was: Due to an unexpected error, OpenOffice.org crashed. All the files you were working on will now be saved. The next time OpenOffice.org is launched, your files will be recovered automatically. Also I ran the validator you suggested, and it did find an error. I removed the offending line from content.xml, repackaged the ODS file and ran the validator again. This time, the validator indicated the file as valid but OpenOffice still crashes when opening it. I will attach the new version that passed validation.
Created attachment 57446 [details] This file passes validation at http://tools.services.openoffice.org/odfvalidator/ but still causes openoffice to crash.
I tried on Windows and confirmed that it behaves differently. It gives an error "An unknown error has ocurred" and shows a blank document, but it doesn't crash. Even so, the message it gives should be something like "Could not open the file, it is either corrupted or invalid". Anyway, maybe the crash just happens on Linux.
error code rf2hmuc
add to CC
Hi Eike, as discussed this one's for you. Frank
In cws calc46: sc/source/ui/unoobj/docuno.cxx 1.68.104.2 Note that the underlying cause was an uncaught exception due to the embedded <text:bookmark> element. Calc does not know bookmarks within cell text. However, it should of course also not crash when encountering such.
Reassigning to QA for verification.
verified in internal build cws_calc46
verified in OOO300_m13 -> closed