5.1.6-0-10_14 keeps crashing on macOS

I recently upgraded KiCad to 5.1.6 (running on macOS 10.15.4 and now 10.15.5) and am finding that there is some instability that causes the whole thing to crash.

I haven’t fully got my head around what is causing it but it seems to be related to being in the PCB layout tool but rather than just it crashing it takes down the schematic editor (if it is open) and the KiCad parent process.

Are there any log files around that might give any clues as to what is going on?

-Andy.

I don’t know about mac, but kicad sometimes spits out some debug info in the terminal if it’s started from there.

@sdcandy I normally run nightlies but I installed and played with a few of my projects in 5.1.6 on macOS 10.15.5 and didn’t have any crashes…yet.

Is there anything specifically you are doing when it happens? Does it happen in all of your projects or just a specific one? How long does it normally take from opening the project till crash?

I’m also having crashes, mostly pcbnew. All of KiCad 5.1.6 had been working fine. Started crashing after a reboot. Here’s the top half of the crash report:

Process: kicad [21587]
Path: /private/var/folders/*/kicad.app/Contents/MacOS/kicad
Identifier: org.kicad-pcb.kicad
Version: [5.1.6-0-10_14] ([5.1.6-0-10_14])
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: kicad [21587]
User ID: 503

Date/Time: 2020-06-27 11:00:24.513 -0600
OS Version: Mac OS X 10.15.5 (19F101)
Report Version: 12
Anonymous UUID: 1C249774-857D-88E0-A347-311BBFAC7FC6

Sleep/Wake UUID: 43FA665F-EA0E-42AF-88B9-9AD694517166

Time Awake Since Boot: 370000 seconds
Time Since Wake: 92000 seconds

System Integrity Protection: enabled

Notes: Translocated Process

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [21587]

VM Regions Near 0:
–>
__TEXT 000000010de6e000-000000010de6f000 [ 4K] r-x/rwx SM=COW /var/folders/*/kicad.app/Contents/MacOS/kicad

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x00007fff6743e9b0 _platform_memmove$VARIANT$Haswell + 176
1 com.apple.SkyLight 0x00007fff5c519d5a SLSCopyRegionSerializedBytes + 168
2 com.apple.SkyLight 0x00007fff5c519d9c SLSRegionPerformWithSerializedBytes + 56
3 com.apple.SkyLight 0x00007fff5c4a29d7 SLSNewWindowWithOpaqueShape + 677
4 com.apple.AppKit 0x00007fff2a61457f -[_NSCGSWindow initWithConnectionID:] + 141
5 com.apple.AppKit 0x00007fff2a61445d +[NSCGSWindow(NSCGSWindowCreation) windowWithConnectionID:] + 42
6 com.apple.AppKit 0x00007fff2a614242 _NSCreateWindowWithOpaqueShape2 + 102
7 com.apple.AppKit 0x00007fff2a613110 -[NSWindow _commonAwake] + 1121
8 com.apple.AppKit 0x00007fff2a4d8fc5 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 799
9 com.apple.AppKit 0x00007fff2a4d8763 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1193
10 com.apple.AppKit 0x00007fff2a6b95a5 -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 50
11 com.apple.AppKit 0x00007fff2a4d82b3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
12 com.apple.AppKit 0x00007fff2a6b955a -[NSPanel initWithContentRect:styleMask:backing:defer:] + 64
13 libwx_osx_cocoau-3.0.0.4.0.dylib 0x000000010e231060 wxNonOwnedWindowCocoaImpl::Create(wxWindow*, wxPoint const&, wxSize const&, long, long, wxString const&) + 768
14 libwx_osx_cocoau-3.0.0.4.0.dylib 0x000000010e232479 wxNonOwnedWindowImpl::CreateNonOwnedWindow(wxNonOwnedWindow*, wxWindow*, wxPoint const&, wxSize const&, long, long, wxString const&) + 121
15 libwx_osx_cocoau-3.0.0.4.0.dylib 0x000000010e1792f9 wxNonOwnedWindow::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&) + 313
16 libwx_osx_cocoau-3.0.0.4.0.dylib 0x000000010e1d8b0c wxPopupWindow::Create(wxWindow*, int) + 124
17 _pcbnew.kiface 0x0000000116653fbb STATUS_POPUP::STATUS_POPUP(EDA_DRAW_FRAME*) + 59
18 _pcbnew.kiface 0x00000001166544d9 STATUS_TEXT_POPUP::STATUS_TEXT_POPUP(EDA_DRAW_FRAME*) + 25
19 _pcbnew.kiface 0x00000001161617a0 POINT_EDITOR::Reset(TOOL_BASE::RESET_REASON) + 128
20 _pcbnew.kiface 0x000000011669d2b5 TOOL_MANAGER::runTool(TOOL_BASE*) + 709
21 _pcbnew.kiface 0x000000011669f651 TOOL_MANAGER::dispatchActivation(TOOL_EVENT const&) + 129
22 _pcbnew.kiface 0x000000011669cdd6 TOOL_MANAGER::processEvent(TOOL_EVENT const&) + 102
23 _pcbnew.kiface 0x000000011669c90c TOOL_MANAGER::invokeTool(TOOL_BASE*) + 252
24 _pcbnew.kiface 0x000000011669c799 TOOL_MANAGER::InvokeTool(int) + 89
25 _pcbnew.kiface 0x000000011616201a POINT_EDITOR::OnSelectionChange(TOOL_EVENT const&) + 122
26 _pcbnew.kiface 0x00000001166a4334 COROUTINE<int, TOOL_EVENT const&>::callerStub(long) + 52

