SIGSEGV when zooming in on curve in sp_ctrl_build_cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
inkscape (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
$ apt-cache policy inkscape
inkscape:
Installed: 0.92.5-1ubuntu1.1
Candidate: 0.92.5-1ubuntu1.1
Version table:
*** 0.92.5-1ubuntu1.1 500
500 http://
100 /var/lib/
0.
500 http://
1. Open up the attached SVG, with `inkscape bezier_fit.svg`
2. Select the orange-red curve in front with "Edit paths by nodes (F2)" so that all four of the Bezier vertices are visible.
3. Zoom all the way in on a segment of curve.
4. SIGSEGV, with a stack trace that (usually) looks like:
Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
0x00007ffff734edec in sp_ctrl_build_cache (ctrl=0x5555584
385 ./src/display/
(gdb) bt
#0 0x00007ffff734edec in sp_ctrl_build_cache (ctrl=0x5555584
#1 sp_ctrl_
#2 0x00007ffff7351b6a in SPCanvasGroup:
#3 0x00007ffff7351b6a in SPCanvasGroup:
#4 0x00007ffff7351b6a in SPCanvasGroup:
#5 0x00007ffff7351b6a in SPCanvasGroup:
#6 0x00007ffff73541e0 in SPCanvas:
(this=
#7 0x00007ffff73546d1 in SPCanvas:
(this=
#8 0x00007ffff7354944 in SPCanvas:
(this=
#9 0x00007ffff7354ba5 in SPCanvas::paint() (this=0x555556e
#10 0x00007ffff7354d48 in SPCanvas:
#11 0x00007ffff7354dd8 in SPCanvas:
#12 0x00007ffff613ce99 in () at /usr/lib/
#13 0x00007ffff6b7804e in g_main_dispatch (context=
#14 g_main_
#15 0x00007ffff6b78400 in g_main_
#16 0x00007ffff6b786f3 in g_main_loop_run (loop=0x5555580
#17 0x00007ffff63ad092 in gtk_main () at /usr/lib/
#18 0x000055555555db3d in sp_main_gui(int, char const**) (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:1173
#19 0x00007ffff5bb60b3 in __libc_start_main (main=
0x55555555b8c0 <main(int, char**)>, argc=2, argv=0x7fffffff
at ../csu/
#20 0x000055555555bf6e in _start () at ./src/main.cpp:661
And also:
* The two paths are either a near-exact or perfectly exact match for one another.
* `vector-effect: non-scaling-stroke` in the CSS probably isn't something that Inkscape sees very often.