Apache OpenOffice (AOO) Bugzilla – Issue 115078
Crash when opening files with nonstandard file extensions
Last modified: 2017-05-20 10:33:41 UTC
OpenOffice.org Calc crashes whenever the user attempts to open a spreadsheet with a nonstandard filename extension, or without a filename extension. This problem occurs quite often when opening a spreadsheet which has been dynamically generated and named by a web server. For example, the popular MicroStrategy web application lets users download dynamically generated HTML and Excel spreadsheets, but it doesn't give these resources a filename extension. Reproducibility: Always Steps to reproduce: 1. Take an Excel (.xls) or HTML (.html) spreadsheet, and rename it to remove the filename extension, or give it a nonstandard extension (such as .foo) 2. Use OpenOffice.org Calc to open the renamed file. This can be done by via the command line (e.g., "/usr/bin/oocalc some_spreadsheet.foo") or by File->Open and selecting it with the file selection dialog. Observed behaviour: 3. The OpenOffice.org Document Recovery pops up to say, "Due to an unexpected error, OpenOffice.org crashed..." Expected behaviour: 3. OpenOffice.org Calc should have successfully opened the file. I think this problem may be unique to Calc. I'm not able to reproduce the problem in Writer.
*** Issue 115079 has been marked as a duplicate of this issue. ***
You may test this procedure in Open Office version 4.01 Rev. 1524958 on your files, as it seems this issue has been remedied. Tested on this build and Calc can open files regardless of invalid file extensions or lack of extension.
foo file (originally xls) opens OK. AOO410m1(Build:9750) - Rev. 1539999 2013-11-09_04:08:11 - Rev. 1540252 Debian