segfault + assert failed in Yield(): wxYield called recursively
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
High
|
Unassigned |
Bug Description
I got this when I tried to add a mounting hole to the PCB. I clicked the "add footprints" icon, clicked on the board and got the "load footprint" dialogue. Then I picked "select by browser", selected a footprint (maybe a 5 mm hole), but it didn't add it to the board - I came back to the "load footprint" dialogie. I did the "select by browser" again, selected my footprint, and then I got the assertion. After I clicked "continue" on the assertion dialogue, it segfaulted.
Application: kicad
Version: (2015-09-20 BZR 6203)-product debug build
wxWidgets: Version 3.0.2 (debug,
Platform: Linux 4.1.0-2-amd64 x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.58.0
Assertion backtrace and segfault backtrace follows:
ASSERT INFO:
../src/
BACKTRACE:
[1] wxEventLoopBase
[2] wxAppConsoleBas
[3] wxEvtHandler:
[4] wxEventHashTabl
[5] wxEvtHandler:
[6] wxEvtHandler:
[7] wxEvtHandler:
[8] wxScrollHelperE
[9] wxEvtHandler:
[10] g_closure_invoke
[11] g_signal_
[12] g_signal_emit
[13] gtk_propagate_event
[14] gtk_main_do_event
[15] g_main_
[16] g_main_
[17] gtk_main_iteration
[18] wxGUIEventLoop:
[19] wxAppConsoleBas
[20] wxEvtHandler:
[21] wxEventHashTabl
[22] wxEvtHandler:
[23] wxEvtHandler:
[24] wxEvtHandler:
[25] wxScrollHelperE
[26] wxEvtHandler:
[27] g_closure_invoke
[28] g_signal_
[29] g_signal_emit
[30] gtk_propagate_event
[31] gtk_main_do_event
[32] g_main_
[33] g_main_loop_run
[34] gtk_main
[35] wxGUIEventLoop:
[36] wxEventLoopBase
[37] wxAppConsoleBas
[38] APP_KICAD::OnRun() /home/pipe/
[39] wxEntry(int&, wchar_t**)
[40] main /home/pipe/
[41] __libc_start_main
[42] _start
[New LWP 21809]
[New LWP 22015]
[New LWP 21842]
[New LWP 22014]
[New LWP 21843]
[New LWP 22013]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
Core was generated by `kicad'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f5c55041848 in typeinfo for wxProcess () from /usr/lib/
[Current thread is 1 (Thread 0x7f5c567feb00 (LWP 21809))]
#0 0x00007f5c55041848 in typeinfo for wxProcess () from /usr/lib/
No symbol table info available.
#1 0x00007f5c3a3eb9c1 in PCB_BASE_
viewer = 0xf7d88a0
fpid = {static npos = 184467440737095
ret = 1
#2 0x00007f5c3a3ebc1e in PCB_BASE_
module = 0x0
curspos = {x = 109500000, y = 93500000}
moduleName = {static npos = 184467440737095
keys = {static npos = 184467440737095
libName = {static npos = 184467440737095
HistoryList = {m_nSize = 16, m_nCount = 4, m_pItems = 0xca315d8, m_autoSort = false}
dlg = {<DIALOG_
fpid = {nickname = {<std::
#3 0x00007f5c3a42192e in PCB_EDIT_
DrawStruct = 0x0
exit = false
no_tool = false
#4 0x00007f5c3a77261f in EDA_DRAW_
ignoreEvt = false
localbutt = 0
screen = 0x3113a70
DC = <incomplete type>
kbstat = 0
lastPanel = 0x1b67750
#5 0x00007f5c54c2270e in wxAppConsoleBas
No symbol table info available.
#6 0x00007f5c54da8967 in wxEvtHandler:
No symbol table info available.
#7 0x00007f5c54da8a5b in wxEventHashTabl
No symbol table info available.
#8 0x00007f5c54da8e18 in wxEvtHandler:
No symbol table info available.
#9 0x00007f5c54da8ea3 in wxEvtHandler:
No symbol table info available.
#10 0x00007f5c54da8f05 in wxEvtHandler:
No symbol table info available.
#11 0x00007f5c557a66fb in wxScrollHelperE
No symbol table info available.
#12 0x00007f5c54da8c67 in wxEvtHandler:
No symbol table info available.
#13 0x00007f5c5555215b in ?? () from /usr/lib/
No symbol table info available.
#14 0x00007f5c51adba7f in ?? () from /usr/lib/
No symbol table info available.
#15 0x00007f5c514b12d5 in g_closure_invoke () from /usr/lib/
No symbol table info available.
#16 0x00007f5c514c303c in ?? () from /usr/lib/
No symbol table info available.
#17 0x00007f5c514cb1a5 in g_signal_
No symbol table info available.
#18 0x00007f5c514cb8ff in g_signal_emit () from /usr/lib/
No symbol table info available.
#19 0x00007f5c51bf2ecc in ?? () from /usr/lib/
No symbol table info available.
#20 0x00007f5c51ada1c4 in gtk_propagate_event () from /usr/lib/
No symbol table info available.
#21 0x00007f5c51ada65b in gtk_main_do_event () from /usr/lib/
No symbol table info available.
#22 0x00007f5c5174dbbc in ?? () from /usr/lib/
No symbol table info available.
#23 0x00007f5c50790c3d in g_main_
No symbol table info available.
#24 0x00007f5c50790f20 in ?? () from /lib/x86_
No symbol table info available.
#25 0x00007f5c50791242 in g_main_loop_run () from /lib/x86_
No symbol table info available.
#26 0x00007f5c51ad95d7 in gtk_main () from /usr/lib/
No symbol table info available.
#27 0x00007f5c55523de5 in wxGUIEventLoop:
No symbol table info available.
#28 0x00007f5c54c646e3 in wxEventLoopBase
No symbol table info available.
#29 0x00007f5c54c29b76 in wxAppConsoleBas
No symbol table info available.
#30 0x000000000043c548 in APP_KICAD::OnRun (this=0x1868da0) at /home/pipe/
#31 0x00007f5c54cb62b0 in wxEntry(int&, wchar_t**) () from /usr/lib/
No symbol table info available.
#32 0x000000000043aeaf in main (argc=1, argv=0x7ffd97e0
No locals.
tags: | added: assert pcbnew |
Changed in kicad: | |
importance: | Undecided → High |
Changed in kicad: | |
status: | New → Confirmed |
Changed in kicad: | |
status: | Confirmed → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Was this done in the OpenGL or Cairo canvas? I cannot duplicate this behavior from the legacy canvas. You also did not indicate whether or not you closed the footprint browser the first time you launched it. On windows I have to close the footprint browser in order to attempt to add a footprint the second time. Your description does not make this clear.