Deadlock opening 3D viewer (lp:#1802940)

[Original report](https://bugs.launchpad.net/bugs/1802940) created by **Roman K (src8)**
```
Nightly build kicad-nightly-20181109-051007-71a2cd831-10_14

Open board. Open 3D viewer. Hang.

Some boards works ok, some hangs. The board which hangs, created with the
same Kicad build yesterday. Tried to reboot system, no luck.

Date/Time:       2018-11-12 17:12:49 +0200
End time:        2018-11-12 17:12:50 +0200
OS Version:      Mac OS X 10.14.1 (Build 18B75)
Architecture:    x86_64h
Report Version:  27

Data Source:     Stackshots
Shared Cache:    0x1e2d6000 EDB466F8-BE32-3CE4-88D4-833FDE7491B7
Shared Cache:    0 5D5F5034-A333-3286-946A-D272843F1182

Command:         pcbnew
Path:
/Applications/KiCad/kicad.app/Contents/Applications/pcbnew.app/Contents/MacOS/pcbnew
Identifier:      org.kicad-pcb.pcbnew
Version:          ()
Parent:          kicad [654]
Responsible:     kicad [654]
PID:             657

Event:           hang
Duration:        1.09s (process was unresponsive for 57 seconds before
sampling)
Steps:           11 (100ms sampling interval)

Hardware model:  MacBook8,1
Active cpus:     4
Boot args:       rootless=0 kext-dev-mode=1

Time Awake Since Boot: 700s


--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------


Heaviest stack for the main thread of the target process:
  11  start + 1 (libdyld.dylib + 94349) [0x7fff7575908d]
  11  main + 38 (pcbnew + 20038) [0x10cb30e46]
  11  wxEntry(int&, wchar_t**) + 58 (libwx_osx_cocoau-3.0.0.4.0.dylib +
605242) [0x10cd23c3a]
  11  APP_SINGLE_TOP::OnRun() + 31 (pcbnew + 39055) [0x10cb3588f]
  11  wxApp::OnRun() + 26 (libwx_osx_cocoau-3.0.0.4.0.dylib + 1899066)
[0x10ce5fa3a]
  11  wxAppConsoleBase::MainLoop() + 99 (libwx_osx_cocoau-3.0.0.4.0.dylib +
43875) [0x10cc9ab63]
  11  wxEventLoopBase::Run() + 162 (libwx_osx_cocoau-3.0.0.4.0.dylib +
326498) [0x10ccdfb62]
  11  wxCFEventLoop::DoRun() + 49 (libwx_osx_cocoau-3.0.0.4.0.dylib +
1199601) [0x10cdb4df1]
  11  wxGUIEventLoop::OSXDoRun() + 174 (libwx_osx_cocoau-3.0.0.4.0.dylib +
2337886) [0x10cecac5e]
  11  -[NSApplication run] + 699 (AppKit + 81081) [0x7fff45ac9cb9]
  11  -[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 (AppKit +
105558) [0x7fff45acfc56]
  11  _DPSNextEvent + 997 (AppKit + 110263) [0x7fff45ad0eb7]
  11  _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox +
42472) [0x7fff478145e8]
  11  ReceiveNextEventCommon + 371 (HIToolbox + 42868) [0x7fff47814774]
  11  RunCurrentEventLoopInMode + 293 (HIToolbox + 43829) [0x7fff47814b35]
  11  CFRunLoopRunSpecific + 463 (CoreFoundation + 240168) [0x7fff4857ba28]
  11  __CFRunLoopRun + 1166 (CoreFoundation + 241929) [0x7fff4857c109]
  11  __CFRunLoopDoObservers + 452 (CoreFoundation + 628194)
[0x7fff485da5e2]
  11  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
(CoreFoundation + 628397) [0x7fff485da6ad]
  11  wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*,
int, void*) + 66 (libwx_osx_cocoau-3.0.0.4.0.dylib + 1197218) [0x10cdb44a2]
  11  wxAppConsoleBase::ProcessPendingEvents() + 215
(libwx_osx_cocoau-3.0.0.4.0.dylib + 46999) [0x10cc9b797]
  11  wxEvtHandler::ProcessPendingEvents() + 478
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1407614) [0x10cde7a7e]
  11  wxEvtHandler::ProcessEvent(wxEvent&) + 100
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408580) [0x10cde7e44]
  11  wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408973) [0x10cde7fcd]
  11  wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1403567) [0x10cde6aaf]
  11  EDA_3D_CANVAS::OnPaint(wxPaintEvent&) + 1678 (_pcbnew.kiface +
10970254) [0x111da848e]
  11  C3D_RENDER_OGL_LEGACY::Redraw(bool, REPORTER*) + 435 (_pcbnew.kiface
+ 11081763) [0x111dc3823]
  11  C3D_RENDER_OGL_LEGACY::reload(REPORTER*) + 10200 (_pcbnew.kiface +
11042376) [0x111db9e48]
  11  CLAYER_TRIANGLES::AddToMiddleContourns(SHAPE_POLY_SET const&, float,
float, double, bool) + 147 (_pcbnew.kiface + 11129187) [0x111dcf163]
  11  wxOnAssert(char const*, int, char const*, char const*, char const*) +
130 (libwx_osx_cocoau-3.0.0.4.0.dylib + 46162) [0x10cc9b452]
  11  wxDefaultAssertHandler(wxString const&, int, wxString const&,
wxString const&, wxString const&) + 340 (libwx_osx_cocoau-3.0.0.4.0.dylib +
56852) [0x10cc9de14]
  11  wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t
const*, wchar_t const*, wchar_t const*) + 145
(libwx_osx_cocoau-3.0.0.4.0.dylib + 52785) [0x10cc9ce31]
  11  ShowAssertDialog(wxString const&, int, wxString const&, wxString
const&, wxString const&, wxAppTraits*) + 774
(libwx_osx_cocoau-3.0.0.4.0.dylib + 54054) [0x10cc9d326]
  11  wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) + 266
(libwx_osx_cocoau-3.0.0.4.0.dylib + 2496314) [0x10cef173a]
  11  wxMessageBox(wxString const&, wxString const&, long, wxWindow*, int,
int) + 90 (libwx_osx_cocoau-3.0.0.4.0.dylib + 1461930) [0x10cdf4eaa]
  11  wxMessageDialog::ShowModal() + 425 (libwx_osx_cocoau-3.0.0.4.0.dylib
+ 2371561) [0x10ced2fe9]
  11  -[NSAlert runModal] + 122 (AppKit + 3971861) [0x7fff45e7fb15]
  11  _NSTryRunModal + 70 (AppKit + 2508194) [0x7fff45d1a5a2]
  11  CA::Transaction::commit() + 186 (QuartzCore + 7034) [0x7fff53523b7a]
  11  CA::Transaction::run_commit_handlers(CATransactionPhase) + 49
(QuartzCore + 8627) [0x7fff535241b3]
  11  NSDisplayCycleFlush + 1073 (AppKit + 1176795) [0x7fff45bd54db]
  11  NSDisplayCycleObserverInvoke + 170 (AppKit + 1177958)
[0x7fff45bd5966]
  11  __NSWindowGetDisplayCycleObserverForDisplay_block_invoke + 722
(AppKit + 1198175) [0x7fff45bda85f]
  11  -[NSWindow displayIfNeeded] + 283 (AppKit + 1198624) [0x7fff45bdaa20]
  11  -[NSView displayIfNeeded] + 1300 (AppKit + 1211526) [0x7fff45bddc86]
  11  -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 253
(AppKit + 1224857) [0x7fff45be1099]
  11  -[NSView
_oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] +
1887 (AppKit + 1227354) [0x7fff45be1a5a]
  11  -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 65 (AppKit + 1237288) [0x7fff45be4128]
  11  -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 938 (AppKit + 1238264) [0x7fff45be44f8]
  11  -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2622
(AppKit + 1247417) [0x7fff45be68b9]
  11  -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2622
(AppKit + 1247417) [0x7fff45be68b9]
  11  -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1400
(AppKit + 1246195) [0x7fff45be63f3]
  11  -[NSView _drawRect:clip:] + 1745 (AppKit + 1250642) [0x7fff45be7552]
  11  _NSViewDrawRect + 66 (AppKit + 1337173) [0x7fff45bfc755]
  11  wxOSX_drawRect(NSView*, objc_selector*, CGRect) + 86
(libwx_osx_cocoau-3.0.0.4.0.dylib + 2454470) [0x10cee73c6]
  11  wxWidgetCocoaImpl::drawRect(void*, NSView*, void*) + 795
(libwx_osx_cocoau-3.0.0.4.0.dylib + 2460107) [0x10cee89cb]
  11  wxWindow::MacDoRedraw(long) + 774 (libwx_osx_cocoau-3.0.0.4.0.dylib +
1652742) [0x10ce23806]
  11  wxEvtHandler::SafelyProcessEvent(wxEvent&) + 12
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1409740) [0x10cde82cc]
  11  wxEvtHandler::ProcessEvent(wxEvent&) + 100
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408580) [0x10cde7e44]
  11  wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408973) [0x10cde7fcd]
  11  wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1403567) [0x10cde6aaf]
  11  EDA_3D_CANVAS::OnPaint(wxPaintEvent&) + 710 (_pcbnew.kiface +
10969286) [0x111da80c6]
  11  GL_CONTEXT_MANAGER::LockCtx(wxGLContext*, wxGLCanvas*) + 198
(_pcbnew.kiface + 18696982) [0x112506b16]
  11  boost::interprocess::interprocess_mutex::lock() + 21 (_pcbnew.kiface
+ 6556773) [0x111972c65]
  11  boost::interprocess::ipcdetail::spin_mutex::lock() + 21
(_pcbnew.kiface + 6556805) [0x111972c85]
  11  void
boost::interprocess::ipcdetail::try_based_lock<boost::interprocess::ipcdetail::spin_mutex>(boost::interprocess::ipcdetail::spin_mutex&)
+ 74 (_pcbnew.kiface + 6556890) [0x111972cda]
  10  boost::interprocess::spin_wait::yield() + 144 (_pcbnew.kiface +
6557200) [0x111972e10]
  10  boost::interprocess::ipcdetail::thread_sleep_tick() + 42
(_pcbnew.kiface + 6557706) [0x11197300a]
  10  __semwait_signal + 10 (libsystem_kernel.dylib + 18550)
[0x7fff75895876]
 *10  semaphore_wait_continue + 0 (kernel + 1915920) [0xffffff80003d3c10]


Process:         pcbnew [657]
UUID:            DA7D51BB-81EF-3CE7-9D56-72296AAD2A34
Path:
/Applications/KiCad/kicad.app/Contents/Applications/pcbnew.app/Contents/MacOS/pcbnew
Architecture:    x86_64
Parent:          kicad [654]
Responsible:     kicad [654]
UID:             501
Footprint:       716.87 MB
Start time:      2018-11-12 17:12:49 +0200
End time:        2018-11-12 17:12:50 +0200
Num samples:     11 (1-11)
CPU Time:        0.009s (13.3M cycles, 3.4M instructions, 3.94c/i)
Note:            Unresponsive for 57 seconds before sampling
Note:            1 idle work queue thread omitted

  Thread 0x27df             DispatchQueue 1           11 samples (1-11)
priority 0-46 (base 46)   cpu time 0.004s (6.0M cycles, 1056.9K
instructions, 5.64c/i)
  <thread QoS user interactive (requested user interactive), process
unclamped, process received importance donation from WindowServer [178], IO
tier 0, priority 0 (46)>
  11  start + 1 (libdyld.dylib + 94349) [0x7fff7575908d] 1-11
    11  main + 38 (pcbnew + 20038) [0x10cb30e46] 1-11
      11  wxEntry(int&, wchar_t**) + 58 (libwx_osx_cocoau-3.0.0.4.0.dylib +
605242) [0x10cd23c3a] 1-11
        11  APP_SINGLE_TOP::OnRun() + 31 (pcbnew + 39055) [0x10cb3588f]
1-11
          11  wxApp::OnRun() + 26 (libwx_osx_cocoau-3.0.0.4.0.dylib +
1899066) [0x10ce5fa3a] 1-11
            11  wxAppConsoleBase::MainLoop() + 99
(libwx_osx_cocoau-3.0.0.4.0.dylib + 43875) [0x10cc9ab63] 1-11
              11  wxEventLoopBase::Run() + 162
(libwx_osx_cocoau-3.0.0.4.0.dylib + 326498) [0x10ccdfb62] 1-11
                11  wxCFEventLoop::DoRun() + 49
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1199601) [0x10cdb4df1] 1-11
                  11  wxGUIEventLoop::OSXDoRun() + 174
(libwx_osx_cocoau-3.0.0.4.0.dylib + 2337886) [0x10cecac5e] 1-11
                    11  -[NSApplication run] + 699 (AppKit + 81081)
[0x7fff45ac9cb9] 1-11
                      11  -[NSApplication(NSEvent)
_nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362 (AppKit +
105558) [0x7fff45acfc56] 1-11
                        11  _DPSNextEvent + 997 (AppKit + 110263)
[0x7fff45ad0eb7] 1-11
                          11
_BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 42472)
[0x7fff478145e8] 1-11
                            11  ReceiveNextEventCommon + 371 (HIToolbox +
42868) [0x7fff47814774] 1-11
                              11  RunCurrentEventLoopInMode + 293
(HIToolbox + 43829) [0x7fff47814b35] 1-11
                                11  CFRunLoopRunSpecific + 463
(CoreFoundation + 240168) [0x7fff4857ba28] 1-11
                                  11  __CFRunLoopRun + 1166 (CoreFoundation
+ 241929) [0x7fff4857c109] 1-11
                                    11  __CFRunLoopDoObservers + 452
(CoreFoundation + 628194) [0x7fff485da5e2] 1-11
                                      11
__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
(CoreFoundation + 628397) [0x7fff485da6ad] 1-11
                                        11
wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int,
void*) + 66 (libwx_osx_cocoau-3.0.0.4.0.dylib + 1197218) [0x10cdb44a2] 1-11
                                          11
wxAppConsoleBase::ProcessPendingEvents() + 215
(libwx_osx_cocoau-3.0.0.4.0.dylib + 46999) [0x10cc9b797] 1-11
                                            11
wxEvtHandler::ProcessPendingEvents() + 478
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1407614) [0x10cde7a7e] 1-11
                                              11
wxEvtHandler::ProcessEvent(wxEvent&) + 100
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408580) [0x10cde7e44] 1-11
                                                11
wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408973) [0x10cde7fcd] 1-11
                                                  11
wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1403567) [0x10cde6aaf] 1-11
                                                    11
EDA_3D_CANVAS::OnPaint(wxPaintEvent&) + 1678 (_pcbnew.kiface + 10970254)
[0x111da848e] 1-11
                                                      11
C3D_RENDER_OGL_LEGACY::Redraw(bool, REPORTER*) + 435 (_pcbnew.kiface +
11081763) [0x111dc3823] 1-11
                                                        11
C3D_RENDER_OGL_LEGACY::reload(REPORTER*) + 10200 (_pcbnew.kiface +
11042376) [0x111db9e48] 1-11
                                                          11
CLAYER_TRIANGLES::AddToMiddleContourns(SHAPE_POLY_SET const&, float, float,
double, bool) + 147 (_pcbnew.kiface + 11129187) [0x111dcf163] 1-11
                                                            11
wxOnAssert(char const*, int, char const*, char const*, char const*) + 130
(libwx_osx_cocoau-3.0.0.4.0.dylib + 46162) [0x10cc9b452] 1-11
                                                              11
wxDefaultAssertHandler(wxString const&, int, wxString const&, wxString
const&, wxString const&) + 340 (libwx_osx_cocoau-3.0.0.4.0.dylib + 56852)
[0x10cc9de14] 1-11
                                                                11
wxAppConsoleBase::OnAssertFailure(wchar_t const*, int, wchar_t const*,
wchar_t const*, wchar_t const*) + 145 (libwx_osx_cocoau-3.0.0.4.0.dylib +
52785) [0x10cc9ce31] 1-11
                                                                  11
ShowAssertDialog(wxString const&, int, wxString const&, wxString const&,
wxString const&, wxAppTraits*) + 774 (libwx_osx_cocoau-3.0.0.4.0.dylib +
54054) [0x10cc9d326] 1-11
                                                                    11
wxGUIAppTraitsBase::ShowAssertDialog(wxString const&) + 266
(libwx_osx_cocoau-3.0.0.4.0.dylib + 2496314) [0x10cef173a] 1-11
                                                                      11
wxMessageBox(wxString const&, wxString const&, long, wxWindow*, int, int) +
90 (libwx_osx_cocoau-3.0.0.4.0.dylib + 1461930) [0x10cdf4eaa] 1-11
                                                                        11
wxMessageDialog::ShowModal() + 425 (libwx_osx_cocoau-3.0.0.4.0.dylib +
2371561) [0x10ced2fe9] 1-11
11  -[NSAlert runModal] + 122 (AppKit + 3971861) [0x7fff45e7fb15] 1-11
11  _NSTryRunModal + 70 (AppKit + 2508194) [0x7fff45d1a5a2] 1-11
11  CA::Transaction::commit() + 186 (QuartzCore + 7034) [0x7fff53523b7a]
1-11
11  CA::Transaction::run_commit_handlers(CATransactionPhase) + 49
(QuartzCore + 8627) [0x7fff535241b3] 1-11
11  NSDisplayCycleFlush + 1073 (AppKit + 1176795) [0x7fff45bd54db] 1-11
11  NSDisplayCycleObserverInvoke + 170 (AppKit + 1177958) [0x7fff45bd5966]
1-11
11  __NSWindowGetDisplayCycleObserverForDisplay_block_invoke + 722 (AppKit
+ 1198175) [0x7fff45bda85f] 1-11
11  -[NSWindow displayIfNeeded] + 283 (AppKit + 1198624) [0x7fff45bdaa20]
1-11
11  -[NSView displayIfNeeded] + 1300 (AppKit + 1211526) [0x7fff45bddc86]
1-11
11  -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 253
(AppKit + 1224857) [0x7fff45be1099] 1-11
11  -[NSView
_oldDisplayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] +
1887 (AppKit + 1227354) [0x7fff45be1a5a] 1-11
11  -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 65 (AppKit + 1237288) [0x7fff45be4128] 1-11
11  -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
+ 938 (AppKit + 1238264) [0x7fff45be44f8] 1-11
11  -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2622
(AppKit + 1247417) [0x7fff45be68b9] 1-11
11  -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2622
(AppKit + 1247417) [0x7fff45be68b9] 1-11
11  -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1400
(AppKit + 1246195) [0x7fff45be63f3] 1-11
11  -[NSView _drawRect:clip:] + 1745 (AppKit + 1250642) [0x7fff45be7552]
1-11
11  _NSViewDrawRect + 66 (AppKit + 1337173) [0x7fff45bfc755] 1-11
11  wxOSX_drawRect(NSView*, objc_selector*, CGRect) + 86
(libwx_osx_cocoau-3.0.0.4.0.dylib + 2454470) [0x10cee73c6] 1-11
11  wxWidgetCocoaImpl::drawRect(void*, NSView*, void*) + 795
(libwx_osx_cocoau-3.0.0.4.0.dylib + 2460107) [0x10cee89cb] 1-11
11  wxWindow::MacDoRedraw(long) + 774 (libwx_osx_cocoau-3.0.0.4.0.dylib +
1652742) [0x10ce23806] 1-11
11  wxEvtHandler::SafelyProcessEvent(wxEvent&) + 12
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1409740) [0x10cde82cc] 1-11
11  wxEvtHandler::ProcessEvent(wxEvent&) + 100
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408580) [0x10cde7e44] 1-11
11  wxEvtHandler::ProcessEventLocally(wxEvent&) + 93
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1408973) [0x10cde7fcd] 1-11
11  wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) + 239
(libwx_osx_cocoau-3.0.0.4.0.dylib + 1403567) [0x10cde6aaf] 1-11
11  EDA_3D_CANVAS::OnPaint(wxPaintEvent&) + 710 (_pcbnew.kiface + 10969286)
[0x111da80c6] 1-11
11  GL_CONTEXT_MANAGER::LockCtx(wxGLContext*, wxGLCanvas*) + 198
(_pcbnew.kiface + 18696982) [0x112506b16] 1-11
11  boost::interprocess::interprocess_mutex::lock() + 21 (_pcbnew.kiface +
6556773) [0x111972c65] 1-11
11  boost::interprocess::ipcdetail::spin_mutex::lock() + 21 (_pcbnew.kiface
+ 6556805) [0x111972c85] 1-11
11  void
boost::interprocess::ipcdetail::try_based_lock<boost::interprocess::ipcdetail::spin_mutex>(boost::interprocess::ipcdetail::spin_mutex&)
+ 74 (_pcbnew.kiface + 6556890) [0x111972cda] 1-11
1   boost::interprocess::spin_wait::yield() + 134 (_pcbnew.kiface +
6557190) [0x111972e06] 1
1   boost::interprocess::ipcdetail::thread_yield() + 13 (_pcbnew.kiface +
6557645) [0x111972fcd] 1
1   swtch_pri + 10 (libsystem_kernel.dylib + 3378) [0x7fff75891d32] 1
*1   ??? (kernel + 1918816) [0xffffff80003d4760] (runnable) 1
  <priority 46 (46)>
10  boost::interprocess::spin_wait::yield() + 144 (_pcbnew.kiface +
6557200) [0x111972e10] 2-11
10  boost::interprocess::ipcdetail::thread_sleep_tick() + 42
(_pcbnew.kiface + 6557706) [0x11197300a] 2-11
10  __semwait_signal + 10 (libsystem_kernel.dylib + 18550) [0x7fff75895876]
2-11
*10  semaphore_wait_continue + 0 (kernel + 1915920) [0xffffff80003d3c10]
2-11

  Thread 0x27f5             Thread name "com.apple.NSEventThread"
11 samples (1-11)         priority 46 (base 46)     cpu time 0.005s (7.3M
cycles, 2.3M instructions, 3.17c/i)
  <thread QoS user interactive (requested user interactive), process
unclamped, process received importance donation from WindowServer [178], IO
tier 0>
  11  thread_start + 13 (libsystem_pthread.dylib + 9285) [0x7fff7594a445]
1-11
    11  _pthread_start + 70 (libsystem_pthread.dylib + 25255)
[0x7fff7594e2a7] 1-11
      11  _pthread_body + 126 (libsystem_pthread.dylib + 13113)
[0x7fff7594b339] 1-11
        11  _NSEventThread + 160 (AppKit + 146141) [0x7fff45ad9add] 1-11
          11  CFRunLoopRunSpecific + 463 (CoreFoundation + 240168)
[0x7fff4857ba28] 1-11
            11  __CFRunLoopRun + 1654 (CoreFoundation + 242417)
[0x7fff4857c2f1] 1-11
              11  __CFRunLoopServiceMachPort + 337 (CoreFoundation +
245154) [0x7fff4857cda2] 1-11
                11  mach_msg_trap + 10 (libsystem_kernel.dylib + 3114)
[0x7fff75891c2a] 1-11
                 *11  ipc_mqueue_receive_continue + 0 (kernel + 1642960)
[0xffffff80003911d0] 1-11

  Thread 0x2810             Thread name "com.apple.CFSocket.private"
11 samples (1-11)         priority 46 (base 46)
  <thread QoS user interactive (requested user interactive), process
unclamped, process received importance donation from WindowServer [178], IO
tier 0>
  11  thread_start + 13 (libsystem_pthread.dylib + 9285) [0x7fff7594a445]
1-11
    11  _pthread_start + 70 (libsystem_pthread.dylib + 25255)
[0x7fff7594e2a7] 1-11
      11  _pthread_body + 126 (libsystem_pthread.dylib + 13113)
[0x7fff7594b339] 1-11
        11  __select + 10 (libsystem_kernel.dylib + 32386) [0x7fff75898e82]
1-11
         *11  ??? (kernel + 7162736) [0xffffff80008d4b70] 1-11

  Binary Images:
           0x10cb2c000 -        0x10cbdbfff  org.kicad-pcb.pcbnew  ()
<DA7D51BB-81EF-3CE7-9D56-72296AAD2A34>
/Applications/KiCad/kicad.app/Contents/Applications/pcbnew.app/Contents/MacOS/pcbnew
           0x10cc90000 -        0x10d7c1fff
libwx_osx_cocoau-3.0.0.4.0.dylib (0)
<C36490A9-F9E3-3B7D-A36B-3168595C0DCE>
/Applications/KiCad/kicad.app/Contents/Frameworks/libwx_osx_cocoau-3.0.0.4.0.dylib
           0x111332000 -        0x112a47fff  _pcbnew.kiface (0)
<E3CD0EC7-4060-3070-96C7-F90EAA33FFBA>
/Applications/KiCad/kicad.app/Contents/PlugIns/_pcbnew.kiface
        0x7fff45ab6000 -     0x7fff468d6fff  com.apple.AppKit 6.9
(1671.10.106)     <179A5F4A-6467-31BD-93F2-CC27E046221E>
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff4780a000 -     0x7fff47b11fff  com.apple.HIToolbox 2.1.1
(917.2)      <0B91F11C-0895-3A7B-9A3B-2B6B1267EA1A>
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
        0x7fff48541000 -     0x7fff4898efff  com.apple.CoreFoundation 6.9
(1560.12) <B5BDC307-6C89-3DE0-B4B9-4C2C650E4528>
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff53522000 -     0x7fff5377afff  com.apple.QuartzCore 1.11
(694.22.4.1) <1F5A49A9-370C-311B-B67C-DEA6DF6D2983>
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7fff75742000 -     0x7fff75771fff  libdyld.dylib (635.2)
<1B79A5CE-125F-301F-A441-C1869573AED0>  /usr/lib/system/libdyld.dylib
        0x7fff75891000 -     0x7fff758b8fff  libsystem_kernel.dylib
(4903.221.2)    <0E882078-7330-3B49-AA5D-3CDB5645A4E5>
/usr/lib/system/libsystem_kernel.dylib
        0x7fff75948000 -     0x7fff75952fff  libsystem_pthread.dylib
(330.220.2)    <4958273C-4273-3501-8137-E44249E10D9C>
/usr/lib/system/libsystem_pthread.dylib
   *0xffffff8000200000 - 0xffffff8000bfffff  kernel (4903.221.2)
<5D53F7E4-472A-369D-97D8-4DD877A4BDFF>  /System/Library/Kernels/kernel
```

Story points: 6.0