Thread 1:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff673920fe __select + 10
1 com.apple.CoreFoundation 0x00007fff2d276ce3 __CFSocketManager + 641
2 libsystem_pthread.dylib 0x00007fff6744d109 _pthread_start + 148
3 libsystem_pthread.dylib 0x00007fff67448b8b thread_start + 15

Thread 2:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff67389dfa mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff6738a170 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2d24df85 __CFRunLoopServiceMachPort + 247
3 com.apple.CoreFoundation 0x00007fff2d24ca52 __CFRunLoopRun + 1319
4 com.apple.CoreFoundation 0x00007fff2d24bece CFRunLoopRunSpecific + 462
5 com.apple.AppKit 0x00007fff2a664144 _NSEventThread + 132
6 libsystem_pthread.dylib 0x00007fff6744d109 _pthread_start + 148
7 libsystem_pthread.dylib 0x00007fff67448b8b thread_start + 15

Thread 3:
0 libsystem_pthread.dylib 0x00007fff67448b68 start_wqthread + 0

Thread 4:
0 libsystem_pthread.dylib 0x00007fff67448b68 start_wqthread + 0

Thread 5:
0 libsystem_pthread.dylib 0x00007fff67448b68 start_wqthread + 0

Thread 6:
0 libsystem_pthread.dylib 0x00007fff67448b68 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fc9f2fe736c rcx: 0x0000000280000000 rdx: 0x0000000000000004
rdi: 0x0000000000000000 rsi: 0x00007fff2dc748f0 rbp: 0x00007fc9f2fe7310 rsp: 0x00007fc9f2fe7310
r8: 0x7fffffff00000002 r9: 0x0000000030753eec r10: 0x00007fff6738cbf6 r11: 0xffff8000d238b710
r12: 0x0000000000000003 r13: 0x00007fc9f2fe74c8 r14: 0x0000000000000000 r15: 0x00007fc9f2fe7360
rip: 0x00007fff6743e9b0 rfl: 0x0000000000010202 cr2: 0x0000000000000000

Logical CPU: 2
Error Code: 0x00000006 (no mapping for user data write)
Trap Number: 14

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.