Undo Bezier path edit crashes Inksacpe

Bug #709113 reported by Gregor Shapiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Incomplete
High
Unassigned

Bug Description

I have a jpg embedded that I am redrawing manually with Bezier paths on top of the pixel image.
I am zoomed in tightly to a Bezier path (my one pixel wide line might be 20 or 50 pixels on screen) and use the "Edit path by nodes" tool to drag the path into another shape (actually it usually occurs when I miss the node I want to move and I grab the path very close to the node and pull it into a wide loop [much bigger than the screen area]).
I immediately realize my mistake and hit Ctrl + z to undo.
Inkscape crashes.
This usually occurs a long time after i have made my last save so I am glad that the program saves a backup so I do not loose (much) work.

Inkscape 0.48 r9654
Ubuntu 10.04 LTS
Kernel 2.6.32-28-generic-pae
Gnome 2.30.2
on a Intel Core 2 Quad Q6600 2.40 GHz

description: updated
su_v (suv-lp)
tags: added: crash node-editing undo
Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

Could you provide a backtrace from the crash [1], and any console messages Inkscape puts out when the crash occurs?

Possibly the same as
Bug #664831 “Undo after drag path causes inkscape to crash”
which is a duplicate of
Bug #544599 “Node editing causes segmentation fault”
and fixed in current trunk (and upcoming 0.48.1).

[1] <https://wiki.ubuntu.com/Backtrace>

Revision history for this message
Gregor Shapiro (gregor-shapiro) wrote : Re: [Bug 709113] Re: Undo Bezier path edit crashes Inksacpe

The error message is:
Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:

 /home/gregor/Desktop/2SVG4WikiCommons/HowToHelp-El_3_CPR.svg.2011_01_28_13_33_06.0.svg
How do I do a "backtrace"?

On Fri, Jan 28, 2011 at 12:29, ~suv <email address hidden> wrote:

> Could you provide a backtrace from the crash [1], and any console
> messages Inkscape puts out when the crash occurs?
>
> Possibly the same as
> Bug #664831 “Undo after drag path causes inkscape to crash”
> which is a duplicate of
> Bug #544599 “Node editing causes segmentation fault”
> and fixed in current trunk (and upcoming 0.48.1).
>
>
> [1] <https://wiki.ubuntu.com/Backtrace>
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/709113
>
> Title:
> Undo Bezier path edit crashes Inksacpe
>
> Status in Inkscape: A Vector Drawing Tool:
> New
>
> Bug description:
> I have a jpg embedded that I am redrawing manually with Bezier paths on
> top of the pixel image.
> I am zoomed in tightly to a Bezier path (my one pixel wide line might be
> 20 or 50 pixels on screen) and use the "Edit path by nodes" tool to drag the
> path into another shape (actually it usually occurs when I miss the node I
> want to move and I grab the path very close to the node and pull it into a
> wide loop [much bigger than the screen area]).
> I immediately realize my mistake and hit Ctrl + z to undo.
> Inkscape crashes.
> This usually occurs a long time after i have made my last save so I am
> glad that the program saves a backup so I do not loose (much) work.
>
> Inkscape 0.48 r9654
> Ubuntu 10.04 LTS
> Kernel 2.6.32-28-generic-pae
> Gnome 2.30.2
> on a Intel Core 2 Quad Q6600 2.40 GHz
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/709113/+subscribe
>

--
Gregor Shapiro
Lasarettsvägen 11
SE 302 33 Halmstad Sweden
0046 (0)73 976 2989

Revision history for this message
Gregor Shapiro (gregor-shapiro) wrote :

Yes it does seem to be similar but in contrast to 664831:
"It only sees to happen when there is a path with a sufficiently large number of nodes."
I got the crash when my path had but 3 of originally 4 nodes on a closed path (maybe the removal of a node sends the path into the twilight zone; 544599 created new nodes to get his crash!)

Revision history for this message
su_v (suv-lp) wrote :

> How do I do a "backtrace"?

I'm not using linux myself, but I gave you a link to the ubuntu wiki in my previous comment:
>> [1] <https://wiki.ubuntu.com/Backtrace>

But since your description matches those in the other mentioned reports, it's most likely a duplicate of bug #544599 - fixed in trunk and for the upcoming bug-fix release 0.48.1.

