Trace:
(gdb) bt full #0 0x00007fffe641e84c in TOOL_MANAGER::dispatchInternal (this=0x3aa3860, aEvent=...) at /home/cmp/git/kicad/common/tool/tool_manager.cpp:499 curIt = 56224096 st = 0x0 it = 0 #1 0x00007fffe641dbdc in TOOL_MANAGER::ProcessEvent (this=0x3aa3860, aEvent=...) at /home/cmp/git/kicad/common/tool/tool_manager.cpp:678 No locals. #2 0x00007fffe587492e in PCB_EDIT_FRAME::RestoreCopyFromUndoList (this=0x1fb9000, aEvent=...) at /home/cmp/git/kicad/pcbnew/board_undo_redo.cpp:691 event = {m_category = TC_MESSAGE, m_actions = TA_UNDO_REDO, m_scope = AS_GLOBAL, m_mouseDelta = {<VECTOR2_TRAITS<double>> = {<No data fields>}, x = 0, y = 0}, m_mousePos = {<VECTOR2_TRAITS<double>> = {<No data fields>}, x = 0, y = 0}, m_mouseDragOrigin = {<VECTOR2_TRAITS<double>> = {<No data fields>}, x = 0, y = 0}, m_mouseButtons = 0, m_keyCode = 0, m_modifiers = 0, m_param = 0x0, m_commandId = {<boost::optional_detail::optional_base<int>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = false, m_storage = {dummy_ = {data = "\000\000\000", aligner_ = {<No data fields>}}}}, <No data fields>}, m_commandStr = {<boost::optional_detail::optional_base<std::__cxx11::basic_string<char> >> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = false, m_storage = {dummy_ = {data = "X\270\243\003\000\000\000\000\240T{\002\000\000\000\000\060O{\002\000\000\000\000\\\030\270\345\377\177\000", aligner_ = {<No data fields>}}}}, <No data fields>}} List = 0x27b4f10 #3 0x00007fffe5bb22eb in EDIT_TOOL::Main (this=0x3ad7f60, aEvent=...) at /home/cmp/git/kicad/pcbnew/tools/edit_tool.cpp:327 dummy = <incomplete type> controls = 0x379a440 editFrame = 0x1fb9000 originalCursorPos = {<VECTOR2_TRAITS<int>> = {static ECOORD_MAX = 9223372036854775807, static ECOORD_MIN = -9223372036854775808}, x = -32367, y = 32818163} selection = @0x3ab8448: {items = {m_Status = UR_UNSPECIFIED, m_TransformPoint = {x = 0, y = 0}, m_ItemsList = std::vector of length 0, capacity 1}, group = 0x3ab8c00} unselect = false restore = true lockOverride = false totalMovement = {x = -500000, y = -1077282704} grid = {m_anchors = std::vector of length 0, capacity 16, m_frame = 0x1fb9000, m_auxAxis = {<boost::optional_detail::optional_base<VECTOR2<int> >> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = true, m_storage = {dummy_ = {data = "\000\000\000\000@KL", aligner_ = {<No data fields>}}}}, <No data fields>}, m_diagonalAuxAxesEnable = true} evt = {<boost::optional_detail::optional_base<TOOL_EVENT>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = true, m_storage = {dummy_ = { data = "\004\000\000\000\000 \000\000\003\000\000\000\377\177", '\000' <repeats 62 times>, "\001", '\000' <repeats 27 times>, "pR\221\003\000\000\000\000\026\000\000\000\000\000\000\000\026\000\000\000\000\000\000\000\300\220;\003\000\000\000", aligner_ = {<No data fields>}}}}, <No data fields>} ratsnest = 0x0 #4 0x00007fffe5bb97f2 in std::__invoke_impl<int, int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__f= @0x23e0f10: (int (EDIT_TOOL::*)(EDIT_TOOL * const, const TOOL_EVENT &)) 0x7fffe5bb12c0 <EDIT_TOOL::Main(TOOL_EVENT const&)>, __t=@0x23e0f20: 0x3ad7f60, __args=...) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/functional:235 No locals. #5 0x00007fffe5bb9747 in std::__invoke<int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__fn= @0x23e0f10: (int (EDIT_TOOL::*)(EDIT_TOOL * const, const TOOL_EVENT &)) 0x7fffe5bb12c0 <EDIT_TOOL::Main(TOOL_EVENT const&)>, __args=..., __args=...) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/functional:259 No locals. #6 0x00007fffe5bb9685 in std::_Mem_fn_base<int (EDIT_TOOL::*)(TOOL_EVENT const&), true>::operator()<EDIT_TOOL*&, TOOL_EVENT const&> (this=0x23e0f10, __args=..., __args=...) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/functional:613 No locals. #7 0x00007fffe5bb9632 in std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)>::__call<int, TOOL_EVENT const&, 0ul, 1ul>(std::tuple<TOOL_EVENT const&>&&, std::_Index_tuple<0ul, 1ul>) ( this=0x23e0f10, __args=<unknown type in /opt/kicad-master/bin/_pcbnew.kiface, CU 0x17e4cc9, DIE 0x1832ebd>) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/functional:942 No locals. #8 0x00007fffe5bb958d in std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)>::operator()<TOOL_EVENT const&, int>(TOOL_EVENT const&) (this=0x23e0f10, __args=...) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/functional:1000 No locals. #9 0x00007fffe5bb9262 in std::_Function_handler<int (TOOL_EVENT const&), std::_Bind<std::_Mem_fn<int (EDIT_TOOL::*)(TOOL_EVENT const&)> (EDIT_TOOL*, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, TOOL_EVENT const&) ( __functor=..., __args=...) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/functional:1725 No locals. #10 0x00007fffe6431758 in std::function<int (TOOL_EVENT const&)>::operator()(TOOL_EVENT const&) const (this=0x3447d80, __args=...) at /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/functional:2136 No locals. #11 0x00007fffe64316c5 in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=54820224) at /home/cmp/git/kicad/include/tool/coroutine.h:271 cor = 0x3447d80 #12 0x00007ffff5a828e1 in make_fcontext () from /usr/lib/libboost_context.so.1.60.0 No symbol table info available. #13 0x0000000000000000 in ?? () No symbol table info available.
Trace:
(gdb) bt full :dispatchIntern al (this=0x3aa3860, aEvent=...) at /home/cmp/ git/kicad/ common/ tool/tool_ manager. cpp:499 :ProcessEvent (this=0x3aa3860, aEvent=...) at /home/cmp/ git/kicad/ common/ tool/tool_ manager. cpp:678 FRAME:: RestoreCopyFrom UndoList (this=0x1fb9000, aEvent=...) at /home/cmp/ git/kicad/ pcbnew/ board_undo_ redo.cpp: 691 TRAITS< double> > = {<No data fields>}, x = 0, y = 0}, m_mousePos = {<VECTOR2_ TRAITS< double> > = {<No data fields>}, x = 0, TRAITS< double> > = {<No data fields>}, x = 0, y = 0}, m_mouseButtons = 0, m_keyCode = 0, m_modifiers = 0, m_param = 0x0,
m_commandId = {<boost: :optional_ detail: :optional_ base<int> > = {<boost: :optional_ detail: :optional_ tag> = {<No data fields>}, m_initialized = false, m_storage = {dummy_ = {data = "\000\000\000",
aligner_ = {<No data fields>}}}}, <No data fields>}, m_commandStr = {<boost: :optional_ detail: :optional_ base<std: :__cxx11: :basic_ string< char> >> = {<boost: :optional_ detail: :optional_ tag> = {<No data fields>},
m_initialized = false, m_storage = {dummy_ = {data = "X\270\ 243\003\ 000\000\ 000\000\ 240T{\002\ 000\000\ 000\000\ 060O{\002\ 000\000\ 000\000\ \\030\270\ 345\377\ 177\000" , aligner_ = {<No data fields>}}}}, <No data fields>}} git/kicad/ pcbnew/ tools/edit_ tool.cpp: 327
originalCursor Pos = {<VECTOR2_ TRAITS< int>> = {static ECOORD_MAX = 922337203685477 5807, static ECOORD_MIN = -92233720368547 75808}, x = -32367, y = 32818163}
lockOverride = false
totalMovement = {x = -500000, y = -1077282704} :optional_ detail: :optional_ base<VECTOR2< int> >> = {<boost: :optional_ detail: :optional_ tag> = {<No data fields>},
m_initialized = true, m_storage = {dummy_ = {data = "\000\000\ 000\000@ KL", aligner_ = {<No data fields>}}}}, <No data fields>}, m_diagonalAuxAx esEnable = true} :optional_ detail: :optional_ base<TOOL_ EVENT>> = {<boost: :optional_ detail: :optional_ tag> = {<No data fields>}, m_initialized = true, m_storage = {dummy_ = {
data = "\004\000\ 000\000\ 000 \000\000\ 003\000\ 000\000\ 377\177" , '\000' <repeats 62 times>, "\001", '\000' <repeats 27 times>, "pR\221\ 003\000\ 000\000\ 000\026\ 000\000\ 000\000\ 000\000\ 000\026\ 000\000\ 000\000\ 000\000\ 000\300\ 220;\003\ 000\000\ 000", aligner_ = {<No data fields>}}}}, <No data fields>} invoke_ impl<int, int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__f= :*)(EDIT_ TOOL * const, const TOOL_EVENT &)) 0x7fffe5bb12c0 <EDIT_TOOL: :Main(TOOL_ EVENT const&)>, __t=@0x23e0f20: 0x3ad7f60, __args=...) ../lib64/ gcc/x86_ 64-pc-linux- gnu/6.1. 1/../.. /../../ include/ c++/6.1. 1/functional: 235 :*)(EDIT_ TOOL * const, const TOOL_EVENT &)) 0x7fffe5bb12c0 <EDIT_TOOL: :Main(TOOL_ EVENT const&)>, __args=..., __args=...) ../lib64/ gcc/x86_ 64-pc-linux- gnu/6.1. 1/../.. /../../ include/ c++/6.1. 1/functional: 259 fn_base< int (EDIT_TOOL: :*)(TOOL_ EVENT const&), true>:: operator( )<EDIT_ TOOL*&, TOOL_EVENT const&> (this=0x23e0f10, __args=..., __args=...) ../lib64/ gcc/x86_ 64-pc-linux- gnu/6.1. 1/../.. /../../ include/ c++/6.1. 1/functional: 613 std::_Mem_ fn<int (EDIT_TOOL: :*)(TOOL_ EVENT const&)> (EDIT_TOOL*, std::_Placehold er<1>)> ::__call< int, TOOL_EVENT const&, 0ul, 1ul>(std: :tuple< TOOL_EVENT const&>&&, std::_Index_ tuple<0ul, 1ul>) ( master/ bin/_pcbnew. kiface, CU 0x17e4cc9, DIE 0x1832ebd>) at /usr/bin/ ../lib64/ gcc/x86_ 64-pc-linux- gnu/6.1. 1/../.. /../../ include/ c++/6.1. 1/functional: 942 std::_Mem_ fn<int (EDIT_TOOL: :*)(TOOL_ EVENT const&)> (EDIT_TOOL*, std::_Placehold er<1>)> ::operator( )<TOOL_ EVENT const&, int>(TOOL_EVENT const&) (this=0x23e0f10, __args=...) ../lib64/ gcc/x86_ 64-pc-linux- gnu/6.1. 1/../.. /../../ include/ c++/6.1. 1/functional: 1000 handler< int (TOOL_EVENT const&), std::_Bind< std::_Mem_ fn<int (EDIT_TOOL: :*)(TOOL_ EVENT const&)> (EDIT_TOOL*, std::_Placehold er<1>)> >::_M_invoke( std::_Any_ data const&, TOOL_EVENT const&) ( ../lib64/ gcc/x86_ 64-pc-linux- gnu/6.1. 1/../.. /../../ include/ c++/6.1. 1/functional: 1725 >::operator( )(TOOL_ EVENT const&) const (this=0x3447d80, __args=...) at /usr/bin/ ../lib64/ gcc/x86_ 64-pc-linux- gnu/6.1. 1/../.. /../../ include/ c++/6.1. 1/functional: 2136 git/kicad/ include/ tool/coroutine. h:271 libboost_ context. so.1.60. 0
#0 0x00007fffe641e84c in TOOL_MANAGER:
curIt = 56224096
st = 0x0
it = 0
#1 0x00007fffe641dbdc in TOOL_MANAGER:
No locals.
#2 0x00007fffe587492e in PCB_EDIT_
event = {m_category = TC_MESSAGE, m_actions = TA_UNDO_REDO, m_scope = AS_GLOBAL, m_mouseDelta = {<VECTOR2_
y = 0}, m_mouseDragOrigin = {<VECTOR2_
List = 0x27b4f10
#3 0x00007fffe5bb22eb in EDIT_TOOL::Main (this=0x3ad7f60, aEvent=...) at /home/cmp/
dummy = <incomplete type>
controls = 0x379a440
editFrame = 0x1fb9000
selection = @0x3ab8448: {items = {m_Status = UR_UNSPECIFIED, m_TransformPoint = {x = 0, y = 0}, m_ItemsList = std::vector of length 0, capacity 1}, group = 0x3ab8c00}
unselect = false
restore = true
grid = {m_anchors = std::vector of length 0, capacity 16, m_frame = 0x1fb9000, m_auxAxis = {<boost:
evt = {<boost:
ratsnest = 0x0
#4 0x00007fffe5bb97f2 in std::__
@0x23e0f10: (int (EDIT_TOOL:
at /usr/bin/
No locals.
#5 0x00007fffe5bb9747 in std::__invoke<int (EDIT_TOOL::* const&)(TOOL_EVENT const&), EDIT_TOOL*&, TOOL_EVENT const&> (__fn=
@0x23e0f10: (int (EDIT_TOOL:
at /usr/bin/
No locals.
#6 0x00007fffe5bb9685 in std::_Mem_
at /usr/bin/
No locals.
#7 0x00007fffe5bb9632 in std::_Bind<
this=0x23e0f10, __args=<unknown type in /opt/kicad-
No locals.
#8 0x00007fffe5bb958d in std::_Bind<
at /usr/bin/
No locals.
#9 0x00007fffe5bb9262 in std::_Function_
__functor=..., __args=...) at /usr/bin/
No locals.
#10 0x00007fffe6431758 in std::function<int (TOOL_EVENT const&)
No locals.
#11 0x00007fffe64316c5 in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=54820224) at /home/cmp/
cor = 0x3447d80
#12 0x00007ffff5a828e1 in make_fcontext () from /usr/lib/
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.