LPE Boolops crashes when one of the paths is a circle

Bug #249437 reported by Pablo Trabajos
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Maximilian Albert

Bug Description

1. Draw a square.
2. Draw a circle/ellipse.
3. Select the square and apply the LPE.
4. Copy circle/ellipse and paste to the LPE effect of the square.
5. Crash. Sometimes it doesn't crahes until you place the second path over the square (editing the LPE).

When it doesn't crah directly, I'm able to move the whole object (square+circle). Sometimes the second path is not shown no matter what option do I use. This is what I get:
!!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]

** (inkscape:14685): WARNING **: Exception during LPE Boolops execution.
 St9bad_alloc
0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]

** (inkscape:14685): WARNING **: Exception during LPE Boolops execution.
 St9bad_alloc

If I edit or move the 2nd path I get a lot of this:
!!!!!1 !!!!!1 !!!!!1 !!!!!1 0
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 16]
f0[16, 16.1328]
r0[16.1328, 16.1484]
f0[16.1484, 16.1485]
r0[16.1485, 16.164]
f0[16.164, 16.2656]
r0[16.2656, 16.2812]
f0[16.2812, 16.2813]
r0[16.2813, 16.2969]
f0[16.2969, 16.2969]
r0[16.2969, 16.3125]
f0[16.3125, 16.3125]
r0[16.3125, 16.3281]
f0[16.3281, 16.418]
r0[16.418, 16.4297]
f0[16.4297, 16.4297]
r0[16.4297, 16.4453]
f0[16.4453, 16.4453]
r0[16.4453, 16.4609]
f0[16.4609, 16.5391]
r0[16.5391, 16.5547]
f0[16.5547, 16.5547]
r0[16.5547, 16.5703]
f0[16.5703, 16.5703]
r0[16.5703, 16.582]
f0[16.582, 16.6719]
r0[16.6719, 16.6875]
f0[16.6875, 16.6875]
r0[16.6875, 16.7031]
f0[16.7031, 16.7031]
r0[16.7031, 16.7187]
f0[16.7187, 16.7188]
r0[16.7188, 16.7344]
f0[16.7344, 16.836]
r0[16.836, 16.8515]
f0[16.8515, 16.8516]
r0[16.8516, 16.8672]
f0[16.8672, 16.8516]
added 99
0
f0[16.8594, 16.1406]
r0[16.1406, 16.8594]
added 21
!!!!!1 !!!!!1 0
f0[6.7055e-16, 16]
r0[16, 6.7055e-16]
added 20
!!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
!!!!!1 !!!!!1 0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
!!!!!1 !!!!!1 !!!!!1 !!!!!1 0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
!!!!!1 !!!!!1 0
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 16]
f0[16, 16.0938]
r0[16.0938, 16.1094]
f0[16.1094, 16.1797]
r0[16.1797, 16.1953]
f0[16.1953, 16.8047]
r0[16.8047, 16.8203]
f0[16.8203, 16.8906]
r0[16.8906, 16.9062]
f0[16.9062, 16.8906]
added 48
!!!!!1 !!!!!1 0
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 1.78458e-15]
f0[1.78458e-15, 1.78458e-15]
r0[1.78458e-15, 16]
f0[16, 16.0781]
r0[16.0781, 16.0937]
f0[16.0937, 16.1797]
r0[16.1797, 16.1953]
f0[16.1953, 16.8047]
r0[16.8047, 16.8203]
f0[16.8203, 16.9063]
r0[16.9063, 16.9219]
f0[16.9219, 16.9063]
added 44
0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20
0
f0[1.34576e-15, 16]
r0[16, 1.34576e-15]
added 20

Sometimes it crashes right away:** (inkscape:14078): CRITICAL **: void Inkscape::LivePathEffect::Effect::addHelperPaths(SPLPEItem*, SPDesktop*): assertion `SP_IS_PATH(lpeitem)' failed

** (inkscape:14078): CRITICAL **: void Inkscape::LivePathEffect::Effect::addHelperPaths(SPLPEItem*, SPDesktop*): assertion `SP_IS_PATH(lpeitem)' failed

** (inkscape:14078): CRITICAL **: void Inkscape::LivePathEffect::Effect::addHelperPaths(SPLPEItem*, SPDesktop*): assertion `SP_IS_PATH(lpeitem)' failed
!!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!!1 !!!!
...and on and on...

(The last one happened with a different file, though).

I tried with polygons/stars and a square as main path and it works well.

Revision history for this message
Pablo Trabajos (pajarico) wrote :

Forgot the attachment.

Changed in inkscape:
assignee: nobody → johanengelen
Revision history for this message
Johan Engelen (johanengelen) wrote :

I think the crash is fixed now.

However, node editing is wrong now for the topleft item. Select the thing with nodetool and drag on a curve of the circle. It should not be able to drag that there, but Inkscape tries and bugs. (assigning to Max)

Changed in inkscape:
assignee: johanengelen → cilix
status: New → Incomplete
Revision history for this message
bbyak (buliabyak) wrote :

rev 20060: no crash, and the ellipse outline not draggable in node tool, so closing

Changed in inkscape:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.