Revision history for this message
su_v (suv-lp) wrote :

AFAICT the number of nodes was not the relevant trigger for the crash, but the Undo command:

Comment from the developer fixing bug #544599:
> Looks like the crash actually occurs when you try
> to drag an orphaned curve dragpoint that is created
> when you undo the creation of certain nodes. I added
> a call to hide the dragpoint before processing an
> undo operation, which should fix it.

But without backtrace or testing a more recent build it's difficult to determine (the console message doesn't give any hints).

Revision history for this message
su_v (suv-lp) wrote :

Or - since you zoom in so closely, it could be similar to
Bug #591986 “[Node tool] Dragging cap at end of path causes crash”
though the fix for that bug was already included in 0.48.0-1ubuntu1.

Revision history for this message
su_v (suv-lp) wrote :

Needs a backtrace, with debugging symbols installed (most likely a duplicate of bug #544599, fixed in 0.48.1).
Or do you have the possibility to test with the current stable release (0.48.1) if this type of crash still occurs?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
Gregor Shapiro (gregor-shapiro) wrote :

In all the editing of bezier paths I have done since I installed 0.48.1 I
have not crashed Inkscape (but I also have been a little more careful too!)

On Apr 5, 2011 1:06 PM, "~suv" <email address hidden> wrote:

Needs a backtrace, with debugging symbols installed (most likely a duplicate
of bug #544599, fixed in 0.48.1).
Or do you have the possibility to test with the current stable release
(0.48.1) if this type of crash still occurs?

** Changed in: inkscape
      Status: New => Incomplete

-- You received this bug notification because you are a direct subscriber of
the bug. https://bugs...
 Incomplete

Bug description: I have a jpg embedded that I am redrawing manually with
Bezier paths on top of t...

I am zoomed in tightly to a Bezier path (my one pixel wide line might be 20
or 50 pixels on scree...

Revision history for this message
su_v (suv-lp) wrote :

> since I installed 0.48.1 I have not crashed Inkscape
> (but I also have been a little more careful too!)

Would you agree to "close" this report as duplicate of bug #544599 (fixed in 0.48.1)? You can revert the duplicate status any time if the same crashes reoccur with the current stable release 0.48.1, and we could then try to further investigate and possibly get a full backtrace for the crash.

Revision history for this message
Gregor Shapiro (gregor-shapiro) wrote :

I have just done that. I thought i should change the "Status" but there was
nothing that fit the bill so I left "Status" as New.
/Gregor

On Tue, Apr 5, 2011 at 18:08, ~suv <email address hidden> wrote:

> > since I installed 0.48.1 I have not crashed Inkscape
> > (but I also have been a little more careful too!)
>
> Would you agree to "close" this report as duplicate of bug #544599
> (fixed in 0.48.1)? You can revert the duplicate status any time if the
> same crashes reoccur with the current stable release 0.48.1, and we
> could then try to further investigate and possibly get a full backtrace
> for the crash.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/709113
>
> Title:
> Undo Bezier path edit crashes Inksacpe
>
> Status in Inkscape: A Vector Drawing Tool:
> Incomplete
>
> Bug description:
> I have a jpg embedded that I am redrawing manually with Bezier paths on
> top of the pixel image.
> I am zoomed in tightly to a Bezier path (my one pixel wide line might be
> 20 or 50 pixels on screen) and use the "Edit path by nodes" tool to drag the
> path into another shape (actually it usually occurs when I miss the node I
> want to move and I grab the path very close to the node and pull it into a
> wide loop [much bigger than the screen area]).
> I immediately realize my mistake and hit Ctrl + z to undo.
> Inkscape crashes.
> This usually occurs a long time after i have made my last save so I am
> glad that the program saves a backup so I do not loose (much) work.
>
> Inkscape 0.48 r9654
> Ubuntu 10.04 LTS
> Kernel 2.6.32-28-generic-pae
> Gnome 2.30.2
> on a Intel Core 2 Quad Q6600 2.40 GHz
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/709113/+subscribe
>

--
Gregor Shapiro
Lasarettsvägen 11
SE 302 33 Halmstad Sweden
0046 (0)73 976 2989

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.