Inkscape crashes when Ctrl-clicking to even rounded corners

Bug #1776579 reported by Ray Phillips
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Inkscape 0.92.3 (2405546, 2018-03-11)

C:\>ver

Microsoft Windows [Version 10.0.16299.431]

C:\>

Steps to reproduce the problem:

1) draw a rectangle
2) increase the Rx value to change the rounding of its corners
3) Ctrl-left click the adjustment node (or Shift-click it)
4) a windows appears containing the message:

     "Inkscape encountered an internal error and will close now.
      Automatic backups of unsaved documents will be saved to the following locations:"

Hmm, yesterday this behavior was consistent over half a dozen times but today it's only happened twice (I didn't reboot my PC in between). OK, I see now, today I was using a new test file. Trying again using the same file as yesterday still produces the crash -- either by dragging the roundness-adjusting nodes or using the Rx or Ry settings -- when adjusting the red rectangle on the top-left of the attached file.

Revision history for this message
Ray Phillips (rbntu) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :
Revision history for this message
Ray Phillips (rbntu) wrote : Re: [Bug 1776579] Re: Inkscape crashes when Ctrl-clicking to even rounded corners

On 13 June 2018 at 19:38, Alvin Penner <email address hidden> wrote:
> similar to Bug 1594877 ?
> https://bugs.launchpad.net/inkscape/+bug/1594877
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1776579

Yes, the same as in that report, but not all the time - but I also get
crashes with Ctrl-click as I described.

Is there any way to get Inkscape to create a crash dump to provide
someone knowledgeable a hint of what's going wrong?

>
> Title:
> Inkscape crashes when Ctrl-clicking to even rounded corners
>
> Status in Inkscape:
> New
>
> Bug description:
> Inkscape 0.92.3 (2405546, 2018-03-11)
>
> C:\>ver
>
> Microsoft Windows [Version 10.0.16299.431]
>
> C:\>
>
> Steps to reproduce the problem:
>
> 1) draw a rectangle
> 2) increase the Rx value to change the rounding of its corners
> 3) Ctrl-left click the adjustment node (or Shift-click it)
> 4) a windows appears containing the message:
>
> "Inkscape encountered an internal error and will close now.
> Automatic backups of unsaved documents will be saved to the following locations:"
>
>
> Hmm, yesterday this behavior was consistent over half a dozen times but today it's only happened twice (I didn't reboot my PC in between). OK, I see now, today I was using a new test file. Trying again using the same file as yesterday still produces the crash -- either by dragging the roundness-adjusting nodes or using the Rx or Ry settings -- when adjusting the red rectangle on the top-left of the attached file.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/1776579/+subscriptions

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

you can run gdb as described at:
https://inkscape.org/en/develop/debugging/

unfortunately I am not exactly sure what the easiest way is of actually getting gdb.exe. It comes automatically with the mingw compiler but that is kind of a very roundabout way of getting it.

Revision history for this message
Ray Phillips (rbntu) wrote :
Download full text (7.2 KiB)

It turns out gdb is installed with GNU Octave:

C:\Octave\Octave-4.2.2\bin>gdb --version
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".

C:\Octave\Octave-4.2.2\bin>

I copied that bin directory and ran gdb from the copy to avoid
(possibly) creating unwanted files under C:\Octave. I'll paste the
output below, but it may not help since gdb said "no debugging symbols
found." Please let me know if it would be useful to execute any other
gdb commands.

Perhaps I should try using gdb on an inkscape.exe built as per this page:

http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows_with_MSYS2

How can debugging symbols be created using MSYS2 ?

C:\0\bin>type gdb.init
set pagination off

C:\0\bin>gdb "C:\Program Files\Inkscape\inkscape.exe" -ex r
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Program Files\Inkscape\inkscape.exe...(no
debugging symbols found)...done.
Starting program: C:\Program Files\Inkscape\inkscape.exe
[New Thread 13320.0x370c]
[New Thread 13320.0x45fc]
[New Thread 13320.0x50bc]
[New Thread 13320.0x302c]
[New Thread 13320.0x473c]
[New Thread 13320.0x3bd0]
[New Thread 13320.0x3868]
[New Thread 13320.0x3970]
[New Thread 13320.0x6944]
[New Thread 13320.0x6a9c]
[New Thread 13320.0x6f24]
[New Thread 13320.0x567c]
[New Thread 13320.0x2b28]
[New Thread 13320.0x71d8]

Thread 1 received signal SIGSEGV, Segmentation fault.
0x000000000372cfd0 in
libinkscape_base!_ZN10KnotHolder20knot_clicked_handlerEP6SPKnotj ()
   from C:\Program Files\Inkscape\libinkscape_base.dll
(gdb) backtrace
#0 0x000000000372cfd0 in
libinkscape_base!_ZN10KnotHolder20knot_clicked_handlerEP6SPKnotj ()
   from C:\Program Files\Inkscape\libinkscape_base.dll
#1 0x0000000003a52ca1 in
libinkscape_base!_ZN4sigc8internal12signal_emit2IvP6SPKnotjNS_3nilEE4emitEPNS0_11signal_implERKS3_RKj
() from C:\Program Files\Inkscape\libinkscape...

Read more...

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

- thanks, the output you got should be quite helpful to someone who is familiar with the code, which I am not...
- looks as though the crash occurred somewhere in the messaging system/event handlers.

Revision history for this message
Ray Phillips (rbntu) wrote :

In case it isn't clear from my first post, this is on a 64-bit Windows
10 Home machine and Inkscape is 64-bit.

On 14 June 2018 at 19:57, Alvin Penner <email address hidden> wrote:
> - thanks, the output you got should be quite helpful to someone who is familiar with the code, which I am not...
> - looks as though the crash occurred somewhere in the messaging system/event handlers.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1776579
>
> Title:
> Inkscape crashes when Ctrl-clicking to even rounded corners
>
> Status in Inkscape:
> New
>
> Bug description:
> Inkscape 0.92.3 (2405546, 2018-03-11)
>
> C:\>ver
>
> Microsoft Windows [Version 10.0.16299.431]
>
> C:\>
>
> Steps to reproduce the problem:
>
> 1) draw a rectangle
> 2) increase the Rx value to change the rounding of its corners
> 3) Ctrl-left click the adjustment node (or Shift-click it)
> 4) a windows appears containing the message:
>
> "Inkscape encountered an internal error and will close now.
> Automatic backups of unsaved documents will be saved to the following locations:"
>
>
> Hmm, yesterday this behavior was consistent over half a dozen times but today it's only happened twice (I didn't reboot my PC in between). OK, I see now, today I was using a new test file. Trying again using the same file as yesterday still produces the crash -- either by dragging the roundness-adjusting nodes or using the Rx or Ry settings -- when adjusting the red rectangle on the top-left of the attached file.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/inkscape/+bug/1776579/+subscriptions

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.