Crash if right-click when completing a shape

Bug #168576 reported by Jfruchey
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

Using the bezier tool, while making the last curve of a shape, i.e. the one
that ends at the start point, if I accidentally right-click, the program
completely exits. I have been able to reproduce the problem with 100%
success. I'm using Inkscape 0.45.1, build date 2007-03-21 on Fedora Core
6.

Here is the output of gdb:

** (inkscape:24534): WARNING **: Illegal pathcode 204179992

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208510208 (LWP 24534)]
0x083e5f55 in sp_svg_write_path ()

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

Cannot reproduce. Please list exact steps with maximum detail.

Revision history for this message
Jfruchey (jfruchey) wrote :

Originator: YES

Just to note, I was also able to reproduce the crash with the same build
running on Vista.

Start Inkscape. Select the Bezier tool. Click once, then click and drag in
a second spot to make a curve. Now click on the original spot to complete a
circle. Before releasing the mouse button, drag to the side to make a
curve. With the primary button still pressed, click the right mouse button.
The program will crash.

I discovered this completely by accident, I'm not just some nut that
randomly clicks combinations of buttons.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

Thanks, that helps. I can now reproduce it and will look into it shortly.

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

fixed in svn

Revision history for this message
Aguas (h2o-pimienta) wrote :

I had it systematically on 0.45.1, build date 2007-june, on Debian etch and sid...

It has changed on 0.45.1, build date 2007 september 20, on Ubuntu 7.10 - Gutsy Gibbon - published in october 2007...

The program exits 7/10 directly, or quiet freeze before exiting...

Revision history for this message
Aguas (h2o-pimienta) wrote :

Sorry, (it makes a while that I don't report a bug) and it's my first contribution to inkscape !!) Ups

This bug is no more systematic but is still really present... easy to reproduce:
"Using the bezier tool, while making the last curve of a shape, i.e. the one
that ends at the start point, if I accidentally right-click"

at the same time that i'm left-clicking in order to close the shape,

"the program completely exits."

Revision history for this message
Tom Davidson (tjd-mit) wrote :

Hmm--that is troubling that you are seeing it on builds after bulia's fix. I can't reproduce this in current SVN under Linux (Fedora Core 6). Could you try one of the 0.46 preview releases? I tried it about 10 times with no crashes or other problems--the curve just completes normally.

If you can reproduce the crash in a recent build, can you also provide a backtrace? (Instructions at http://www.inkscape.org/report_bugs.php )

Can you also verify that these are the steps that trigger the crash:

"Start Inkscape. Select the Bezier tool. Click once, then click and drag in
a second spot to make a curve. Now click on the original spot to complete a
circle. Before releasing the mouse button, drag to the side to make a
curve. With the primary button still pressed, click the right mouse button.
The program will crash."

Revision history for this message
Ernst-gumpinger-w (ernst-gumpinger-w) wrote :

I still encounter the same problem on Inkscape 0.48.3.1 r9886 using crunchbang linux (debian wheezy).

I use the same steps as Jfruchey:

1. open a new document

2. draw a path with bezier tool and close it.

3. While closing it (i.e. left-clicking on the starting node) drag the node (to change the aspect of the curve).

4. Still holding the left mouse button, click the right mouse-button.

5. Inkscape crashes.

Revision history for this message
jazzynico (jazzynico) wrote :

> I still encounter the same problem on Inkscape 0.48.3.1 r9886 using crunchbang linux (debian wheezy).

Confirmed on Windows XP. Follow-up report : bug #1326652 (same report name).

Changed in inkscape:
milestone: none → 0.46
tags: added: crash
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.