Crash while adding LPE to path.

Bug #381944 reported by dopelover
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

Inkscape crashes when I try to add LPE effect to any path.
How to reproduce:

1)Create path with Pen tool.
2)Select the path.
3)Hit Edit paths by nodes button tool (F2).
4)Open Path effects editor (Ctrl+Shift+7)
5)Select effect and click Add button.

Inkscape crashes

I use Inkscape r21453 running on Ubuntu 9.04

Revision history for this message
dopelover (dopelover) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows build 21345.
- first crash with Bend yielded the exit messages:
C:\Program Files\Inkscape>inkscapec
WARNING: Requested update while update in progress, counter = 1
WARNING: Requested update while update in progress, counter = 1

Emergency save activated!

Emergency save document locations:

- second crash with combination of Gears and Knot yielded the messages:
** (inkscape.exe:3012): WARNING **: Exception during LPE Knot execution.
 lib2geom exception: Non-contiguous path (src/2geom/path.cpp:88)

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Alvin Penner (apenner) wrote :

I get a crash quite reliably by drawing a single spline curve and applying the Bend LPE

there are 3 cases, of which only one crashes.
1. when the Bezier spline is first drawn, there are two rectangles at the endpoints which are not filled with color. Applying the Bend Effect at this point will not cause a crash.

2. if you click on the Select tool and apply the LPE, there is no crash

3. if you click on the Node tool and confirm that the rectangles are filled with gray color, and apply the LPE, it will crash.

usually the message is :

WARNING: Requested update while update in progress, counter = 1
WARNING: Requested update while update in progress, counter = 1

sometimes also the message is:

C:\Program Files\Inkscape>inkscapec

(inkscape.exe:4064): GLib-GObject-WARNING **: invalid uninstantiatable type `GFlags' in cast to `SPCanvasBPath'

** (inkscape.exe:4064): CRITICAL **: void sp_canvas_bpath_set_bpath(SPCanvasBPath*, SPCurve*): assertion `SP_IS_CANVAS_BPATH (cbp)' failed

(inkscape.exe:4064): GLib-GObject-WARNING **: invalid uninstantiatable type `GFlags' in cast to `SPCanvasBPath'

** (inkscape.exe:4064): CRITICAL **: void sp_canvas_bpath_set_bpath(SPCanvasBPath*, SPCurve*): assertion `SP_IS_CANVAS_BPATH (cbp)' failed

(inkscape.exe:4064): GLib-GObject-WARNING **: invalid uninstantiatable type `GFlags' in cast to `SPCanvasBPath'

** (inkscape.exe:4064): CRITICAL **: void sp_canvas_bpath_set_bpath(SPCanvasBPath*, SPCurve*): assertion `SP_IS_CANVAS_BPATH (cbp)' failed

Revision history for this message
Alvin Penner (apenner) wrote :

similar to Bug 304018 ?

Revision history for this message
Alvin Penner (apenner) wrote :

backtrace follows:

(gdb) run
Starting program: C:\Program Files\Inkscape/inkscape.exe
[New thread 3156.0xe8]

Program received signal SIGSEGV, Segmentation fault.
0x63a61eed in g_type_check_instance_cast ()
   from C:\Program Files\Inkscape\libgobject-2.0-0.dll
(gdb) bt
#0 0x63a61eed in g_type_check_instance_cast ()
   from C:\Program Files\Inkscape\libgobject-2.0-0.dll
Cannot access memory at address 0x22ed60
(gdb) c
Continuing.
error return win32-nat.c:1254 was 31

Revision history for this message
Steren (steren-giannini) wrote :

It seams that my Bug 394899 is a duplicated of this one.

For me, it only crash with "Bend" and "Envelope" LPEs.

* Follow these steps :
- create a path
- double click on it to show its nodes (enter Edit mode)
- apply "Bend" or "Envelope"
crash

Revision history for this message
jazzynico (jazzynico) wrote :

Already reported in Bug #304018.
Seems to affect other LPEs too.

jazzynico (jazzynico)
tags: added: livepatheffects
removed: lpe
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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