eeschema crash when pressing V to edit value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Critical
|
Jeff Young |
Bug Description
To reproduce:
- launch the app
- open the schematic
- hover over a resistor and press V
- eeschema crashes!
See attached crash log.
Sometimes, if I click on the empty canvas, then press ESC before V, it works. But I'm not sure if that's just a coincidence.
Sometimes I get this debug prints while trying this:
ShowQuasiModal: optimal parent: 14SCH_EDIT_FRAME
ShowQuasiModal: optimal parent: 14SCH_EDIT_FRAME
ShowQuasiModal: optimal parent: 14SCH_EDIT_FRAME
ShowQuasiModal: optimal parent: 14SCH_EDIT_FRAME
ShowQuasiModal: optimal parent: 14SCH_EDIT_FRAME
ShowQuasiModal: optimal parent: 14SCH_EDIT_FRAME
Application: KiCad
Version: (5.1.4-
Libraries:
wxWidgets 3.0.4
libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Platform: Mac OS X (Darwin 18.5.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
wxWidgets: 3.0.4 (wchar_t,STL containers,
Boost: 1.69.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.54.0
Compiler: Clang 9.0.0 with C++ ABI 1002
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
stack trace:
(lldb) run
Process 40940 launched: '/Applications/
LoadAllLibraries: lib_names:
Tests2-cache
13:20:02: Debug: Disabling glCopyBuffer() on intel GPU
ShowQuasiModal: optimal parent: 14SCH_EDIT_FRAME
./src/osx/
Collecting stack trace information, please wait...Process 40940 stopped
* thread #1, queue = 'com.apple.
frame #0: 0x00007fff47749767 AppKit`
AppKit`
-> 0x7fff47749767 <+109>: ud2
0x7fff47749769 <+111>: movq %rax, %rdi
0x7fff4774976c <+114>: callq 0x7fff47ea547a ; symbol stub for: objc_begin_catch
0x7fff47749771 <+119>: xorl %edi, %edi
Target 0: (kicad) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.
* frame #0: 0x00007fff47749767 AppKit`
frame #1: 0x00007fff474462d8 AppKit`
frame #2: 0x00007fff49d29c94 CoreFoundation`
frame #3: 0x00007fff49d29bc9 CoreFoundation`
frame #4: 0x00007fff49ccc74e CoreFoundation`
frame #5: 0x00007fff49ccc085 CoreFoundation`
frame #6: 0x00007fff48faa9db HIToolbox`
frame #7: 0x00007fff48faa61d HIToolbox`
frame #8: 0x00007fff48faa4a6 HIToolbox`
frame #9: 0x00007fff47344ffb AppKit`
frame #10: 0x00007fff47343d93 AppKit`
frame #11: 0x00000001005da65c libwx_osx_
frame #12: 0x00000001004d5111 libwx_osx_
frame #13: 0x0000000100422b72 libwx_osx_
frame #14: 0x000000010c10c591 _eeschema.
frame #15: 0x000000010bd44aaf _eeschema.
frame #16: 0x000000010bf06846 _eeschema.
frame #17: 0x000000010050161f libwx_osx_
frame #18: 0x0000000100502941 libwx_osx_
frame #19: 0x000000010c131678 _eeschema.
frame #20: 0x0000000100502aa1 libwx_osx_
frame #21: 0x00000001005028d4 libwx_osx_
frame #22: 0x000000010bd89e26 _eeschema.
frame #23: 0x000000010bd3f882 _eeschema.
frame #24: 0x000000010bdef40d _eeschema.
frame #25: 0x0000000100502cb2 libwx_osx_
frame #26: 0x0000000100502a3b libwx_osx_
frame #27: 0x00000001005028d4 libwx_osx_
frame #28: 0x0000000100738833 libwx_osx_
frame #29: 0x0000000100502d5c libwx_osx_
frame #30: 0x000000010053b021 libwx_osx_
frame #31: 0x00000001005fa4d9 libwx_osx_
frame #32: 0x00000001005f6eab libwx_osx_
frame #33: 0x00007fff47667191 AppKit`
frame #34: 0x00007fff47d2ce78 AppKit`
frame #35: 0x00007fff476670e2 AppKit`
frame #36: 0x00007fff47d2b05b AppKit`
frame #37: 0x00007fff47d2c7e7 AppKit`
frame #38: 0x00007fff47666d4e AppKit`
frame #39: 0x00007fff47666cd6 AppKit`
frame #40: 0x00007fff476664ce AppKit`
frame #41: 0x00007fff47665d81 AppKit`
frame #42: 0x00007fff48fa8a6e HIToolbox`
frame #43: 0x00007fff48fa7e1f HIToolbox`
frame #44: 0x00007fff48fa7ca5 HIToolbox`
frame #45: 0x00007fff4900f4df HIToolbox`
frame #46: 0x00007fff4900f94a HIToolbox`
frame #47: 0x00007fff4900f7b8 HIToolbox`
frame #48: 0x00007fff4900f52e HIToolbox`
frame #49: 0x00007fff4900f333 HIToolbox`
frame #50: 0x00007fff4900eff4 HIToolbox`
frame #51: 0x00007fff4900ed9e HIToolbox`
frame #52: 0x00007fff4900ebfd HIToolbox`
frame #53: 0x00007fff4900ea1b HIToolbox`
frame #54: 0x00007fff4900e7aa HIToolbox`
frame #55: 0x00007fff4900e5d9 HIToolbox`
frame #56: 0x00007fff4900e31e HIToolbox`
frame #57: 0x00007fff4900e082 HIToolbox`
frame #58: 0x00007fff4900d677 HIToolbox`
frame #59: 0x00007fff47d31451 AppKit`
frame #60: 0x00007fff47d30a4e AppKit`
frame #61: 0x00007fff47d3093f AppKit`
frame #62: 0x00007fff47d3100a AppKit`
frame #63: 0x00007fff47d307fe AppKit`
frame #64: 0x00007fff47664840 AppKit`-[NSView interpretKeyEve
frame #65: 0x00000001005fa742 libwx_osx_
frame #66: 0x00000001005f6d1c libwx_osx_
frame #67: 0x00007fff474b1b9f AppKit`
frame #68: 0x00007fff474afe9f AppKit`
frame #69: 0x00000001005e4fab libwx_osx_
frame #70: 0x00007fff47350101 AppKit`
frame #71: 0x0000000100510c12 libwx_osx_
frame #72: 0x00007fff4733dee8 AppKit`
frame #73: 0x00000001005da62e libwx_osx_
frame #74: 0x00000001004d5111 libwx_osx_
frame #75: 0x0000000100422b72 libwx_osx_
frame #76: 0x00000001003f1463 libwx_osx_
frame #77: 0x000000010057393a libwx_osx_
frame #78: 0x000000010001fe78 kicad`APP_
frame #79: 0x000000010045c40a libwx_osx_
frame #80: 0x000000010001cd96 kicad`main + 38
frame #81: 0x00007fff761e53d5 libdyld.dylib`start + 1
frame #82: 0x00007fff761e53d5 libdyld.dylib`start + 1
(lldb)
tags: | added: hotkeys |
Changed in kicad: | |
status: | Confirmed → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
So the assertion happens in wx, here: https:/ /github. com/wxWidgets/ wxWidgets/ blob/master/ src/osx/ window_ osx.cpp# L1576