Comment 0 for bug 1792037

Revision history for this message
Francisco Leite (xxleite) wrote :

Application: kicad
Version: 6.0.0-rc1-unknown, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.4.0-75-generic 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.58.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=OFF

build: https://jenkins.simonrichter.eu/job/linux-kicad-eeschema_gal-head/8/

sigsegv happens when I try to add a trace in a board.

debug:

(gdb) run
Starting program: /home/leite/install/bin/kicad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
14:43:09: Debug: Checking template path '/home/leite/install/share/kicad/template' exists
14:43:09: Debug: Checking template path '/usr/share/kicad/template' exists
[New Thread 0x7fffe7fcc700 (LWP 13948)]
[New Thread 0x7fffe77cb700 (LWP 13949)]
[New Thread 0x7fffe6fca700 (LWP 13950)]
14:43:17: Debug: Adding duplicate image handler for 'PNG file'
14:43:17: Debug: Adding duplicate image handler for 'JPEG file'
14:43:17: Debug: Adding duplicate image handler for 'TIFF file'
14:43:17: Debug: Adding duplicate image handler for 'GIF file'
14:43:17: Debug: Adding duplicate image handler for 'PNM file'
14:43:17: Debug: Adding duplicate image handler for 'PCX file'
14:43:17: Debug: Adding duplicate image handler for 'IFF file'
14:43:17: Debug: Adding duplicate image handler for 'Windows icon file'
14:43:17: Debug: Adding duplicate image handler for 'Windows cursor file'
14:43:17: Debug: Adding duplicate image handler for 'Windows animated cursor file'
14:43:17: Debug: Adding duplicate image handler for 'TGA file'
14:43:17: Debug: Adding duplicate image handler for 'XPM file'
[New Thread 0x7fffd27ed700 (LWP 13956)]
[New Thread 0x7fffd1fec700 (LWP 13957)]
[New Thread 0x7fffd17eb700 (LWP 13958)]
[New Thread 0x7fffd0fea700 (LWP 13959)]
[New Thread 0x7fffd07e9700 (LWP 13960)]
[New Thread 0x7fffcffe8700 (LWP 13961)]
[New Thread 0x7fffcf7e7700 (LWP 13962)]
14:43:18: Debug: Loading project '/home/leite/Templates/mosquito/mosquito.pro' settings.

Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007fffe587b904 in ROUTER_PREVIEW_ITEM::ViewBBox() const () from /home/leite/install/bin/_pcbnew.kiface
(gdb) backtrace
#0 0x00007fffe587b904 in ROUTER_PREVIEW_ITEM::ViewBBox() const () from /home/leite/install/bin/_pcbnew.kiface
#1 0x00007fffe5982fdd in KIGFX::VIEW_GROUP::ViewBBox() const () from /home/leite/install/bin/_pcbnew.kiface
#2 0x00007fffe5973012 in KIGFX::VIEW_RTREE::Insert(KIGFX::VIEW_ITEM*) () from /home/leite/install/bin/_pcbnew.kiface
#3 0x00007fffe597231a in KIGFX::VIEW::updateLayers(KIGFX::VIEW_ITEM*) () from /home/leite/install/bin/_pcbnew.kiface
#4 0x00007fffe5971875 in KIGFX::VIEW::invalidateItem(KIGFX::VIEW_ITEM*, int) () from /home/leite/install/bin/_pcbnew.kiface
#5 0x00007fffe59726e0 in KIGFX::VIEW::UpdateItems() () from /home/leite/install/bin/_pcbnew.kiface
#6 0x00007fffe5a3f046 in EDA_DRAW_PANEL_GAL::onPaint(wxPaintEvent&) () from /home/leite/install/bin/_pcbnew.kiface
#7 0x00007ffff65851fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff670b6e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff670bace in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff670bb5f in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff670bc13 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#12 0x00007ffff670bc75 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#13 0x00007ffff670c6fa in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#14 0x00007ffff6587317 in wxAppConsoleBase::ProcessPendingEvents() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#15 0x00007ffff6e49ac2 in wxApp::DoIdle() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#16 0x00007ffff6e49bb3 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#17 0x00007ffff3d6404a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff3d643f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff3d64712 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff4ad1697 in IA__gtk_main () at /build/gtk+2.0-jJZIsQ/gtk+2.0-2.24.30/gtk/gtkmain.c:1282
#21 0x00007ffff6e69ed5 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#22 0x00007ffff65c7353 in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#23 0x00007ffff658c666 in wxAppConsoleBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#24 0x0000000000481f01 in APP_KICAD::OnRun() ()
#25 0x00007ffff6618f70 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#26 0x00000000004808c9 in main ()
(gdb)