Pressing 'e' in eeschema causes crash frequently [OSX-specific]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
High
|
Jeff Young |
Bug Description
I though this was originally related to https:/
I am pressing 'e' over field references in eeschema and sometimes it works and sometimes it crashes. But, once it crashes it crashes for a while. I have to do an unknown procedure to get it to work again.
#Kicad Info
```
Application: KiCad
Version: (5.1.0-
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.6.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:
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
```
#Crash Report
```
Crashed Thread: 0 Dispatch queue: com.apple.
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [16850]
Application Specific Information:
Crashing on exception: -[NSAlert runModal] may not be invoked inside of transaction begin/commit pair, or inside of transaction commit (usually this means it was invoked inside of a view's -drawRect: method.)
Thread 0 Crashed:: Dispatch queue: com.apple.
0 com.apple.AppKit 0x00007fff47071a67 -[NSApplication _crashOnException:] + 109
1 com.apple.AppKit 0x00007fff46d6ec84 __65+[CATransac
2 com.apple.
3 com.apple.
4 com.apple.
5 com.apple.
6 com.apple.HIToolbox 0x00007fff488d396b RunCurrentEvent
7 com.apple.HIToolbox 0x00007fff488d35ad ReceiveNextEven
8 com.apple.HIToolbox 0x00007fff488d3436 _BlockUntilNext
9 com.apple.AppKit 0x00007fff46c6d987 _DPSNextEvent + 965
10 com.apple.AppKit 0x00007fff46c6c71f -[NSApplication
11 libwx_osx_
12 libwx_osx_
13 libwx_osx_
14 _eeschema.kiface 0x000000011432ce11 DIALOG_
15 _eeschema.kiface 0x00000001141467b4 SCH_EDIT_
16 _eeschema.kiface 0x000000011414772f SCH_EDIT_
17 _eeschema.kiface 0x0000000114156cd5 int std::__
18 _eeschema.kiface 0x0000000114156999 std::__
19 _eeschema.kiface 0x00000001144c803e std::__
20 _eeschema.kiface 0x00000001144c7f8d COROUTINE<int, TOOL_EVENT const&>
21 _eeschema.kiface 0x000000011440cd2a make_fcontext + 42
22 ??? 0x00007ffee56bdd90 0 + 140732747472272
Thread 1:
0 libsystem_
Thread 2:
0 libsystem_
Thread 3:
0 libsystem_
Thread 4:: com.apple.
0 libsystem_
1 com.apple.
2 libsystem_
3 libsystem_
4 libsystem_
Thread 5:: com.apple.
0 libsystem_
1 libsystem_
2 com.apple.
3 com.apple.
4 com.apple.
5 com.apple.AppKit 0x00007fff46c756a6 _NSEventThread + 175
6 libsystem_
7 libsystem_
8 libsystem_
Thread 6:
0 libsystem_
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00006000028bc230 rbx: 0x000060000329a220 rcx: 0x00007fa6edc471f0 rdx: 0x00007fff73d5ef18
rdi: 0x00007fa6edc47000 rsi: 0x00007fff477f0bed rbp: 0x0000000111a607b0 rsp: 0x0000000111a607a0
r8: 0x0000000111a60340 r9: 0x0000000000000000 r10: 0x00007fffa4980390 r11: 0x00007fa6defb7190
r12: 0x0000600000cfd860 r13: 0x00007fa6ed7612c0 r14: 0x00007fff73d3a680 r15: 0x00007fff49652f83
rip: 0x00007fff47071a67 rfl: 0x0000000000010206 cr2: 0x000000010b31b3cc
Logical CPU: 3
Error Code: 0x00000000
Trap Number: 6
```
summary: |
- Pressing 'e' in eeschema causes crash frequently + Pressing 'e' in eeschema causes crash frequently [OSX-specific] |
I don't actually think this will be helpful but here is what happens. I had the MCU selected, I deselected it and hit 'e' between the 'field ref' and 'field val' and I picked 'field ref' then crash...
https:/ /imgur. com/a/zF4wehd