Summary: | calc crash: too small of an interval range | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Kevin Hunter <hunteke> |
Component: | Chart | Assignee: | Kohei Yoshida (inactive) <libreoffice> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | highest | CC: | LibreOffice |
Version: | 3.3.1 release | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | target:3.4 | ||
i915 platform: | i915 features: | ||
Attachments: |
attribute "chart:interval-major="0.000000001" in XML apparently not appreciated by LO
Same file with no 'chart:interval-major=...' attribute. |
Created attachment 43442 [details]
Same file with no 'chart:interval-major=...' attribute.
Setting Kohei as the assignee. Crasher is almost always higher priority. Simple fix. The code was trying to resize an array with a negative value. http://cgit.freedesktop.org/libreoffice/calc/commit/?id=1e3b1a7a8c939a0ae08a14d5efdd65b17355dae9 Fixed on master. [Reproducible] with "LibreOffice 3.3.1 – WIN7 Home Premium (64bit) English UI [OOO330m19 (build 8 / tag 3.3.1.2)]". @ Kevin Hunter: Please change Version to earliest version with what you observed the problem. BTW. LibO also crashes when I copy / Paste chart from "kill_calc.ods" to a blank new writer document (<cntrl>+<c> / <cntrl>+<v>. I am pretty sure that that crash is caused by the same problem, but as a precaution someone should check whether the fix also heals that WRITER crash |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 43441 [details] attribute "chart:interval-major="0.000000001" in XML apparently not appreciated by LO LO appears to not appreciate fairly small interval ranges. First clue is that LO fails to produce an image for the spreadsheet component, and then when trying to edit a chart with such an interval (i.e. double click on the image), LO crashes. The only difference between the two attached files is a 'chart:interval-major="0.000000001"' attribute in the "Object 1/content.xml". Though the thumbnail is not created in the "calc_survives.ods" file, you can at least double click the chart without a crash.