Crash after selecting the "Create 3D Boxes" tool and dragging a sample box (inkscape trunk)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Unassigned |
Bug Description
In Inkscape trunk, after built and installed in Mageia Linux x86-64 v6, after I select the "Create 3D Boxes" tool from the toolbar, and drag to create a sample box in the document I am getting a crash. I built inkscape using this script:
««««««
#!/bin/bash
build_type=''
if test "$DEBUG" = 1 ; then
build_
fi
flags='
# flags=''
ninja='-G Ninja'
if test "$NO_NINJA" = 1 ; then
ninja=''
fi
cmake $ninja $build_type -DCMAKE_
»»»»»»
And the backtrace is:
<<<<<<<<<<
Thread 1 "inkscape" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
Missing separate debuginfos, use: debuginfo-install lib64nss-
(gdb) bt
#0 0x0000000000000000 in ()
#1 0x00007ffff74a1cc2 in Inkscape:
at /home/shlomif/
#2 0x00007ffff74ab861 in box3d_set_
at /home/shlomif/
#3 0x00007ffff7176345 in Inkscape:
at /home/shlomif/
#4 0x00007ffff7177398 in Inkscape:
at /home/shlomif/
#5 0x00007ffff71ca0da in Inkscape:
at /home/shlomif/
#6 0x00007ffff74bda69 in sp_desktop_
at /home/shlomif/
#7 0x00007ffff703db84 in sp_marshal_
at /home/shlomif/
#11 0x00007ffff5cd9812 in <emit signal ??? on instance ???> (instance=
#8 0x00007ffff5cbef05 in g_closure_invoke (closure=0x2bcf050, return_
at gclosure.c:804
#9 0x00007ffff5cd07f1 in signal_
---Type <return> to continue, or q <return> to quit---
#10 0x00007ffff5cd8f83 in g_signal_
#12 0x00007ffff6f54624 in SPCanvas:
at /home/shlomif/
#13 0x00007ffff6f54e03 in SPCanvas:
at /home/shlomif/
#18 0x00007ffff5cd9812 in <emit signal ??? on instance ???> (instance=
at gsignal.c:3441
#14 0x00007fffefd54e6c in _gtk_marshal_
at gtkmarshalers.c:86
#15 0x00007ffff5cbef05 in g_closure_invoke (closure=
#16 0x00007ffff5cd0d9e in signal_
#17 0x00007ffff5cd8f83 in g_signal_
#19 0x00007fffefe8eba4 in gtk_widget_
#20 0x00007fffefd521ce in propagate_event (topmost=<optimized out>, event=<optimized out>, widget=0x7f24a0) at gtkmain.c:2545
#21 0x00007fffefd521ce in propagate_event (widget=<optimized out>, event=0x359c260, captured=<optimized out>, topmost=0x0) at gtkmain.c:2647
#22 0x00007fffefd53ff0 in gtk_main_do_event (event=0x359c260) at gtkmain.c:1878
#23 0x00007fffef8975c5 in _gdk_event_emit (event=
---Type <return> to continue, or q <return> to quit---
at gdkevents.c:73
#24 0x00007fffef8c37d2 in gdk_event_
#25 0x00007ffff4a841d7 in g_main_
at gmain.c:3154
#26 0x00007ffff4a841d7 in g_main_
#27 0x00007ffff4a84408 in g_main_
#28 0x00007ffff4a84722 in g_main_loop_run (loop=0x39c1590) at gmain.c:4034
#29 0x00007fffefd53245 in gtk_main () at gtkmain.c:1269
#30 0x0000000000407146 in sp_main_gui(int, char const**) ()
#31 0x00007fffed55d600 in __libc_start_main (main=
0x4050e0 <main>, argc=1, argv=0x7fffffff
at libc-start.c:289
#32 0x0000000000405619 in _start () at ../sysdeps/
(gdb) q
>>>>>>>>>>
Related branches
Changed in inkscape: | |
importance: | Undecided → High |
tags: | added: 3dbox crash |
tags: | added: regression |
Changed in inkscape: | |
assignee: | nobody → Adrian Boguszewski (adrianboguszewski) |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Here is a better backtrace with debug symbols on and bt full:
(gdb) bt full :XML::SimpleNod e::changeOrder( Inkscape: :XML::Node* , Inkscape: :XML::Node* ) (this=0x47112d0, generic_ child=0x4786c10 , generic_ ref=0x2e9c040) Download/ unpack/ graphics/ inkscape/ inkscape/ src/xml/ simple- node.cpp: 482
__PRETTY_ FUNCTION_ _ = "virtual void Inkscape: :XML::SimpleNod e::changeOrder( Inkscape: :XML::Node* , Inkscape: :XML::Node* )"
{< Inkscape: :Debug: :EventTrackerBa se> = {_vptr. EventTrackerBas e = 0x7fffffffb830, _active = 123}, <No data fields>} :lowerToBottom( ) (this=0x3cfa870) Download/ unpack/ graphics/ inkscape/ inkscape/ src/sp- item.cpp: 331 value_traits = false, members_ = {nodeptr_ = 0x2e9c0e0}} z_orders( SPBox3D* ) (box=0x2e9c000) Download/ unpack/ graphics/ inkscape/ inkscape/ src/box3d. cpp:1092 :UI::Tools: :Box3dTool: :drag(unsigned int) (this=0x2e92e70) Download/ unpack/ graphics/ inkscape/ inkscape/ src/ui/ tools/box3d- tool.cpp: 559
__PRETTY_ FUNCTION_ _ = "void Inkscape: :UI::Tools: :Box3dTool: :drag(guint) " :UI::Tools: :Box3dTool: :root_handler( _GdkEvent* ---Type <return> to continue, or q <return> to quit--- Download/ unpack/ graphics/ inkscape/ inkscape/ src/ui/ tools/box3d- tool.cpp: 294
{< boost:: additive< Geom::Point, boost:: totally_ ordered< Geom::Point, boost:: multiplicative< Geom::Point, double, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Affine, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Translate, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Rotate, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Scale, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::HShear, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::VShear, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Zoom, Geom::EmptyClass> > > > > > >, boost:: detail: :false_ t>, boost:: detail: :empty_ base<Geom: :Point> , boost:: detail: :true_t> , boost:: detail: :empty_ base<Geom: :Point> , boost:: detail: :true_t> > = {<boost: :additive1< Geom::Point, boost:: totally_ ordered< Geom::Point, boost:: multiplicative< Geom::Point, double, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Affine, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Translate, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Rotate, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::Scale, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::HShear, Geom::Multiplia bleNoncommutati ve<Geom: :Point, Geom::VShear, Geom::Multiplia bleNoncommutati ve<Ge.. .
#0 0x0000000000000000 in ()
#1 0x00007ffff6e769e8 in Inkscape:
at /home/shlomif/
child = 0x7fffffffb860
ref = 0x7fffffffb860
prev = 0x2e9c0e0
tracker =
next = 0x7fffffffb860
#2 0x00007ffff70590d5 in SPItem:
at /home/shlomif/
ref = 0x2e9c040
bottom =
{static stateful_
#3 0x00007ffff6e807bd in box3d_set_
at /home/shlomif/
i = 0
sides =
std::map with 6 elements = {[0] = 0x2e959a0, [1] = 0x7841c90, [2] = 0x3cfa870, [3] = 0x7851410, [4] = 0x7853ce0, [5] = 0x78564e0}
side = {first = 2, second = }
#4 0x00007ffff69e9754 in Inkscape:
at /home/shlomif/
#5 0x00007ffff69e84da in Inkscape:
) (this=0x2e92e70, event=0x3856280)
at /home/shlomif/
motion_w =