Commit d4aa502be1e6b0fa3d9be504f6ab06e79edbc3df still crashes. -------------------------------------------------------- running in gdb: Thread 1 "kicad" received signal SIGSEGV, Segmentation fault. 0x00007ffff42db930 in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) backtrace #0 0x00007ffff42db930 in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #1 0x00007fffe0c44745 in EE_SELECTION_TOOL::selectMultiple() () from /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface #2 0x00007fffe0c458ec in EE_SELECTION_TOOL::Main(TOOL_EVENT const&) () from /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface #3 0x00007fffe0e830f0 in COROUTINE::callerStub(long) () from /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface #4 0x00005555556d4b71 in make_fcontext () #5 0x0000000000000000 in ?? () ---------------------------------------------------------------------- running with valgrind: ==21607== Memcheck, a memory error detector ==21607== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==21607== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info ==21607== Command: ../../usr/bin/kicad ==21607== ==21607== Conditional jump or move depends on uninitialised value(s) ==21607== at 0x17A1A259: ??? (in /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==21607== by 0x17A1B047: ??? (in /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==21607== by 0x17A1B0F2: ??? (in /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==21607== by 0x17A17E09: ??? (in /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==21607== by 0x17A18F9A: ??? (in /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so) ==21607== by 0x960B552: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.31) ==21607== by 0x95CB7BB: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.31) ==21607== by 0x9DA7ECE: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5000.3) ==21607== by 0x9DBA37C: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5000.3) ==21607== by 0x9DC267E: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5000.3) ==21607== by 0x9DC2FBE: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.5000.3) ==21607== by 0x96E38AB: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.31) ==21607== ==21607== Conditional jump or move depends on uninitialised value(s) ==21607== at 0x4C32EA6: rawmemchr (vg_replace_strmem.c:1402) ==21607== by 0x91713C1: _IO_str_init_static_internal (strops.c:41) ==21607== by 0x9164B96: vsscanf (iovsscanf.c:40) ==21607== by 0x915F306: sscanf (sscanf.c:32) ==21607== by 0xE5E7E4A: ??? (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0) ==21607== by 0xE5E8182: ??? (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0) ==21607== by 0xE5EBBF8: drmGetDevice (in /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0) ==21607== by 0x7A952D6: ??? (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0) ==21607== by 0x7A94694: ??? (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0) ==21607== by 0x7A68988: ??? (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0) ==21607== by 0x7A63F10: glXQueryVersion (in /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0) ==21607== by 0x4E47556: wxGLCanvasX11::GetGLXVersion() (in /usr/lib/x86_64-linux-gnu/libwx_gtk2u_gl-3.0.so.0.2.0) ==21607== ******Here I select and eeschema crashes***** ==21607== Invalid read of size 8 ==21607== at 0x1E56B724: EE_SELECTION_TOOL::selectMultiple() (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56C8EB: EE_SELECTION_TOOL::Main(TOOL_EVENT const&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E7AA0EF: COROUTINE::callerStub(long) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x288B70: make_fcontext (in /home/dinoghi/SANDBOXKICAD5/usr/bin/kicad) ==21607== Address 0x21330490 is 16 bytes inside a block of size 1,024 free'd ==21607== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576) ==21607== by 0x1E56E0B1: void std::vector, std::allocator > >::_M_emplace_back_aux >(std::pair&&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56B7C9: EE_SELECTION_TOOL::selectMultiple() (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56C8EB: EE_SELECTION_TOOL::Main(TOOL_EVENT const&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E7AA0EF: COROUTINE::callerStub(long) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x288B70: make_fcontext (in /home/dinoghi/SANDBOXKICAD5/usr/bin/kicad) ==21607== Block was alloc'd at ==21607== at 0x4C2C21F: operator new(unsigned long) (vg_replace_malloc.c:334) ==21607== by 0x1E56E03C: void std::vector, std::allocator > >::_M_emplace_back_aux >(std::pair&&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E774351: bool RTree::Search, std::allocator > > > >(RTree::Node*, RTree::Rect*, KIGFX::queryVisitor, std::allocator > > >&, int&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E77427D: bool RTree::Search, std::allocator > > > >(RTree::Node*, RTree::Rect*, KIGFX::queryVisitor, std::allocator > > >&, int&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E77427D: bool RTree::Search, std::allocator > > > >(RTree::Node*, RTree::Rect*, KIGFX::queryVisitor, std::allocator > > >&, int&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E76D12D: KIGFX::VIEW::Query(BOX2 > const&, std::vector, std::allocator > >&) const (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56B6FC: EE_SELECTION_TOOL::selectMultiple() (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56C8EB: EE_SELECTION_TOOL::Main(TOOL_EVENT const&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E7AA0EF: COROUTINE::callerStub(long) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x288B70: make_fcontext (in /home/dinoghi/SANDBOXKICAD5/usr/bin/kicad) ==21607== ==21607== Invalid read of size 4 ==21607== at 0x1E56B763: EE_SELECTION_TOOL::selectMultiple() (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56C8EB: EE_SELECTION_TOOL::Main(TOOL_EVENT const&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E7AA0EF: COROUTINE::callerStub(long) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x288B70: make_fcontext (in /home/dinoghi/SANDBOXKICAD5/usr/bin/kicad) ==21607== Address 0x213305f8 is 376 bytes inside a block of size 1,024 free'd ==21607== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576) ==21607== by 0x1E56E0B1: void std::vector, std::allocator > >::_M_emplace_back_aux >(std::pair&&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56B7C9: EE_SELECTION_TOOL::selectMultiple() (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56C8EB: EE_SELECTION_TOOL::Main(TOOL_EVENT const&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E7AA0EF: COROUTINE::callerStub(long) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x288B70: make_fcontext (in /home/dinoghi/SANDBOXKICAD5/usr/bin/kicad) ==21607== Block was alloc'd at ==21607== at 0x4C2C21F: operator new(unsigned long) (vg_replace_malloc.c:334) ==21607== by 0x1E56E03C: void std::vector, std::allocator > >::_M_emplace_back_aux >(std::pair&&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E774351: bool RTree::Search, std::allocator > > > >(RTree::Node*, RTree::Rect*, KIGFX::queryVisitor, std::allocator > > >&, int&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E77427D: bool RTree::Search, std::allocator > > > >(RTree::Node*, RTree::Rect*, KIGFX::queryVisitor, std::allocator > > >&, int&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E77427D: bool RTree::Search, std::allocator > > > >(RTree::Node*, RTree::Rect*, KIGFX::queryVisitor, std::allocator > > >&, int&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E76D12D: KIGFX::VIEW::Query(BOX2 > const&, std::vector, std::allocator > >&) const (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56B6FC: EE_SELECTION_TOOL::selectMultiple() (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E56C8EB: EE_SELECTION_TOOL::Main(TOOL_EVENT const&) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x1E7AA0EF: COROUTINE::callerStub(long) (in /home/dinoghi/SANDBOXKICAD5/usr/bin/_eeschema.kiface) ==21607== by 0x288B70: make_fcontext (in /home/dinoghi/SANDBOXKICAD5/usr/bin/kicad) ==21607== **************************************************** ==21607== ==21607== HEAP SUMMARY: ==21607== in use at exit: 41,437,845 bytes in 43,163 blocks ==21607== total heap usage: 7,018,030 allocs, 6,974,867 frees, 21,427,406,671 bytes allocated ==21607== ==21607== LEAK SUMMARY: ==21607== definitely lost: 34,062,240 bytes in 1,427 blocks ==21607== indirectly lost: 328,049 bytes in 7,055 blocks ==21607== possibly lost: 4,715,238 bytes in 3,785 blocks ==21607== still reachable: 2,161,182 bytes in 29,763 blocks ==21607== of which reachable via heuristic: ==21607== length64 : 7,616 bytes in 116 blocks ==21607== newarray : 2,144 bytes in 54 blocks ==21607== suppressed: 0 bytes in 0 blocks ==21607== Rerun with --leak-check=full to see details of leaked memory ==21607== ==21607== For counts of detected and suppressed errors, rerun with: -v ==21607== Use --track-origins=yes to see where uninitialised values come from ==21607== ERROR SUMMARY: 62 errors from 4 contexts (suppressed: 0 from 0) -------------------------------------------------------------------------------- Application: Eeschema Version: (5.99.0-58-gd4aa502be), release build Libraries: wxWidgets 3.0.2 libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3 Platform: Linux 4.9.0-8-amd64 x86_64, 64 bit, Little endian, wxGTK Build Info: wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24 Boost: 1.69.0 OpenCASCADE Community Edition: 6.8.0 Curl: 7.52.1 Compiler: GCC 6.3.0 with C++ ABI 1010 Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=OFF KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF KICAD_SCRIPTING_ACTION_MENU=ON BUILD_GITHUB_PLUGIN=ON KICAD_USE_OCE=ON KICAD_USE_OCC=OFF KICAD_SPICE=ON