Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [SVG] Crash with special svg-image | ||||||
---|---|---|---|---|---|---|---|
Product: | Draw | Reporter: | Regina Henschel <rb.henschel> | ||||
Component: | code | Assignee: | Armin Le Grand <Armin.Le.Grand> | ||||
Status: | CLOSED FIXED | QA Contact: | RottenEogat <RottenEogat> | ||||
Severity: | Normal | ||||||
Priority: | P3 | CC: | Armin.Le.Grand, issues, rainerbielefeld_ooo_qa | ||||
Version: | 4.0.0 | Keywords: | regression | ||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | 4.0.0 | ||||
Developer Difficulty: | --- | ||||||
Issue Depends on: | 122600 | ||||||
Issue Blocks: | |||||||
Attachments: |
|
Reproducible with "AOO 4.0.0 – German UI / German locale [AOO400m3(Build:9702) - Rev. 1503704 2013-07-16 14:54:56 (Di, 16 Jul 2013)]" on German German WIN7 Home Premium (64bit)", Common 4.0-dev User Profile: 1. From AOO Start Center menu 'File -> Open -> Browse for reporter's sample document -> <Open> Bug: CRASH, document recovery appears Additional info: ---------------- a) As to be expected also crashes when you use menu 'Insert -> Picture from File' b) Competitors: No crash with LibO 4.2 (what shows picture Wrongly) No Crash with Calligra Carbon (what shows picture Wrongly) Softmaker FreeOffice does not support SVG Was not a problem with AOO 3.4.0, 3.4.1 Fix is contained in patch in bug 122600. Patch is waiting for review. ALG: Corrected owner |
Created attachment 81215 [details] File to reproduce crash The attached svg-documents has no viewBox on the outermost svg-element and an inner svg-element with relative width. In resolving the relative width it gets the outermost svg-element and then with getViewBox() its viewBox. But in this case getViewBox() results Null, so that the following ->getWidth() crashes. file: svgio\source\svgreader\svgsvgnode.cxx I'm currently working in that area and want to discuss a solution.