Comment 1 for bug 1829826

Revision history for this message
Dino Ghilardi (dino-ghilardi) wrote : Re: Symbol editor segfault on pin edit

Also moving any item crashes (pin, text), but this time a different message comes from gdb: may be it is a different bug.

[Thread 0x7fffdfd1f700 (LWP 12180) exited]
terminate called after throwing an instance of 'std::bad_alloc'
  what(): std::bad_alloc

Thread 1 "kicad" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: File o directory non esistente.
(gdb) backtrace
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff34ca42a in __GI_abort () at abort.c:89
#2 0x00007ffff3ffe0ad in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff3ffc066 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff3ffc0b1 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff3ffc2c9 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff3ffc7ec in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff4d10997 in void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) ()
   from /home/dinoghi/SANDBOXKICAD5/usr/boost_1_69_0/stage/lib/libboost_regex.so.1.69.0
#8 0x00007ffff40a0a10 in std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x00007fffde38e203 in wxString::wxString (this=0x555563bac7c0, stringSrc=...) at /usr/include/wx-3.0/wx/string.h:1220
#10 0x00007fffde562902 in LIB_FIELD::SetText (this=0x555563981950, aText=...)
    at /home/dinoghi/SANDBOXKICAD5/src/kicad/eeschema/lib_field.cpp:459
#11 0x00007fffde69cefe in EE_SELECTION_TOOL::RequestSelection (this=0x55556302d0d0,
    aFilterList=0x7fffde9a6ef8 <EE_COLLECTOR::AllItems>)
    at /home/dinoghi/SANDBOXKICAD5/src/kicad/eeschema/tools/ee_selection_tool.cpp:607
#12 0x00007fffde6b493e in LIB_MOVE_TOOL::Main (this=0x55556303aa40, aEvent=...)
    at /home/dinoghi/SANDBOXKICAD5/src/kicad/eeschema/tools/lib_move_tool.cpp:86
#13 0x00007fffde6b6c09 in std::__invoke_impl<int, int (LIB_MOVE_TOOL::* const&)(TOOL_EVENT const&), LIB_MOVE_TOOL*&, TOOL_EVENT const&> (__f=
    @0x555555ac3b20: (int (LIB_MOVE_TOOL::*)(LIB_MOVE_TOOL * const, const TOOL_EVENT &)) 0x7fffde6b4894 <LIB_MOVE_TOOL::Main(TOOL_EVENT const&)>, __t=@0x555555ac3b30: 0x55556303aa40, __args#0=...) at /usr/include/c++/6/functional:227
#14 0x00007fffde6b6b7b in std::__invoke<int (LIB_MOVE_TOOL::* const&)(TOOL_EVENT const&), LIB_MOVE_TOOL*&, TOOL_EVENT const&> (
    __fn=
    @0x555555ac3b20: (int (LIB_MOVE_TOOL::*)(LIB_MOVE_TOOL * const, const TOOL_EVENT &)) 0x7fffde6b4894 <LIB_MOVE_TOOL::Main(TOOL_EVENT const&)>, __args#0=@0x555555ac3b30: 0x55556303aa40, __args#1=...) at /usr/include/c++/6/functional:251
#15 0x00007fffde6b6b0f in std::_Mem_fn_base<int (LIB_MOVE_TOOL::*)(TOOL_EVENT const&), true>::operator()<LIB_MOVE_TOOL*&, TOOL_EVENT const&> (this=0x555555ac3b20, __args#0=@0x555555ac3b30: 0x55556303aa40, __args#1=...) at /usr/include/c++/6/functional:604