g_warning on layer deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Mental-users |
Bug Description
With the attached svg, when i try to delete layer
"#layer8", inkscape crashes
inkscape v 1.42 on ubuntu breezy 5.10
Stefano
this is the gdb output:
stefano@
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type
"show warranty" for details.
This GDB was configured as "i486-linux-
debugging symbols found)
Using host libthread_db library
"/lib/tls/
(gdb) run
Starting program: /usr/bin/inkscape
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to
quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1223321920 (LWP 9888)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to
quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program received signal SIGSEGV, Segmentation
fault.
[Switching to Thread -1223321920 (LWP 9888)]
---Type <return> to continue, or q <return> to
quit---
0x080acf51 in
__gnu_cxx:
true>::
(gdb) bt
#0 0x080acf51 in
__gnu_cxx:
true>::
#1 0x081fb850 in Gtk::manage<
#2 0xb7e470c5 in (anonymous
namespace)
()
from /usr/lib/
#3 0xb79aa36d in gtk_cell_
from /usr/lib/
#4 0xb79aa3e3 in gtk_cell_
from /usr/lib/
#5 0xb79ab536 in gtk_cell_
()
from /usr/lib/
#6 0xb79cbb4d in gtk_combo_
from /usr/lib/
#7 0xb7ed8bd6 in
Gtk::Widget_
from /usr/lib/
#8 0xb7548315 in
g_cclosure_
from /usr/lib/
#9 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#10 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
#11 0xb754a769 in g_signal_
from /usr/lib/
#12 0xb754c150 in g_signal_
from /usr/lib/
#13 0xb754f4f0 in g_signal_
from /usr/lib/
#14 0xb7aa328d in
gtk_size_
from /usr/lib/
#15 0xb7aa3629 in
_gtk_size_
from /usr/lib/
---Type <return> to continue, or q <return> to
quit---
#16 0xb7b3c0b8 in gtk_widget_
from /usr/lib/
#17 0xb7a20cdb in gtk_hbox_new ()
from /usr/lib/
#18 0xb7edd19d in Gtk::Widget:
()
from /usr/lib/
#19 0xb7ed8bed in
Gtk::Widget_
from /usr/lib/
#20 0xb7548315 in
g_cclosure_
from /usr/lib/
#21 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#22 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
#23 0xb754a769 in g_signal_
from /usr/lib/
#24 0xb754c150 in g_signal_
from /usr/lib/
#25 0xb754f4f0 in g_signal_
from /usr/lib/
#26 0xb7aa328d in
gtk_size_
from /usr/lib/
#27 0xb7aa3629 in
_gtk_size_
from /usr/lib/
#28 0xb7b3c0b8 in gtk_widget_
from /usr/lib/
#29 0xb7a20cdb in gtk_hbox_new ()
from /usr/lib/
#30 0xb7548315 in
g_cclosure_
from /usr/lib/
#31 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#32 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
---Type <return> to continue, or q <return> to
quit---
#33 0xb754a769 in g_signal_
from /usr/lib/
#34 0xb754c150 in g_signal_
from /usr/lib/
#35 0xb754f4f0 in g_signal_
from /usr/lib/
#36 0xb7aa328d in
gtk_size_
from /usr/lib/
#37 0xb7aa3629 in
_gtk_size_
from /usr/lib/
#38 0xb7b3c0b8 in gtk_widget_
from /usr/lib/
#39 0xb7b3830f in gtk_vbox_new ()
from /usr/lib/
#40 0xb7548315 in
g_cclosure_
from /usr/lib/
#41 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#42 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
#43 0xb754a769 in g_signal_
from /usr/lib/
#44 0xb754c150 in g_signal_
from /usr/lib/
#45 0xb754f4f0 in g_signal_
from /usr/lib/
#46 0xb7aa328d in
gtk_size_
from /usr/lib/
#47 0xb7aa3629 in
_gtk_size_
from /usr/lib/
#48 0xb7b3c0b8 in gtk_widget_
from /usr/lib/
#49 0xb79f59f2 in gtk_event_
()
from /usr/lib/
---Type <return> to continue, or q <return> to
quit---
#50 0xb7548315 in
g_cclosure_
from /usr/lib/
#51 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#52 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
#53 0xb754a769 in g_signal_
from /usr/lib/
#54 0xb754c150 in g_signal_
from /usr/lib/
#55 0xb754f4f0 in g_signal_
from /usr/lib/
#56 0xb7aa328d in
gtk_size_
from /usr/lib/
#57 0xb7aa3629 in
_gtk_size_
from /usr/lib/
#58 0xb7b3c0b8 in gtk_widget_
from /usr/lib/
#59 0xb7a20cdb in gtk_hbox_new ()
from /usr/lib/
#60 0xb7548315 in
g_cclosure_
from /usr/lib/
#61 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#62 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
#63 0xb754a769 in g_signal_
from /usr/lib/
#64 0xb754c150 in g_signal_
from /usr/lib/
#65 0xb754f4f0 in g_signal_
from /usr/lib/
#66 0xb7aa328d in
gtk_size_
from /usr/lib/
#67 0xb7aa3629 in
_gtk_size_
---Type <return> to continue, or q <return> to
quit---
from /usr/lib/
#68 0xb7b3c0b8 in gtk_widget_
from /usr/lib/
#69 0xb7b4c399 in
gtk_window_
from /usr/lib/
#70 0xb7548315 in
g_cclosure_
from /usr/lib/
#71 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#72 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
#73 0xb754a769 in g_signal_
from /usr/lib/
#74 0xb754c150 in g_signal_
from /usr/lib/
#75 0xb754f4f0 in g_signal_
from /usr/lib/
#76 0xb7aa328d in
gtk_size_
from /usr/lib/
#77 0xb7aa3629 in
_gtk_size_
from /usr/lib/
#78 0xb7b3c0b8 in gtk_widget_
from /usr/lib/
#79 0xb7b4d540 in _gtk_window_
from /usr/lib/
#80 0xb7b4de0c in gtk_window_
from /usr/lib/
#81 0xb7547ab3 in
g_cclosure_
from /usr/lib/
#82 0xb753bd75 in g_cclosure_new_swap ()
from /usr/lib/
#83 0xb753c3a8 in g_closure_invoke ()
from /usr/lib/
---Type <return> to continue, or q <return> to
quit---
#84 0xb754ac9f in g_signal_
from /usr/lib/
#85 0xb754c150 in g_signal_
from /usr/lib/
#86 0xb754c4c3 in g_signal_emit ()
from /usr/lib/
#87 0xb79d1643 in gtk_container_
from /usr/lib/
#88 0xb79d16b6 in gtk_container_
from /usr/lib/
#89 0xb74d1750 in g_child_watch_add ()
from /usr/lib/
#90 0xb74cf4ee in g_main_
from /usr/lib/
#91 0xb74d24f6 in g_main_
from /usr/lib/
#92 0xb74d27e3 in g_main_loop_run ()
from /usr/lib/
#93 0xb7a58e65 in gtk_main ()
from /usr/lib/
#94 0xb7e7fc95 in Gtk::Main::run_impl ()
from /usr/lib/
#95 0xb7e7fb86 in Gtk::Main::run ()
from /usr/lib/
#96 0x0806a612 in ?? ()
#97 0x0815208d in
__gnu_cxx:
true>::
#98 0x08069f4e in ?? ()
#99 0xb71c0ea2 in __libc_start_main ()
from /lib/tls/
#100 0x08069e01 in ?? ()
(gdb) quit
The program is running. Exit anyway? (y or n) y
stefano@
I confirm there is a problem with CVS, too, although I don't get a crash
immediately.
After choosing #layer8 and deleting it with the menu entry, a nameless
layer appears in the layer menu.
Choosing that will give
** (inkscape:14465): CRITICAL **: void :setCurrentLaye r(SPObject* ): assertion `currentRoot() == object )->isAncestorOf (object) ' failed
SPDesktop:
|| currentRoot(
which is as good as a crash.