We've gotten bug #243232 that is due to an assertion in 2geom being triggered.
terminate called after throwing an instance of 'Geom::RangeError' what(): lib2geom exception: there is no ellipse that satisfies the given constraints (2geom/elliptical-arc.cpp:616)
https://bugs.launchpad.net/inkscape/+bug/243232
Can someone familiar with that area take a look?
Thanks.
On Thu, 2008-06-26 at 08:02 -0700, Jon A. Cruz wrote:
We've gotten bug #243232 that is due to an assertion in 2geom being triggered.
terminate called after throwing an instance of 'Geom::RangeError' what(): lib2geom exception: there is no ellipse that satisfies the given constraints (2geom/elliptical-arc.cpp:616)
https://bugs.launchpad.net/inkscape/+bug/243232
Can someone familiar with that area take a look?
Thanks.
Don't know if it's related but I get an abort with this error when I try to use a simple diamond path as a pattern (I don't understand why there are curves when the pattern consists of straight lines and the object being filled is a rectangle):
** (inkscape:9962): WARNING **: SVGPathParseError: parse error
** (inkscape:9962): WARNING **: svgd str: M 470,-165.094 C 463.359,-144.158 494.001,-138.293 491.066,-119.944 C 490.507,-103.773 485.828,-79.478 503.305,-72.742 C 507.168,-70.474 521.992,-83.950 516.537,-68.776 C 513.522,-49.912 516.709,-25.731 535.399,-16.125 C 551.003,-9.792 575.376,-17.042 550.519,-27.731 C 556.650,-39.723 554.212,-45.855 540.024,-45.090 C 517.107,-56.704 542.053,-73.859 556.967,-61.306 C 573.040,-58.242 589.202,-54.980 600,-41.393 C 598.833,-50.390 589.912,-57.816 600,-63.689 C 596.203,-69.665 564.345,-58.787 581.167,-76.241 C 589.536,-85.017 580.931,-114.73 576.330,-91.684 C 575.492,-72.620 547.328,-61.733 537.031,- C 526.038,-95.605 551.030,-102.009 561.031,-92.81 C 576.415,-92.302 545.527,-104.363 565.270,-105.191 C 572.972,-120.975 543.736,-98.314 536.033,-104.238 C 525.682,-116.525 494.984,-114.75 497.886,-135.0 C 511.721,-144.197 534.296,-130.717 545,-149.218 C 524.016,-142.21 503.022,-153.159 487.568,-165.094 C 481.712,-165.094 475.856,-165.094 470,-165.094 z terminate called after throwing an instance of 'Geom::SVGPathParseError' what(): parse error
Tavmjong Bah wrote:
** (inkscape:9962): WARNING **: svgd str: M 470,-165.094 C 463.359,-144.158 494.001,-138.293 491.066,-119.944 C 490.507,-103.773 485.828,-79.478 503.305,-72.742 C 507.168,-70.474 521.992,-83.950 516.537,-68.776 C 513.522,-49.912 516.709,-25.731 535.399,-16.125 C 551.003,-9.792 575.376,-17.042 550.519,-27.731 C 556.650,-39.723 554.212,-45.855 540.024,-45.090 C 517.107,-56.704 542.053,-73.859 556.967,-61.306 C 573.040,-58.242 589.202,-54.980 600,-41.393 C 598.833,-50.390 589.912,-57.816 600,-63.689 C 596.203,-69.665 564.345,-58.787 581.167,-76.241 C 589.536,-85.017 580.931,-114.73 576.330,-91.684 C 575.492,-72.620 547.328,-61.733 537.031,- C 526.038,-95.605 551.030,-102.009 561.031,-92.81 C 576.415,-92.302 545.527,-104.363 565.270,-105.191 C 572.972,-120.975 543.736,-98.314 536.033,-104.238 C 525.682,-116.525 494.984,-114.75 497.886,-135.0 C 511.721,-144.197 534.296,-130.717 545,-149.218 C 524.016,-142.21 503.022,-153.159 487.568,-165.094 C 481.712,-165.094 475.856,-165.094 470,-165.094 z terminate called after throwing an instance of 'Geom::SVGPathParseError' what(): parse error
That is invalid path data. Look at the 10th line in for a lonely minus:
576.330,-91.684 C 575.492,-72.620 547.328,-61.733 537.031,- C
So I guess the questions are 1) what is writing out bad path data and 2) why are we parsing it anyway?
Aaron Spike
On Thu, 2008-06-26 at 13:06 -0500, Aaron Spike wrote:
Tavmjong Bah wrote:
** (inkscape:9962): WARNING **: svgd str: M 470,-165.094 C 463.359,-144.158 494.001,-138.293 491.066,-119.944 C 490.507,-103.773 485.828,-79.478 503.305,-72.742 C 507.168,-70.474 521.992,-83.950 516.537,-68.776 C 513.522,-49.912 516.709,-25.731 535.399,-16.125 C 551.003,-9.792 575.376,-17.042 550.519,-27.731 C 556.650,-39.723 554.212,-45.855 540.024,-45.090 C 517.107,-56.704 542.053,-73.859 556.967,-61.306 C 573.040,-58.242 589.202,-54.980 600,-41.393 C 598.833,-50.390 589.912,-57.816 600,-63.689 C 596.203,-69.665 564.345,-58.787 581.167,-76.241 C 589.536,-85.017 580.931,-114.73 576.330,-91.684 C 575.492,-72.620 547.328,-61.733 537.031,- C 526.038,-95.605 551.030,-102.009 561.031,-92.81 C 576.415,-92.302 545.527,-104.363 565.270,-105.191 C 572.972,-120.975 543.736,-98.314 536.033,-104.238 C 525.682,-116.525 494.984,-114.75 497.886,-135.0 C 511.721,-144.197 534.296,-130.717 545,-149.218 C 524.016,-142.21 503.022,-153.159 487.568,-165.094 C 481.712,-165.094 475.856,-165.094 470,-165.094 z terminate called after throwing an instance of 'Geom::SVGPathParseError' what(): parse error
That is invalid path data. Look at the 10th line in for a lonely minus:
576.330,-91.684 C 575.492,-72.620 547.328,-61.733 537.031,- C
So I guess the questions are 1) what is writing out bad path data and 2) why are we parsing it anyway?
Steps to reproduce (with latest svn):
Make a diamond path with pen tool. Turn into pattern (Object->Pattern->Objects to Pattern) Draw a rectangle. Fill rectangle with pattern. Crash.
One other thing I've noticed, is that it now requires two mouse clicks to set a point when drawing with the pen tool straight lines. I am guessing this is a bug too.
I'll file a bug report tomorrow.
Tav
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Tavmjong Bah Sent: donderdag 26 juni 2008 20:30 To: Aaron Spike Cc: Jon A. Cruz; inkscape-devel@lists.sourceforge.net List Subject: Re: [Inkscape-devel] Crash in 2geom ellipse parsing
One other thing I've noticed, is that it now requires two mouse clicks to set a point when drawing with the pen tool straight lines. I am guessing this is a bug too.
I'll file a bug report tomorrow.
This is a known bug (though filing is a good idea of course). It happens because the snapping indicator is enabled. Temporary work arounds: - disable snap indicator (duh! :) - wait for snap indicator to disappear, then click.
Sorry for the inconvenience, this bug exists for quite a while now but I don't know how to fix it and haven't looked further into it.
Thanks, Johan
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of J.B.C.Engelen@...1578... Sent: donderdag 26 juni 2008 22:27 To: tavmjong@...8...; aaron@...749... Cc: jon@...18...; inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Crash in 2geom ellipse parsing
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net [mailto:inkscape-devel-bounces@lists.sourceforge.net] On Behalf Of Tavmjong Bah Sent: donderdag 26 juni 2008 20:30 To: Aaron Spike Cc: Jon A. Cruz; inkscape-devel@lists.sourceforge.net List Subject: Re: [Inkscape-devel] Crash in 2geom ellipse parsing
One other thing I've noticed, is that it now requires two
mouse clicks
to set a point when drawing with the pen tool straight lines. I am guessing this is a bug too.
I'll file a bug report tomorrow.
This is a known bug (though filing is a good idea of course). It happens because the snapping indicator is enabled. Temporary work arounds:
- disable snap indicator (duh! :)
- wait for snap indicator to disappear, then click.
Sorry for the inconvenience, this bug exists for quite a while now but I don't know how to fix it and haven't looked further into it.
Now fixed by Bulia!!!
Johan
On Thu, 26 Jun 2008 17:02:00 +0200, Jon A. Cruz <jon@...18...> wrote:
We've gotten bug #243232 that is due to an assertion in 2geom being triggered.
terminate called after throwing an instance of 'Geom::RangeError' what(): lib2geom exception: there is no ellipse that satisfies the given constraints (2geom/elliptical-arc.cpp:616)
https://bugs.launchpad.net/inkscape/+bug/243232
Can someone familiar with that area take a look?
Could it be a parsing error ? I tried to create EllipticalArc instances using the data presents in the path command that caused the assertion failure and all seem to work fine.
- Marco
On Thu, 26 Jun 2008 17:49:38 +0200, Marco <mrcekets@...400...> wrote:
On Thu, 26 Jun 2008 17:02:00 +0200, Jon A. Cruz <jon@...18...> wrote:
We've gotten bug #243232 that is due to an assertion in 2geom being triggered.
terminate called after throwing an instance of 'Geom::RangeError' what(): lib2geom exception: there is no ellipse that satisfies the given constraints (2geom/elliptical-arc.cpp:616)
https://bugs.launchpad.net/inkscape/+bug/243232
Can someone familiar with that area take a look?
Could it be a parsing error ? I tried to create EllipticalArc instances using the data presents in the path command that caused the assertion failure and all seem to work fine.
- Marco
No sorry I was wrong! There is really a problem with the passed data. The following line is the command that causes the assertion: "M 9.0625 10.21875 A 0.6384567 0.6384567 0 1 0 8.1875 11.15625"
I'm analizing the problem.
- Marco
participants (5)
-
unknown@example.com
-
Aaron Spike
-
Jon A. Cruz
-
Marco
-
Tavmjong Bah