Apache OpenOffice (AOO) Bugzilla – Issue 92010
insert sheet from file make Calc to crash
Last modified: 2013-08-07 15:15:24 UTC
Trying to insert a sheet from a file, OOo calc crashes. The filename is test If the same file is named test.txt it works well. I will attach the bug report
Created attachment 55308 [details] bug report for crash
After analyzing the behaviour more in detail I found that: 1. The crash appens even if I select an incorrect file type 2. OOo 2.4 doesn't suffer this problem I think it's a blocker bug because the default for the selection tab is "All File" and the insert button is enabled when I select a file (so simply pressing the Enter key I have a crash). I don't append the blocker keyword but i think I should. Please let me know
I'm shortly attaching a small CSV file to make it easier to reproduce the bug. 1) Open Calc 2) Insert - Sheet from file 3) Select the attached file (which is a CSV file but lacks the canonical .csv extension in the file name), leave file type as "All Files" OOo 2.4.1 correctly imports this as a CSV file, while current devel versions of OOo3 crash.
Created attachment 55327 [details] OOo crashes when inserting this CSV file
Hi Daniel, one4you
started. OOXML filter detection is not prepared enough for non-OOXML files...
fixed in DEV300/dr65 (OOo 3.0)
*** Issue 92064 has been marked as a duplicate of this issue. ***
Note: Both functions "Insert sheet from file" and "Insert link to external data" (see issue 92064) were broken and have been fixed.
to dr, in Issue 92064, I try to import entire or part of a link. Oddly, Some links files can be imported successfuly but some can't. can you tell me what makes OOo carshed? It puzzles me.
The crash happened in the file type detection for OOXML files (Microsoft Excel 2007 XML). Type detection is used to find the correct import filter for a file. The OOXML detection was not prepared for invalid (non-OOXML) files at one single place in the code. If there was no crash, some other import filter has been found before the OOXML filter was tried. In this example, the text/CSV import filter is tried after the OOXML filter thus the crash happens in the OOXML filter. The fix will be available in one of the next milestones.
back to QA
verified in internal build cws_dr65
*** Issue 92251 has been marked as a duplicate of this issue. ***
I can confirm, that OOo Calc crashes, when I rename the attached file to *.csv I try to insert in in Calc ... :( This happens with DEV300m28 under Debian SID AMD64. So I will reopen the issue, sorry ... :(
fix was integrated in OOO300m1, m28 is too old. Set it to "fixed" again, sorry too.
reset to verified
closed because fix available in build OOO300_m6