stn8188@desktop:~$ gdb pcbnew
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pcbnew...Reading symbols from /usr/lib/debug/.build-id/79/df637877b10a3f6381c35757716fc5e5ce3001.debug...done.
done.
(gdb) r
Starting program: /usr/bin/pcbnew
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007fffdef7dbb7 in wxStatusBarBase::CalculateAbsWidths(int) const ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
(gdb) bt
#0 0x00007fffdef7dbb7 in wxStatusBarBase::CalculateAbsWidths(int) const ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#1 0x00007fffdee1da2e in wxStatusBar::DoUpdateFieldWidths() ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#2 0x00007fffdee1dd09 in wxStatusBar::OnSize(wxSizeEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#3 0x00007ffff6d914be in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4 0x00007ffff6d915c3 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5 0x00007ffff6d9198b in wxEvtHandler::TryHereOnly(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6 0x00007ffff6d91a13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff6d91a75 in wxEvtHandler::ProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff6d917d7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff72b566e in wxWindow::DoSetSize(int, int, int, int, int) ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#10 0x00007ffff72f407d in wxStatusBar::Create(wxWindow*, int, long, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff73c4096 in wxFrameBase::OnCreateStatusBar(int, long, int, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff73c4273 in wxFrameBase::CreateStatusBar(int, long, int, wxString const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007fffe95d64c9 in EDA_DRAW_FRAME::EDA_DRAW_FRAME (this=0x55555756ae90,
aKiway=<optimized out>, aParent=<optimized out>,
aFrameType=<optimized out>, aTitle=..., aPos=..., aSize=...,
aStyle=541335104, aFrameName=...) at ./kicad/common/draw_frame.cpp:170
#14 0x00007fffe93deeae in PCB_BASE_FRAME::PCB_BASE_FRAME (this=0x55555756ae90,
aKiway=<optimized out>, aParent=<optimized out>, aFrameType=FRAME_PCB,
aTitle=..., aPos=..., aSize=..., aStyle=541335104, aFrameName=...)
at ./kicad/pcbnew/pcb_base_frame.cpp:108
#15 0x00007fffe9071388 in PCB_BASE_EDIT_FRAME::PCB_BASE_EDIT_FRAME (
aFrameName=..., aStyle=541335104, aSize=..., aPos=..., aTitle=...,
aFrameType=FRAME_PCB, aParent=0x0, aKiway=0x55555580a140 <Kiway>, this=
0x55555756ae90) at ./kicad/pcbnew/./pcb_base_edit_frame.h:42
#16 PCB_EDIT_FRAME::PCB_EDIT_FRAME (this=0x55555756ae90,
aKiway=0x55555580a140 <Kiway>, aParent=0x0)
at ./kicad/pcbnew/pcb_edit_frame.cpp:322
#17 0x00007fffe8d4e143 in PCB::IFACE::CreateWindow (this=<optimized out>,
aParent=0x0, aClassId=5, aKiway=0x55555580a140 <Kiway>,
aCtlBits=<optimized out>) at ./kicad/pcbnew/pcbnew.cpp:113
#18 0x000055555559509b in KIWAY::Player (this=0x55555580a140 <Kiway>,
---Type <return> to continue, or q <return> to quit---
aFrameType=FRAME_PCB, doCreate=<optimized out>, aParent=0x0)
at ./kicad/common/kiway.cpp:329
#19 0x0000555555589161 in PGM_SINGLE_TOP::OnPgmInit (
this=0x55555580a500 <program>) at ./kicad/common/single_top.cpp:322
#20 0x000055555558c450 in APP_SINGLE_TOP::OnInit (this=<optimized out>)
at ./kicad/common/single_top.cpp:128
#21 0x00007ffff6c9fb3a in wxEntry(int&, wchar_t**) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#22 0x0000555555586488 in main (argc=<optimized out>, argv=<optimized out>)
at ./kicad/common/single_top.cpp:239
Hello, requested output is below.
Thanks,
Stephen
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
stn8188@desktop:~$ gdb pcbnew gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>. www.gnu. org/software/ gdb/documentati on/>. debug/. build-id/ 79/df637877b10a 3f6381c35757716 fc5e5ce3001. debug.. .done. 64-linux- gnu/libthread_ db.so.1" .
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://
Find the GDB manual and other documentation resources online at:
<http://
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pcbnew...Reading symbols from /usr/lib/
done.
(gdb) r
Starting program: /usr/bin/pcbnew
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Program received signal SIGSEGV, Segmentation fault. ::CalculateAbsW idths(int) const () x86_64- linux-gnu/ libwx_gtk3u_ core-3. 0.so.0 ::CalculateAbsW idths(int) const () x86_64- linux-gnu/ libwx_gtk3u_ core-3. 0.so.0 :DoUpdateFieldW idths() () x86_64- linux-gnu/ libwx_gtk3u_ core-3. 0.so.0 :OnSize( wxSizeEvent& ) () x86_64- linux-gnu/ libwx_gtk3u_ core-3. 0.so.0 :ProcessEventIf MatchesId( wxEventTableEnt ryBase const&, wxEvtHandler*, wxEvent&) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 e::HandleEvent( wxEvent& , wxEvtHandler*) () from /usr/lib/ x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :TryHereOnly( wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :ProcessEventLo cally(wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :ProcessEvent( wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :SafelyProcessE vent(wxEvent& ) () x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 :DoSetSize( int, int, int, int, int) () x86_64- linux-gnu/ libwx_gtk2u_ core-3. 0.so.0 :Create( wxWindow* , int, long, wxString const&) () from /usr/lib/ x86_64- linux-gnu/ libwx_gtk2u_ core-3. 0.so.0 :OnCreateStatus Bar(int, long, int, wxString const&) () from /usr/lib/ x86_64- linux-gnu/ libwx_gtk2u_ core-3. 0.so.0 :CreateStatusBa r(int, long, int, wxString const&) () from /usr/lib/ x86_64- linux-gnu/ libwx_gtk2u_ core-3. 0.so.0 FRAME:: EDA_DRAW_ FRAME (this=0x5555575 6ae90, <optimized out>, aParent=<optimized out>, <optimized out>, aTitle=..., aPos=..., aSize=..., 541335104, aFrameName=...) at ./kicad/ common/ draw_frame. cpp:170 FRAME:: PCB_BASE_ FRAME (this=0x5555575 6ae90, <optimized out>, aParent=<optimized out>, aFrameType= FRAME_PCB, pcbnew/ pcb_base_ frame.cpp: 108 EDIT_FRAME: :PCB_BASE_ EDIT_FRAME ( FRAME_PCB, aParent=0x0, aKiway= 0x55555580a140 <Kiway>, this= pcbnew/ ./pcb_base_ edit_frame. h:42 FRAME:: PCB_EDIT_ FRAME (this=0x5555575 6ae90, 0x55555580a140 <Kiway>, aParent=0x0) pcbnew/ pcb_edit_ frame.cpp: 322 :CreateWindow (this=<optimized out>, 0x55555580a140 <Kiway>, <optimized out>) at ./kicad/ pcbnew/ pcbnew. cpp:113 0a140 <Kiway>, FRAME_PCB, doCreate=<optimized out>, aParent=0x0) common/ kiway.cpp: 329 TOP::OnPgmInit ( 0x55555580a500 <program>) at ./kicad/ common/ single_ top.cpp: 322 TOP::OnInit (this=<optimized out>) common/ single_ top.cpp: 128 x86_64- linux-gnu/ libwx_baseu- 3.0.so. 0 common/ single_ top.cpp: 239
0x00007fffdef7dbb7 in wxStatusBarBase
from /usr/lib/
(gdb) bt
#0 0x00007fffdef7dbb7 in wxStatusBarBase
from /usr/lib/
#1 0x00007fffdee1da2e in wxStatusBar:
from /usr/lib/
#2 0x00007fffdee1dd09 in wxStatusBar:
from /usr/lib/
#3 0x00007ffff6d914be in wxEvtHandler:
from /usr/lib/
#4 0x00007ffff6d915c3 in wxEventHashTabl
#5 0x00007ffff6d9198b in wxEvtHandler:
from /usr/lib/
#6 0x00007ffff6d91a13 in wxEvtHandler:
from /usr/lib/
#7 0x00007ffff6d91a75 in wxEvtHandler:
from /usr/lib/
#8 0x00007ffff6d917d7 in wxEvtHandler:
from /usr/lib/
#9 0x00007ffff72b566e in wxWindow:
from /usr/lib/
#10 0x00007ffff72f407d in wxStatusBar:
---Type <return> to continue, or q <return> to quit---
#11 0x00007ffff73c4096 in wxFrameBase:
#12 0x00007ffff73c4273 in wxFrameBase:
#13 0x00007fffe95d64c9 in EDA_DRAW_
aKiway=
aFrameType=
aStyle=
#14 0x00007fffe93deeae in PCB_BASE_
aKiway=
aTitle=..., aPos=..., aSize=..., aStyle=541335104, aFrameName=...)
at ./kicad/
#15 0x00007fffe9071388 in PCB_BASE_
aFrameName=..., aStyle=541335104, aSize=..., aPos=..., aTitle=...,
aFrameType=
0x55555756ae90) at ./kicad/
#16 PCB_EDIT_
aKiway=
at ./kicad/
#17 0x00007fffe8d4e143 in PCB::IFACE:
aParent=0x0, aClassId=5, aKiway=
aCtlBits=
#18 0x000055555559509b in KIWAY::Player (this=0x5555558
---Type <return> to continue, or q <return> to quit---
aFrameType=
at ./kicad/
#19 0x0000555555589161 in PGM_SINGLE_
this=
#20 0x000055555558c450 in APP_SINGLE_
at ./kicad/
#21 0x00007ffff6c9fb3a in wxEntry(int&, wchar_t**) ()
from /usr/lib/
#22 0x0000555555586488 in main (argc=<optimized out>, argv=<optimized out>)
at ./kicad/