Pcbnew: Segfault reading netlist III
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ok, another (yet similar) set of files.
Steps to reproduce:
1. Unpack archive, open the board and add the "pretties" to the current project.
2. Open the "netlist" dialog using the "NET" icon. Options do not matter.
3. Press the "Read netlist" button three times -> crash
Tested under Linux with commits 1724f90, 969209c and 4bdac4d (all crashing).
Windows 10: 1724f90 and 4bdac4d (both crashing).
Windows 7 : 1724f90 (hangs), 4bdac4d (no problem)
GDB:
Thread 1 "kicad" received signal SIGSEGV, Segmentation fault.
0x00007fffe5fdb857 in EDIT_TOOL::Main (this=0x3f40920, aEvent=...) at /data/src/
413 m_offset = static_
(gdb) bt
#0 0x00007fffe5fdb857 in EDIT_TOOL::Main (this=0x3f40920, aEvent=...) at /data/src/
#1 0x00007fffe5fe4e0c in std::_Mem_
at /usr/include/
#2 0x00007fffe5fe4c02 in std::_Bind<
at /usr/include/
#3 0x00007fffe5fe47e2 in std::_Bind<
this=0x37e95a0) at /usr/include/
#4 0x00007fffe5fe4275 in std::_Function_
#5 0x00007fffe6600541 in std::function<int (TOOL_EVENT const&)
#6 0x00007fffe65fd4d1 in COROUTINE<int, TOOL_EVENT const&>::callerStub (aData=
#7 0x00007fffe664a711 in make_fcontext () from /usr/local/
#8 0x0000000000000000 in ?? ()
One time I tried an "Assert" dialog opened:
ASSERT INFO:
../include/
BACKTRACE:
[1] wxMutex::Lock()
[2] wxEvtHandler:
[3] wxAppConsoleBas
[4] wxEvtHandler:
[5] wxEvtHandler:
[6] wxEvtHandler:
[7] wxEvtHandler:
[8] wxEvtHandler:
[9] wxEvtHandler:
[10] g_signal_
[11] g_signal_emit
[12] g_signal_
[13] g_signal_emit
[14] g_closure_invoke
[15] g_signal_
[16] g_signal_emit
[17] gtk_propagate_event
[18] gtk_main_do_event
[19] g_main_
[20] g_main_loop_run
[21] gtk_main
[22] wxGUIEventLoop:
[23] wxEventLoopBase
[24] wxDialog:
[25] wxAppConsoleBas
[26] wxEvtHandler:
[27] wxEventHashTabl
[28] wxEvtHandler:
[29] wxEvtHandler:
[30] wxEvtHandler:
[31] wxWindowBase:
[32] wxAuiToolBar:
[33] wxAppConsoleBas
[34] wxEvtHandler:
[35] wxEventHashTabl
[36] wxEvtHandler:
[37] wxEvtHandler:
[38] wxEvtHandler:
[39] wxEvtHandler:
[40] g_closure_invoke
[41] g_signal_
[42] g_signal_emit
[43] gtk_propagate_event
[44] gtk_main_do_event
[45] g_main_
[46] g_main_loop_run
[47] gtk_main
[48] wxGUIEventLoop:
[49] wxEventLoopBase
[50] wxAppConsoleBas
[51] APP_SINGLE_
[52] wxEntry(int&, wchar_t**)
[53] main /data/src/
[54] __libc_start_main
[55] _start
Version info:
Application: kicad
Version: (2017-06-22 revision 4bdac4d)-HEAD, release build
Libraries: wxWidgets 3.0.2
Platform: Linux 4.8.0-56-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Curl: 7.47.0
KiCad - Compiler: GCC 5.4.0 with C++ ABI 1009
Settings: USE_WX_
Changed in kicad: | |
status: | New → Confirmed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
The Windows build of commit 4bdac4d did not crash under Win7 because the legacy canvas has been selected. With OpenGL it crashes too.
Likewise, the Linux version does not crash when the lagacy canvas is selected.