inkscape crashes when making svg nested elements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Johan Engelen |
Bug Description
Kubuntu 9.10
Inkscape 0.47
Whenever a nested <svg> has an 'x' or 'y' attribute different from zero (ie. its displaced from the origin), the program crashes with "inkscape encountered an internal error and will now close".
Same thing happens both when trying to open a file with such characteristic or when trying to make it inside the program.
The output of my gdb:
(gdb) run "/home/nacho/Juego web/aventura.svg"
Starting program: /usr/bin/inkscape "/home/nacho/Juego web/aventura.svg"
[Thread debugging using libthread_db enabled]
[New Thread 0xb59e4b70 (LWP 9059)]
inkscape: /usr/include/
Program received signal SIGABRT, Aborted.
0x0012d422 in __kernel_vsyscall ()
(gdb) bt
#0 0x0012d422 in __kernel_vsyscall ()
#1 0x019884d1 in *__GI_raise (sig=6) at ../nptl/
#2 0x0198b932 in *__GI_abort () at abort.c:92
#3 0x01981648 in *__GI___assert_fail (assertion=
function=
at assert.c:81
#4 0x085529b1 in ?? ()
#5 0x08107994 in ?? ()
#6 0x080f6b76 in ?? ()
#7 0x08107994 in ?? ()
#8 0x080f6b76 in ?? ()
#9 0x081186ae in ?? ()
#10 0x08107994 in ?? ()
#11 0x080f6b76 in ?? ()
#12 0x081186ae in ?? ()
#13 0x08107994 in ?? ()
#14 0x080f6b76 in ?? ()
#15 0x081186ae in ?? ()
#16 0x08107994 in ?? ()
#17 0x0808dce1 in ?? ()
#18 0x0808dd27 in ?? ()
#19 0x0809299f in ?? ()
#20 0x08092ed7 in ?? ()
#21 0x081911e1 in ?? ()
#22 0x00e5c9fc in g_cclosure_
#23 0x00e4f072 in g_closure_invoke () from /usr/lib/
#24 0x00e647a8 in ?? () from /usr/lib/
#25 0x00e65b2d in g_signal_
#26 0x00e65fb6 in g_signal_emit () from /usr/lib/
#27 0x007fa88a in gtk_button_clicked () from /usr/lib/
#28 0x007fbea8 in ?? () from /usr/lib/
#29 0x00e5c9fc in g_cclosure_
#30 0x00e4d6f9 in ?? () from /usr/lib/
#31 0x00e4f072 in g_closure_invoke () from /usr/lib/
#32 0x00e640b0 in ?? () from /usr/lib/
#33 0x00e65b2d in g_signal_
#34 0x00e65fb6 in g_signal_emit () from /usr/lib/
#35 0x007fa92a in gtk_button_released () from /usr/lib/
#36 0x007fa963 in ?? () from /usr/lib/
#37 0x008ba474 in ?? () from /usr/lib/
#38 0x00e4d6f9 in ?? () from /usr/lib/
#39 0x00e4f072 in g_closure_invoke () from /usr/lib/
#40 0x00e6449e in ?? () from /usr/lib/
#41 0x00e659b8 in g_signal_
#42 0x00e65fb6 in g_signal_emit () from /usr/lib/
#43 0x009d695e in ?? () from /usr/lib/
#44 0x008b2c20 in gtk_propagate_event () from /usr/lib/
#45 0x008b3ea9 in gtk_main_do_event () from /usr/lib/
#46 0x00b9365a in ?? () from /usr/lib/
#47 0x00ecee88 in g_main_
#48 0x00ed2730 in ?? () from /lib/libglib-
#49 0x00ed2b9f in g_main_loop_run () from /lib/libglib-
#50 0x008b4419 in gtk_main () from /usr/lib/
#51 0x002fb5e7 in Gtk::Main:
#52 0x002fb3e2 in Gtk::Main::run() () from /usr/lib/
#53 0x0808863b in ?? ()
#54 0x08164f9a in ?? ()
#55 0x08087ac2 in ?? ()
#56 0x01974b56 in __libc_start_main (main=0x80876f0, argc=2, ubp_av=0xbffff434, init=0x86dfd60, fini=0x86dfd50, rtld_fini=0x11dd20 <_dl_fini>,
stack_
#57 0x08086b71 in ?? ()
tags: | added: crash svg |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Can you attach a sample file that crashes Inkscape? Did you create the nested SVG nodes in Inkscape's XML Edior or with an external text or XML editor?
Note: Inkscape does not fully support nested <svg> elements [1], but it should not crash when trying to read a file with unsupported SVG structure.
[1] <https:/ /bugs.launchpad .net/inkscape/ +bug/167229/ comments/ 1>