gotcha

Author Topic: Bezier Curve Tool Ellipse mode causes crash  (Read 3135 times)

September 08, 2017, 11:08:23 AM
Read 3135 times

tubahorse

  • Sr. Newbie

  • Offline
  • **

  • 7
Hello! I recently updated to the newest version of inkscape, and there's one glaring bug that has caused me some grief. Whenever I make a line with the bezier tool in ellipse mode, if I move that line and then try to undo past the creation of that line with it still selected, Inkscape crashes immediately. It reads "Inkscape encountered an internal error and will close now. Automatic backups of unsaved documents were done to the following locations", and then forces me to close.

Why is this?
  • Inkscape version 0.92.2
  • Windows 10 Home 64x

September 08, 2017, 05:23:29 PM
Reply #1

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Can't reproduce here - but it sounds like a bug.
Can you browse the bug reports here: https://bugs.launchpad.net/inkscape and if you can't find yours, make a new one with step-by-step instructions how to reproduce, and also include operating system and Inkscape version there?

September 09, 2017, 08:50:38 PM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

I'm trying to test here, but I need more details.  Which options do you have enabled on the control bar, besides the Ellipse shape option?

I've tried a number of options, but still haven't reproduced it.

Does this happen in any file you edit?  Or is it only happening in one file?  If it seems particular to one, or maybe certain files, if you could share one, we could test further.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

September 11, 2017, 01:01:38 PM
Reply #3

tubahorse

  • Sr. Newbie

  • Offline
  • **

  • 7
Does this happen in any file you edit?  Or is it only happening in one file?
It's been happening in every picture I've worked on nearly without fail. The mode is regular bezier path, and the shape is ellipse. Those are the only options visible.

EDIT: As it turns out, my version listed is incorrect. I'm using 0.92.1. I will try reproducing this in the new version'

EDIT 2: The problem is still persisting in version 0.92.2
« Last Edit: September 11, 2017, 07:08:29 PM by tubahorse »
  • Inkscape version 0.92.2
  • Windows 10 Home 64x

September 11, 2017, 08:12:08 PM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Is it just a simple 2-node path that will create a crash?  Can you show us an example?  Or does it crash before you can finish something?  If you can, please share a file with us.

Does it happen in a new blank file?  Is there something else in the file, when this happens?  Like maybe you're tracing an imported raster image?

I agree with Moini, that this is probably going to be a bug.  I was just hoping to find some parameters to report.  Otherwise, it will be harder for developers.

Oh, what about templates -- are you using a custom template?

I found a bug about rotating pattern along path:  https://bugs.launchpad.net/inkscape/+bug/1658330  (Using the Pen/Bezier tool with Ellipse shape is automatically creating pattern along path LPE.)

Oh, look at this one!  https://bugs.launchpad.net/inkscape/+bug/323061  It's a good sign that it says Fix Committed, if this is the problem you're having.

This one could be related:  https://bugs.launchpad.net/inkscape/+bug/1482806

Do any of those seem to fit?
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

September 11, 2017, 09:28:36 PM
Reply #5

tubahorse

  • Sr. Newbie

  • Offline
  • **

  • 7
Here, I've made a video detailing exactly what happens. I demonstrate the glitch twice, as well as show my preferences, my system specs, and the inkscape version. I had a friend try it as well and she got the same result. Note this is a fresh install of Inkscape 0.92.2

  • Inkscape version 0.92.2
  • Windows 10 Home 64x

September 11, 2017, 10:20:59 PM
Reply #6

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Ok, following your video, I see you draw the path.  Then you switch to the node tool (using key shortcut apparently) and drag the path in 2 places.  Then the path snaps back to a straight line right before the error message appears.

Did the crash come when you used Undo (via Ctrl Z) ?  I believe that IS a known bug.  I'll see if I can find it.

Edit
I think this is it:  https://bugs.launchpad.net/inkscape/+bug/540591

(Remember how I said that using the Ellipse shape with Pen (and Pencil) tools automatically creates Pattern Along Path LPE?)

Edit #2 -- And btw, I can absolutely reproduce that crash!
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

September 11, 2017, 10:31:57 PM
Reply #7

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I don't know if this works for everyone.  But if I switch from the Node tool to some other tool, before I Undo, it avoids the crash.

Edit
Actually I just looked to the status of the bug report, and it says Fix Released.  So either it's not fixed, or I have not found the correct bug report.  Maybe Moini can comment here?  She knows more about bugs than I do.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

September 12, 2017, 12:28:25 AM
Reply #8

tubahorse

  • Sr. Newbie

  • Offline
  • **

  • 7
Did the crash come when you used Undo (via Ctrl Z) ?
Yes, and I know it can be avoided by switching tools, but if I'm not thinking about it as I work and just try to undo it, boom I'm hit with a crash. Thankfully it makes a dump save.

Actually I just looked to the status of the bug report, and it says Fix Released.
Given this is a fresh install and fresh update as of today, it surely isn't fixed.
  • Inkscape version 0.92.2
  • Windows 10 Home 64x

September 12, 2017, 04:52:49 AM
Reply #9

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Well, assuming what we're seeing is this same bug, I agree.  But there's way too much technical info in that report, for me to feel sure it's the same thing.

What I would do is make a new post to that report.  Explain everything you've explained here, and including the part about the crash coming after Undo.

If you don't want to get involved on this level, I could make the post for you.

But I would wait and see what Moini thinks.  As I said before, she understands a lot more technical things than I do, and she might be able to say whether this problem you're having is the same as that bug.  Or she might know if there was some last minute decision about including the fix, but no one remembered to update the report.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

September 12, 2017, 09:59:02 AM
Reply #10

tubahorse

  • Sr. Newbie

  • Offline
  • **

  • 7
Okay. I'll wait for their input, and then if that yield no results I can go report the bug.
  • Inkscape version 0.92.2
  • Windows 10 Home 64x

September 12, 2017, 03:17:06 PM
Reply #11

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
None of the linked bug reports seem to be covering the issue, and I couldn't find one that does (I'm not a great bug report hunter, though).

Please create a new one, with a title similar to 'Memory access error (crash) on undo of Pattern along Path' (I get a memory access error message, and it 'works', i.e. crashes, even with a PaP effect added via Path effects menu). Include the video link, and Inkscape version, I think it's all that is needed. Reproduced on Linux Mint 18.2.

September 13, 2017, 07:01:49 AM
Reply #12

tubahorse

  • Sr. Newbie

  • Offline
  • **

  • 7
I've made the report. Now all we do is wait, I guess.
  • Inkscape version 0.92.2
  • Windows 10 Home 64x

September 13, 2017, 10:30:40 AM
Reply #13

tubahorse

  • Sr. Newbie

  • Offline
  • **

  • 7
It seems the fix has been committed and will be out with inkscape 0.92.3! Thank you both so much for helping me figure this out.

https://bugs.launchpad.net/inkscape/+bug/1716926
  • Inkscape version 0.92.2
  • Windows 10 Home 64x

September 13, 2017, 03:25:05 PM
Reply #14

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Congrats to your successful bug report! :-)

September 13, 2017, 08:47:30 PM
Reply #15

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

May 22, 2018, 08:32:51 PM
Reply #16

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
The messages posted at the end of this topic were split into a new topic:  https://forum.inkscapecommunity.com/index.php?topic=1153.0
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann