Crash - When textpath xlink:href points to path thats not in document.
Summary:
I created an svg entirely from Inkscape. I added about 5 paths to guide some lines of text. When opening the svg today, I see that 2 of the lines do not follow their own paths. If I try to put one of them on its path, or on another, nothing happens. If I try to remove it from its path, then Inkscape crashes.
If I remember well, at some point, some of the lines where not following their path, I mean, when I edited the path, the text would not bend over it, and remain with its last shape. Then I "unlinked" and "linked" again text and path, and it followed the path well. It may be related to this error.
Steps to reproduce:
- open Inkscape
- open an special svg that I don't know what went wrong on saving
- select one line of text on the top of the svg, out of place
- text → remove from path
What happened?
Segmentation fault
What should have happened?
When opening the SVG, the out of place text lines should have showed in teir place, following each one a different path they are assigned
Sample attachments
I can share the complete example if it helps to understand how this situation was created.
Version info
Inkscape 1.2.2 (b0a8486541, 2022-12-01)
GLib version: 2.74.6
GTK version: 3.24.38
glibmm version: 2.66.5
gtkmm version: 3.24.7
libxml2 version: 2.9.14
libxslt version: 1.1.35
Cairo version: 1.16.0
Pango version: 1.50.12
HarfBuzz version: 6.0.0
OS version: Debian GNU/Linux 12 (bookworm)