On Thu, 2016-10-06 at 19:07 +0900, Yves Quemener wrote:
Dear all,
I'd like to report a crash on inkscape while importing the included file.
Crashes with Inkscape 0.91 r13725 on windows 10 and with Inkscape 0.91 r13725 on Ubuntu 16.04.1 LTS.
The file is generated by a custom tool, so it is very probable that it contains something invalid, but I don't think it should crash the software totally.
No, Inkscape should not crash even on invalid SVG so that is a bug. There is an invalid line at near the bottom of the file:
// Éléments seuls
Here is the result of gdb:
terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_M_construct null not valid
Thread 1 "inkscape" received signal SIGABRT, Aborted. 0x00007fffefe1e418 in __GI_raise (sig=sig@...3051...=6) at ../sysdeps/unix/sysv/linux/raise.c:54 54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt #0 0x00007fffefe1e418 in __GI_raise (sig=sig@...3051...=6) at ../sysdeps/unix/sysv/linux/raise.c:54 #1 0x00007fffefe2001a in __GI_abort () at abort.c:89 #2 0x00007ffff097d84d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #3 0x00007ffff097b6b6 in ?? () from /usr/lib/x86_64-linux- gnu/libstdc++.so.6 #4 0x00007ffff097b701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #5 0x00007ffff097b919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #6 0x00007ffff09a414f in std::__throw_logic_error(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #7 0x00007ffff5760e64 in ?? () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1 #8 0x00005555558fb391 in ?? () #9 0x0000555555916b8d in ?? () #10 0x0000555555917e67 in ?? () #11 0x0000555555b742da in ?? () #12 0x00007ffff12a4fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #13 0x00007ffff12b6fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #14 0x00007ffff12bfd5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #15 0x00007ffff12c008f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #16 0x00007fffe0e5d3e0 in ?? () from /usr/lib/x86_64-linux-gnu/libunity-gtk2-parser.so.0 #17 0x00007ffff6605d57 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 #18 0x00007ffff0fce05a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007ffff0fce400 in ?? () from /lib/x86_64-linux-gnu/libglib- 2.0.so.0 #20 0x00007ffff0fce722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007ffff69cd6a7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #22 0x00005555558c7b3b in ?? () #23 0x00007fffefe09830 in __libc_start_main (main=0x5555558a38e0, argc=1, argv=0x7fffffffdd78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdd68) at ../csu/libc- start.c:291 #24 0x00005555558c41e9 in ?? ()
Good luck with that and thanks for that awesome piece of software!
Yves
Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel