You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/01/21 14:04:33 UTC
DO NOT REPLY [Bug 118822] New: svg: convert to 3D crashes with svg
in test document
https://issues.apache.org/ooo/show_bug.cgi?id=118822
Bug #: 118822
Issue Type: DEFECT
Summary: svg: convert to 3D crashes with svg in test document
Classification: Application
Product: Drawing
Version: OOo 3.4 Beta
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: code
AssignedTo: graphicsneedsconfirm@openoffice.org
ReportedBy: arielch@apache.org
CC: ooo-issues@incubator.apache.org
Created attachment 77153
--> https://issues.apache.org/ooo/attachment.cgi?id=77153
Test document
Try to convert to 3D the svg graphic in the first draw page.
AOO crahes.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] Convert several lines with round line caps
to 3D crashes, depending on the number of lines
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #11 from Armin Le Grand <Ar...@me.com> 2012-01-23 11:20:21 UTC ---
ALG: Good catch. Problem during 3D geometry creation. For extrudes caps (front
and back) get created by scaling the source 2D polyPolygon. Later for 3D usage
it gets subdivided since 3D polygons do not support beziers. That subdivision
could create polygons with different point counts due to the modified nature of
the caps. To avoid that, the 2D polyPolygon needs to be subdivided when
starting 3D geometry creation. Interestingly, this was already the case for
rotation objects, but not yet for extrudes.
ALG: Added for extrudes, checked, works well. Also added security asserts and
secure accessors, so unequal point counts of slices (which work like ribs for a
ship) will assert and create ugly graphics (but should be impossible now), but
will not crash anymore.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] svg: convert to 3D crashes with svg in
test document
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #1 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-21 13:05:24 UTC ---
Created attachment 77154
--> https://issues.apache.org/ooo/attachment.cgi?id=77154
GDB back-trace
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] Convert several lines with round line caps
to 3D crashes, depending on the number of lines
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #7 from Armin Le Grand <Ar...@me.com> 2012-01-21 18:31:17 UTC ---
ALG: Thanks, i'll take a look on Monday...
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] Convert several lines with round line caps
to 3D crashes, depending on the number of lines
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #8 from Regina Henschel <rb...@t-online.de> 2012-01-21 22:11:03 UTC ---
It depends on angle too. Turn the drawing by 45° and try to convert. Now it
does not crash.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] svg: convert to 3D crashes with svg in
test document
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #4 from Regina Henschel <rb...@t-online.de> 2012-01-21 14:19:14 UTC ---
Created attachment 77156
--> https://issues.apache.org/ooo/attachment.cgi?id=77156
Crash with simple lines
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] Convert several lines with round line caps
to 3D crashes, depending on the number of lines
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #10 from Regina Henschel <rb...@t-online.de> 2012-01-22 17:53:57 UTC ---
Created attachment 77159
--> https://issues.apache.org/ooo/attachment.cgi?id=77159
Error report
OOo2.3.4 does not crash, but OOo3.1.1 crashes. The attached error report is
from OOo3.1.1rc2. I don't have a version between.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] Convert several lines with round line caps
to 3D crashes, depending on the number of lines
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
Armin Le Grand <Ar...@me.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #12 from Armin Le Grand <Ar...@me.com> 2012-01-23 11:42:34 UTC ---
ALG: Comitted, done.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] svg: convert to 3D crashes with svg in
test document
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #2 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-21 13:06:24 UTC ---
Created attachment 77155
--> https://issues.apache.org/ooo/attachment.cgi?id=77155
Some debug warnings and errors before the crash in a non-product build
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] Convert several lines with round line caps
to 3D crashes, depending on the number of lines
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #9 from Regina Henschel <rb...@t-online.de> 2012-01-21 22:23:39 UTC ---
Created attachment 77158
--> https://issues.apache.org/ooo/attachment.cgi?id=77158
3 corner polyline with line joint round
It crashes too with line joint round. It crashes already in DEV300m106. It is
not introduced with the line caps but exists earlier.
It seems it depends on whether the "height" or "width" of the bounding
rectangle is too near to zero.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] svg: convert to 3D crashes with svg in
test document
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #6 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-21 15:33:33 UTC ---
Created attachment 77157
--> https://issues.apache.org/ooo/attachment.cgi?id=77157
GDB back-trace from Regina's example
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] svg: convert to 3D crashes with svg in
test document
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
--- Comment #5 from Ariel Constenla-Haile <ar...@apache.org> 2012-01-21 15:31:28 UTC ---
(In reply to comment #3)
> The problem is not the svg format, but the round line caps.
can you update the issue subject? If you don't have that privileges, let me
know and I'll do it.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] svg: convert to 3D crashes with svg in
test document
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
Regina Henschel <rb...@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rb.henschel@t-online.de
--- Comment #3 from Regina Henschel <rb...@t-online.de> 2012-01-21 14:17:09 UTC ---
The problem is not the svg format, but the round line caps.
I have reduced the problem in the attached document.
The seven green dashes are simple lines with 'square' linecap. Mark the seven
green dashes together. Convert to 3D (extrude). OK
The six green dashes are simple lines with 'round' linecap. Mark the six green
dashes together. Convert to 3D (extrude). OK
The seven red dashes are simple lines with 'round' linecap, same as those six
dashes. Mark the seven red dashes together. Convert to 3D (extrude). Crash.
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] Convert several lines with round line caps
to 3D crashes, depending on the number of lines
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
Regina Henschel <rb...@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|svg: convert to 3D crashes |Convert several lines with
|with svg in test document |round line caps to 3D
| |crashes, depending on the
| |number of lines
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
DO NOT REPLY [Bug 118822] svg: convert to 3D crashes with svg in
test document
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118822
Ariel Constenla-Haile <ar...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|graphicsneedsconfirm@openof |Armin.Le.Grand@me.com
|fice.org |
--
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.