Internal error caused when modifying path segment between duplicated, smoothed nodes.

Bug #1586210 reported by Sam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
High
Unassigned

Bug Description

When attempting to modify a path segment between duplicated smoothed nodes, an internal error is thrown and Inkscape crashes.

###############################
To replicate the error:
1. Create new file
2. Using the pencil tool, create a triangle with three nodes
3. Switch to the node tool (F2)
4. Select all nodes (Ctrl+A)
5. Duplicate nodes (Shift+D)
6. With all nodes still selected, convert to smooth nodes (Shift+S)
7. Using the cursor, attempt to modify a path segment

8. A dialogue box appears, with words to the effect of "Inkscape internal Error. Inkscape will now close. Automatic backups of the file have been saved to xxPATHxx". This dialogue is only open very briefly.
9. Inkscape closes

See the attached file (bug.svg) for an example

###############################
Workaround 1
1. Select all nodes
2. Convert them into cusp nodes (Shift+C)
Segments can now be modified at will

Workaround 2
1. Select duplicate node
2. Delete until only a single node remains at each site
Segments can now be modified at will

###############################
Desired behaviour
1. Inkscape should not crash
2. An informative dialogue box should appear (Something like "Illegal operation: multiple smoothed nodes on path", maybe)
3. Dialogue should stay open for long enough for the user to read it
4. The user should have the opportunity to delete or modify the offending nodes

###############################
System details
Inkscape 0.91 r13725
Ubuntu 15.10

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

- confirmed on Windows 7 (32 bit), Inkscape 0.91 r13725 (Jan 30 2015)

- Dos exit message is:
terminate called after throwing an instance of 'Geom::ContinuityError'
  what(): lib2geom exception: Non-contiguous path (src/2geom/path.cpp:386)

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

terminate called recursively

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

- confirmed on Windows XP, Inkscape 0.91+devel r14907 (May 21 2016)
- DOS exit message is:

terminate called after throwing an instance of 'Geom::ContinuityError'
  what(): lib2geom exception: Non-contiguous path (src/2geom/path.cpp:1043)

Emergency save activated!

Emergency save document locations:
  E:\bug.svg.2016_05_27_06_51_14.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

terminate called recursively

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → High
tags: added: crash node-editing
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP (32-bit), Inkscape trunk rev. 14920.
Not reproduced with 0.48.5.

Changed in inkscape:
milestone: none → 0.92
status: Confirmed → Triaged
tags: added: regression
Revision history for this message
Qantas94Heavy (qantas94heavy) wrote :

Issue still remains with Inkscape 0.92.4 on openSUSE TW 20190301.

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.