"encountered an internal error and will close now" upon a starting with this specific file

Bug #1789926 reported by Tamlin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Mc
0.92.x
Triaged
High
Unassigned

Bug Description

I am getting a similar error to bug #818082

I tried to paste an image into a drawing and inkscape crashed. When I try to open the automatically saved backup (Attached), it crashes every time.

I've upgraded Inkscape to the latest stable and still the error occurs. It would be great if the object containing the Non-contiguous path could be deleted so that at least I can salvage the rest of my drawing.

jesse@Limbo ~ $ inkscape "/home/jesse/New document 1.2018_08_30_20_50_53.0.svg"

(inkscape:25475): Gtk-WARNING **: Theme directory of theme oxygen has no size field

terminate called after throwing an instance of 'Geom::ContinuityError'
  what(): lib2geom exception: Non-contiguous path (/build/inkscape-vgG8ts/inkscape-0.92.3+68~ubuntu16.04.1/src/2geom/path.cpp:1043)

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.
Aborted
jesse@Limbo ~ $ gdb --args inkscape "/home/jesse/New document 1.2018_08_30_20_50_53.0.svg"
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 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-linux-gnu".
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 inkscape...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/inkscape /home/jesse/New\ document\ 1.2018_08_30_20_50_53.0.svg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe61cd700 (LWP 25655)]
[New Thread 0x7fffe59cc700 (LWP 25656)]
[New Thread 0x7fffe51cb700 (LWP 25657)]
[New Thread 0x7fffe49ca700 (LWP 25658)]
[New Thread 0x7fffe41c9700 (LWP 25659)]
[New Thread 0x7fffe39c8700 (LWP 25660)]
[New Thread 0x7fffe31c7700 (LWP 25661)]

(inkscape:25646): Gtk-WARNING **: Theme directory of theme oxygen has no size field

[New Thread 0x7fffe138a700 (LWP 25662)]
[New Thread 0x7fffe0b89700 (LWP 25663)]
terminate called after throwing an instance of 'Geom::ContinuityError'
  what(): lib2geom exception: Non-contiguous path (/build/inkscape-vgG8ts/inkscape-0.92.3+68~ubuntu16.04.1/src/2geom/path.cpp:1043)

Thread 1 "inkscape" received signal SIGABRT, Aborted.
0x00007ffff4281428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff4281428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff428302a in __GI_abort () at abort.c:89
#2 0x00007ffff46a584d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff46a36b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff46a3701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff46a3919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff773bec4 in Geom::Path::do_append(Geom::Curve*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#7 0x00007ffff6f081e3 in SPCurve::lineto(Geom::Point const&) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#8 0x00007ffff6f08331 in SPCurve::new_from_rect(Geom::Rect const&, bool) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#9 0x00007ffff75baa7f in SPImage::set(unsigned int, char const*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#10 0x00007ffff75ba78c in SPImage::build(SPDocument*, Inkscape::XML::Node*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#11 0x00007ffff75e5763 in SPObject::invoke_build(SPDocument*, Inkscape::XML::Node*, unsigned int) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#12 0x00007ffff75e765c in SPObject::build(SPDocument*, Inkscape::XML::Node*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#13 0x00007ffff75e5763 in SPObject::invoke_build(SPDocument*, Inkscape::XML::Node*, unsigned int) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#14 0x00007ffff75e765c in SPObject::build(SPDocument*, Inkscape::XML::Node*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#15 0x00007ffff75f4276 in SPRoot::build(SPDocument*, Inkscape::XML::Node*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#16 0x00007ffff75e5763 in SPObject::invoke_build(SPDocument*, Inkscape::XML::Node*, unsigned int) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#17 0x00007ffff74cc1af in SPDocument::createDoc(Inkscape::XML::Document*, char const*, char const*, char const*, unsigned int, SPDocument*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#18 0x00007ffff74cd042 in SPDocument::createNewDoc(char const*, unsigned int, bool, SPDocument*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#19 0x00007ffff6f649a8 in Inkscape::Extension::Input::open(char const*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#20 0x00007ffff6f676ec in Inkscape::Extension::open(Inkscape::Extension::Extension*, char const*) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#21 0x00007ffff74d9648 in sp_file_open(Glib::ustring const&, Inkscape::Extension::Extension*, bool, bool) () from /usr/bin/../lib/inkscape/libinkscape_base.so
#22 0x000055555555c3ef in sp_main_gui(int, char const**) ()
#23 0x00007ffff426c830 in __libc_start_main (main=0x55555555a1d0 <main>, argc=2, argv=0x7fffffffdfb8, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffdfa8) at ../csu/libc-start.c:291
#24 0x000055555555a709 in _start ()
(gdb)

Revision history for this message
Tamlin (storyjesse-gmail) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

- crash confirmed on Windows 10, Inkscape 0.92.3 (2405546, 2018-03-11)
- crash also reproduced on Inkscape 0.92+devel (d890608, 2018-08-21)

exit message is:

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

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Mc (mc...) wrote :

crash is provoked by the <image y="0" x="-nan" ...

and once crash is ignored, absence of anything is called by

width="inf"

Revision history for this message
Mc (mc...) wrote :
Changed in inkscape:
status: Confirmed → Fix Committed
importance: Undecided → High
assignee: nobody → Mc (mc...)
milestone: none → 1.0
tags: added: backport-proposed
Max Gaukler (mgmax)
Changed in inkscape:
status: Fix Committed → Fix Released
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.