Issue 120435

Summary: import of special svg picture crashes AOO
Product: Draw Reporter: Regina Henschel <rb.henschel>
Component: open-importAssignee: Armin Le Grand <Armin.Le.Grand>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: Armin.Le.Grand, doneyourself
Version: 4.0.0-dev   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
picture that crashes AOO-dev none

Description Regina Henschel 2012-08-01 17:02:24 UTC
Created attachment 78806 [details]
picture that crashes AOO-dev

I use a debug build of r1367616.

Insert the attached svg-picture into a Draw document. AOO-dev r1367616 crashes immediately (even in file picker when preview is enabled). No debug messages are generated.

The picture can be imported into AOO3.4.1 without problems.

The picture belongs to http://www.w3.org/TR/SVG/paths.html

Is this a special problem of my build?
Comment 1 Armin Le Grand 2012-08-02 11:08:58 UTC
ALG: Strange. It crashes on the first text node. Taking over...
Comment 2 Armin Le Grand 2012-08-02 11:32:24 UTC
ALG: Good catch, it was introduced with the CSS style fix. The detected CSS style was added each time the style was requested, so a ring pointering was created. Changed now to only detect CSS for a node once, this cannot change. Chekcing...
Comment 3 SVN Robot 2012-08-02 11:35:48 UTC
"alg" committed SVN revision 1368423 into trunk:
#120435# Corrected CSS style detection to be executed only once per node
Comment 4 Armin Le Grand 2012-08-02 11:36:11 UTC
ALG: Added example to my standard test examples (which I used for the CSS style fix) to avoid this in the future. Committed as revision 1368423.
Comment 5 Armin Le Grand 2012-08-02 11:36:24 UTC
ALG: Done.
Comment 6 liuping 2012-08-28 08:13:28 UTC
can not reproduce on AOO350ml 1377620 on Win7-64bit