KiCad 8_RC2 Crash


Translated Report (Full Report Below)

Process: kicad [5517]
Path: /Applications/KiCad/KiCad.app/Contents/MacOS/kicad
Identifier: org.kicad.kicad
Version: 8.0.0-rc2 (8.0.0-rc2)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2024-01-23 23:58:24.7433 +0100
OS Version: macOS 14.2.1 (23C71)
Report Version: 12
Anonymous UUID: 429E8102-D5EF-B6CC-3D3F-9CAFF2D863D6

Sleep/Wake UUID: ED07C3D6-66BD-491F-8882-B2CB35C6F389

Time Awake Since Boot: 67000 seconds
Time Since Wake: 5066 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: kicad [5517]

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x1852420dc __pthread_kill + 8
1 libsystem_pthread.dylib 0x185279cc0 pthread_kill + 288
2 libsystem_c.dylib 0x185185a40 abort + 180
3 libsystem_malloc.dylib 0x18509cb08 malloc_vreport + 908
4 libsystem_malloc.dylib 0x1850bc24c malloc_zone_error + 104
5 libsystem_malloc.dylib 0x1850ae094 nanov2_guard_corruption_detected + 44
6 libsystem_malloc.dylib 0x1850ad2a8 nanov2_allocate_outlined + 404
7 libc++abi.dylib 0x185232ec0 operator new(unsigned long) + 32
8 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105b10444 wxGrid::CalcCellsExposed(wxRegion const&, wxGridWindow*) const + 1344
9 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105b0faa4 wxGridWindow::OnPaint(wxPaintEvent&) + 108
10 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105897bb4 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 444
11 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105899200 wxEvtHandler::ProcessEventLocally(wxEvent&) + 120
12 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105899004 wxEvtHandler::ProcessEvent(wxEvent&) + 56
13 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105899734 wxEvtHandler::SafelyProcessEvent(wxEvent&) + 24
14 libwx_osx_cocoau-3.2.0.2.2.dylib 0x1058d6ff0 wxWindow::MacDoRedraw(long) + 676
15 libwx_osx_cocoau-3.2.0.2.2.dylib 0x10598a6ac wxWidgetCocoaImpl::drawRect(void*, NSView*, void*) + 628
16 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105987f14 wxOSX_drawRect(NSView*, objc_selector*, CGRect) + 132
17 AppKit 0x188c4bc60 _NSViewDrawRect + 124
18 AppKit 0x1895c2c8c -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1088
19 AppKit 0x1895c2e24 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1496
20 AppKit 0x1895c2e24 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1496
21 AppKit 0x1895c2e24 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1496
22 AppKit 0x1895c2e24 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1496
23 AppKit 0x1895c2e24 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 1496
24 AppKit 0x188c4b4d4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 556
25 AppKit 0x189164afc -[NSViewBackingLayer drawInContext:] + 56
26 AppKit 0x189345ce0 -[NSViewBackingStore update:] + 560
27 AppKit 0x189163cf8 -[NSViewBackingLayerContents update:] + 52
28 AppKit 0x189164730 -[NSViewBackingLayer display] + 1240
29 QuartzCore 0x18d4360e8 CA::Layer::display_if_needed(CA::Transaction*) + 736
30 QuartzCore 0x18d5bb224 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 512
31 QuartzCore 0x18d418e9c CA::Transaction::commit() + 648
32 AppKit 0x188c5aec8 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
33 AppKit 0x189600558 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
34 CoreFoundation 0x185356df0 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 36
35 CoreFoundation 0x185356cdc __CFRunLoopDoObservers + 532
36 CoreFoundation 0x18535630c __CFRunLoopRun + 776
37 CoreFoundation 0x1853559ac CFRunLoopRunSpecific + 608
38 HIToolbox 0x18f904448 RunCurrentEventLoopInMode + 292
39 HIToolbox 0x18f9040d8 ReceiveNextEventCommon + 220
40 HIToolbox 0x18f903fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
41 AppKit 0x188b328a4 _DPSNextEvent + 660
42 AppKit 0x18930c980 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
43 AppKit 0x188d6609c -[NSApplication _doModalLoop:peek:] + 216
44 AppKit 0x188f5b504 __33-[NSApplication runModalSession:]_block_invoke_2 + 88
45 AppKit 0x188f5b490 __33-[NSApplication runModalSession:]_block_invoke + 112
46 AppKit 0x188d6481c _NSTryRunModal + 100
47 AppKit 0x188f5b360 -[NSApplication runModalSession:] + 148
48 libwx_osx_cocoau-3.2.0.2.2.dylib 0x10596df50 wxGUIEventLoop::DoDispatchTimeout(unsigned long) + 64
49 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105870d4c wxCFEventLoop::DispatchTimeout(unsigned long) + 44
50 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105870f48 wxCFEventLoop::OSXDoRun() + 288
51 libwx_osx_cocoau-3.2.0.2.2.dylib 0x10596e530 wxModalEventLoop::OSXDoRun() + 88
52 libwx_osx_cocoau-3.2.0.2.2.dylib 0x105871074 wxCFEventLoop::DoRun() + 40
53 libwx_osx_cocoau-3.2.0.2.2.dylib 0x1057cf9e4 wxEventLoopBase::Run() + 200
54 libwx_osx_cocoau-3.2.0.2.2.dylib 0x1058cb2f4 wxDialog::ShowModal() + 100
55 _pcbnew.kiface 0x11cc0d4d4 InvokePcbLibTableEditor(KIWAY*, wxWindow*) + 480
56 _pcbnew.kiface 0x11ca1bbc8 PCB::IFACE::CreateKiWindow(wxWindow*, int, KIWAY*, int) + 2228
57 kicad 0x102689fd4 COMMON_CONTROL::ShowLibraryTable(TOOL_EVENT const&) + 564
58 kicad 0x1026ab42c COROUTINE<int, TOOL_EVENT const&>::callerStub(long) + 60
59 kicad 0x1027d85c0 make_fcontext + 28

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x185239874 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x18524bcf0 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1852424b0 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x185239bf8 mach_msg + 24
4 CoreFoundation 0x185357bf4 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x1853564bc __CFRunLoopRun + 1208
6 CoreFoundation 0x1853559ac CFRunLoopRunSpecific + 608
7 AppKit 0x188c5c510 _NSEventThread + 144
8 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
9 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 2:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x1852449d4 __select + 8
1 CoreFoundation 0x185380e24 __CFSocketManager + 636
2 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
3 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 3:
0 libsystem_kernel.dylib 0x18523d06c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18527a5fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x1851a14dc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 kicad 0x1027723d8 BS::thread_pool::worker() + 156
4 kicad 0x1027727b4 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (BS::thread_pool::)(), BS::thread_pool>>(void*) + 72
5 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
6 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 4:
0 libsystem_kernel.dylib 0x18523d06c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18527a5fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x1851a14dc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 kicad 0x1027723d8 BS::thread_pool::worker() + 156
4 kicad 0x1027727b4 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (BS::thread_pool::)(), BS::thread_pool>>(void*) + 72
5 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
6 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 5:
0 libsystem_kernel.dylib 0x18523d06c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18527a5fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x1851a14dc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 kicad 0x1027723d8 BS::thread_pool::worker() + 156
4 kicad 0x1027727b4 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (BS::thread_pool::)(), BS::thread_pool>>(void*) + 72
5 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
6 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 6:
0 libsystem_kernel.dylib 0x18523d06c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18527a5fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x1851a14dc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 kicad 0x1027723d8 BS::thread_pool::worker() + 156
4 kicad 0x1027727b4 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (BS::thread_pool::)(), BS::thread_pool>>(void*) + 72
5 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
6 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 7:
0 libsystem_kernel.dylib 0x18523d06c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18527a5fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x1851a14dc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 kicad 0x1027723d8 BS::thread_pool::worker() + 156
4 kicad 0x1027727b4 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (BS::thread_pool::)(), BS::thread_pool>>(void*) + 72
5 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
6 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 8:
0 libsystem_kernel.dylib 0x18523d06c __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x18527a5fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x1851a14dc std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 28
3 kicad 0x1027723d8 BS::thread_pool::worker() + 156
4 kicad 0x1027727b4 void* std::__1::__thread_proxy[abi:v15006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void (BS::thread_pool::)(), BS::thread_pool>>(void*) + 72
5 libsystem_pthread.dylib 0x18527a034 _pthread_start + 136
6 libsystem_pthread.dylib 0x185274e3c thread_start + 8

Thread 9;

TO MANY LINES FOR THIS FORUM

What were you doing at the time of the crash?

Please create a report on GitLab. I notice that you are using ARM

Every macOS device sold since 2020 is arm so that’s nothing special

I know this is probably not the place to report an issue. I was playing with a fresh install of RC_2 when it bombed with a very long report - much too long to post here. I would like to help, but I don’t have the time to learn how to file a report on GitLab. Very sorry.

Can you reproduce the crash? If so, what are you doing to make it crash? If it crashes on a particular file/project, please attach it here, or remove most of the components to make a minimum example that still causes the crash and upload that here.

My main PC is an old iMac Intel, but I have a new M2 MacBook Air with Sonoma 14.2.1 - clean with no applications loaded at present. So I decided to try RC_2. KiCad 8 RC2 appeared to be working, so I loaded my Aisler Template and placed a single capacitor with GND and +12v to the schematic. It appeared as normal on the PCB and 3D View.

At some point later,I think whilst scanning through the libraries, it crashed. The partial report I posted was copy/pasted from the Apple report popup. However, I’ve found it in the Apple Crash Report, so here it is in full. I hope this helps.
kicad-2024-01-23-235829.ips (98.4 KB)

PS. when I get file sharing working, I’ll post the project.

Here’s the project…
test-1.zip (45.8 KB)

Your test project opens normally in KiCad-Nightly V8.0.0~rc2.

Have you had any luck with reproducing the crash?

Yes, it opens fine here too. It was late last night when the crash occurred, so I can’t remember exactly what lead to the crash. I was hoping the log might help you. I’m afraid that’s about as much help I can offer. I thank you for your concern and wish you all the best.

It’s most likely not related to your project.

Just another macOS bug on the pile of macOS bugs nobody can reproduce lol

2 Likes

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