EESchema beachballing on OS X

I’m now seeing EESchema go straight to a beach ball on OS X and never come back. I have to Force Quit to recover.

This happens if I open EESchema directly or if I load EESchema from KiCAD.

This is particularly frustrating as EESchema WAS working. I even cleared it off the machine, rebooted and reinstalled–still dead.

Traceback:

`Date/Time: 2020-03-04 17:48:31 -0800
End time: 2020-03-04 17:48:33 -0800
OS Version: Mac OS X 10.14.6 (Build 18G103)
Architecture: x86_64h
Report Version: 28

Data Source: Stackshots
Shared Cache: 0xfc000 834CA626-438F-3F68-A653-36075571210D

Command: eeschema
Path: /private/var/folders/*/kicad.app/Contents/Applications/eeschema.app/Contents/MacOS/eeschema
Identifier: org.kicad-pcb.eeschema
Version: 5.1.5 ()
Parent: launchd [1]
PID: 1356
Note: Translocated

Event: hang
Duration: 2.10s (process was unresponsive for 318 seconds before sampling)
Steps: 21 (100ms sampling interval)

Hardware model: MacBookPro12,1
Active cpus: 4

Time Awake Since Boot: 6300s

Fan speed: 4714 rpm


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:
21 start + 1 (libdyld.dylib + 91093) [0x7fff57a293d5]
21 main + 48 (eeschema + 17808) [0x10b236590]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 480266) [0x10b35f40a]
21 APP_SINGLE_TOP::OnRun() + 25 (eeschema + 24553) [0x10b237fe9]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1624378) [0x10b47693a]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 42083) [0x10b2f4463]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 244594) [0x10b325b72]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 975121) [0x10b3d8111]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 2045486) [0x10b4dd62e]
21 -[NSApplication run] + 699 (AppKit + 79240) [0x7fff2909e588]
21 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 (AppKit + 103531) [0x7fff290a446b]
21 _DPSNextEvent + 1135 (AppKit + 108413) [0x7fff290a577d]
21 _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 44150) [0x7fff2ad0cc76]
21 ReceiveNextEventCommon + 355 (HIToolbox + 44525) [0x7fff2ad0cded]
21 RunCurrentEventLoopInMode + 292 (HIToolbox + 45483) [0x7fff2ad0d1ab]
21 CFRunLoopRunSpecific + 455 (CoreFoundation + 239134) [0x7fff2baae61e]
21 __CFRunLoopRun + 1136 (CoreFoundation + 240864) [0x7fff2baaece0]
21 __CFRunLoopDoObservers + 451 (CoreFoundation + 624061) [0x7fff2bb0c5bd]
21 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23 (CoreFoundation + 624264) [0x7fff2bb0c688]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 972738) [0x10b3d77c2]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 45095) [0x10b2f5027]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1160574) [0x10b40557e]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1161428) [0x10b4058d4]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1161821) [0x10b405a5d]
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1156639) [0x10b40461f]
21 ??? (_eeschema.kiface + 4277350) [0x10fdd5466]
21 ??? (_eeschema.kiface + 4348772) [0x10fde6b64]
21 ??? (libwx_osx_cocoau_gl-3.0.0.4.0.dylib + 28845) [0x10b2d50ad]
21 -[NSOpenGLContext flushBuffer] + 27 (AppKit + 4024680) [0x7fff29461968]
21 CGLFlushDrawable + 59 (OpenGL + 55119) [0x7fff3571274f]
21 glSwap_Exec + 97 (GLEngine + 112145) [0x7fff35730611]
21 gldPresentFramebufferData + 120 (AppleIntelBDWGraphicsGLDriver + 603418) [0x7fff2309751a]
21 intelSubmitCommands + 171 (AppleIntelBDWGraphicsGLDriver + 51210) [0x7fff2301080a]
21 IntelCommandBuffer::getNew(GLDContextRec*) + 48 (AppleIntelBDWGraphicsGLDriver + 51626) [0x7fff230109aa]
21 gpusSubmitDataBuffers + 136 (libGPUSupportMercury.dylib + 13774) [0x7fff46b175ce]
21 IOAccelContextSubmitDataBuffersExt2 + 258 (IOAccelerator + 11529) [0x7fff48e22d09]
21 IOConnectCallStructMethod + 38 (IOKit + 34219) [0x7fff2e3b75ab]
21 IOConnectCallMethod + 244 (IOKit + 32117) [0x7fff2e3b6d75]
21 io_connect_method + 374 (IOKit + 32531) [0x7fff2e3b6f13]
21 mach_msg_trap + 10 (libsystem_kernel.dylib + 4650) [0x7fff57b5e22a]
*21 hndl_mach_scall64 + 22 (kernel + 1426214) [0xffffff800035c326]
*21 mach_call_munger64 + 599 (kernel + 2889703) [0xffffff80004c17e7]
*21 mach_msg_overwrite_trap + 974 (kernel + 1717182) [0xffffff80003a33be]
21 ipc_kmsg_send + 209 (kernel + 1633441) [0xffffff800038eca1]
21 ipc_kobject_server + 300 (kernel + 1785644) [0xffffff80003b3f2c]
21 ??? (kernel + 2713030) [0xffffff80004965c6]
21 is_io_connect_method + 530 (kernel + 8976530) [0xffffff8000a8f892]
21 IOUserClient::externalMethod(unsigned int, IOExternalMethodArguments, IOExternalMethodDispatch
, OSObject
, void
) + 832 (kernel + 8938832) [0xffffff8000a86550]
21 shim_io_connect_method_structureI_structureO + 460 (kernel + 8946476) [0xffffff8000a8832c]
21 IOAccelContext2::submit_data_buffers(IOAccelContextSubmitDataBuffersIn, IOAccelContextSubmitDataBuffersOut
, unsigned long long, unsigned long long
) + 1224 (IOAcceleratorFamily2 + 22024) [0xffffff7f82cb2608]
*21 IGAccelGLContext::processDataBuffers(unsigned int) + 272 (AppleIntelBDWGraphics + 279162) [0xffffff7f8316d27a]
*21 IOAccelGLContext2::processDataBuffers(unsigned int) + 173 (IOAcceleratorFamily2 + 59839) [0xffffff7f82cbb9bf]
*21 lck_mtx_sleep + 128 (kernel + 1829344) [0xffffff80003be9e0]
*21 thread_block_reason + 175 (kernel + 1880671) [0xffffff80003cb25f]
*21 ??? (kernel + 1887161) [0xffffff80003ccbb9]
*21 machine_switch_context + 195 (kernel + 2976211) [0xffffff80004d69d3]

Process: eeschema [1356]
UUID: 9B621BE5-B8FE-30C3-8149-09FF9B12920D
Path: /private/var/folders/*/kicad.app/Contents/Applications/eeschema.app/Contents/MacOS/eeschema
Architecture: x86_64
Parent: launchd [1]
UID: 501
Footprint: 205.52 MB
Start time: 2020-03-04 17:48:31 -0800
End time: 2020-03-04 17:48:33 -0800
Num samples: 21 (1-21)
CPU Time: 0.140s (374.6M cycles, 45.9M instructions, 8.16c/i)
Note: Translocated
Note: Unresponsive for 318 seconds before sampling
Note: 1 idle work queue thread omitted

Thread 0x74c1 DispatchQueue 1 21 samples (1-21) priority 46 (base 46) cpu time 0.140s (374.6M cycles, 45.9M instructions, 8.16c/i)
<thread QoS user interactive (requested user interactive), process unclamped, IO tier 0>
21 start + 1 (libdyld.dylib + 91093) [0x7fff57a293d5] 1-21
21 main + 48 (eeschema + 17808) [0x10b236590] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 480266) [0x10b35f40a] 1-21
21 APP_SINGLE_TOP::OnRun() + 25 (eeschema + 24553) [0x10b237fe9] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1624378) [0x10b47693a] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 42083) [0x10b2f4463] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 244594) [0x10b325b72] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 975121) [0x10b3d8111] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 2045486) [0x10b4dd62e] 1-21
21 -[NSApplication run] + 699 (AppKit + 79240) [0x7fff2909e588] 1-21
21 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 (AppKit + 103531) [0x7fff290a446b] 1-21
21 _DPSNextEvent + 1135 (AppKit + 108413) [0x7fff290a577d] 1-21
21 _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 44150) [0x7fff2ad0cc76] 1-21
21 ReceiveNextEventCommon + 355 (HIToolbox + 44525) [0x7fff2ad0cded] 1-21
21 RunCurrentEventLoopInMode + 292 (HIToolbox + 45483) [0x7fff2ad0d1ab] 1-21
21 CFRunLoopRunSpecific + 455 (CoreFoundation + 239134) [0x7fff2baae61e] 1-21
21 __CFRunLoopRun + 1136 (CoreFoundation + 240864) [0x7fff2baaece0] 1-21
21 __CFRunLoopDoObservers + 451 (CoreFoundation + 624061) [0x7fff2bb0c5bd] 1-21
21 CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23 (CoreFoundation + 624264) [0x7fff2bb0c688] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 972738) [0x10b3d77c2] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 45095) [0x10b2f5027] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1160574) [0x10b40557e] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1161428) [0x10b4058d4] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1161821) [0x10b405a5d] 1-21
21 ??? (libwx_osx_cocoau-3.0.0.4.0.dylib + 1156639) [0x10b40461f] 1-21
21 ??? (_eeschema.kiface + 4277350) [0x10fdd5466] 1-21
21 ??? (_eeschema.kiface + 4348772) [0x10fde6b64] 1-21
21 ??? (libwx_osx_cocoau_gl-3.0.0.4.0.dylib + 28845) [0x10b2d50ad] 1-21
21 -[NSOpenGLContext flushBuffer] + 27 (AppKit + 4024680) [0x7fff29461968] 1-21
21 CGLFlushDrawable + 59 (OpenGL + 55119) [0x7fff3571274f] 1-21
21 glSwap_Exec + 97 (GLEngine + 112145) [0x7fff35730611] 1-21
21 gldPresentFramebufferData + 120 (AppleIntelBDWGraphicsGLDriver + 603418) [0x7fff2309751a] 1-21
21 intelSubmitCommands + 171 (AppleIntelBDWGraphicsGLDriver + 51210) [0x7fff2301080a] 1-21
21 IntelCommandBuffer::getNew(GLDContextRec*) + 48 (AppleIntelBDWGraphicsGLDriver + 51626) [0x7fff230109aa] 1-21
21 gpusSubmitDataBuffers + 136 (libGPUSupportMercury.dylib + 13774) [0x7fff46b175ce] 1-21
21 IOAccelContextSubmitDataBuffersExt2 + 258 (IOAccelerator + 11529) [0x7fff48e22d09] 1-21
21 IOConnectCallStructMethod + 38 (IOKit + 34219) [0x7fff2e3b75ab] 1-21
21 IOConnectCallMethod + 244 (IOKit + 32117) [0x7fff2e3b6d75] 1-21
21 io_connect_method + 374 (IOKit + 32531) [0x7fff2e3b6f13] 1-21
21 mach_msg_trap + 10 (libsystem_kernel.dylib + 4650) [0x7fff57b5e22a] 1-21
*21 hndl_mach_scall64 + 22 (kernel + 1426214) [0xffffff800035c326] 1-21
*21 mach_call_munger64 + 599 (kernel + 2889703) [0xffffff80004c17e7] 1-21
*21 mach_msg_overwrite_trap + 974 (kernel + 1717182) [0xffffff80003a33be] 1-21
21 ipc_kmsg_send + 209 (kernel + 1633441) [0xffffff800038eca1] 1-21
21 ipc_kobject_server + 300 (kernel + 1785644) [0xffffff80003b3f2c] 1-21
21 ??? (kernel + 2713030) [0xffffff80004965c6] 1-21
21 is_io_connect_method + 530 (kernel + 8976530) [0xffffff8000a8f892] 1-21
21 IOUserClient::externalMethod(unsigned int, IOExternalMethodArguments, IOExternalMethodDispatch
, OSObject
, void
) + 832 (kernel + 8938832) [0xffffff8000a86550] 1-21
21 shim_io_connect_method_structureI_structureO + 460 (kernel + 8946476) [0xffffff8000a8832c] 1-21
21 IOAccelContext2::submit_data_buffers(IOAccelContextSubmitDataBuffersIn, IOAccelContextSubmitDataBuffersOut
, unsigned long long, unsigned long long
) + 1224 (IOAcceleratorFamily2 + 22024) [0xffffff7f82cb2608] 1-21
*21 IGAccelGLContext::processDataBuffers(unsigned int) + 272 (AppleIntelBDWGraphics + 279162) [0xffffff7f8316d27a] 1-21
*21 IOAccelGLContext2::processDataBuffers(unsigned int) + 173 (IOAcceleratorFamily2 + 59839) [0xffffff7f82cbb9bf] 1-21
*21 lck_mtx_sleep + 128 (kernel + 1829344) [0xffffff80003be9e0] 1-21
*21 thread_block_reason + 175 (kernel + 1880671) [0xffffff80003cb25f] 1-21
*21 ??? (kernel + 1887161) [0xffffff80003ccbb9] 1-21
*21 machine_switch_context + 195 (kernel + 2976211) [0xffffff80004d69d3] 1-21

Thread 0x751a Thread name “com.apple.CFSocket.private” 21 samples (1-21) priority 46 (base 46)
<thread QoS user interactive (requested user interactive), process unclamped, IO tier 0>
21 thread_start + 13 (libsystem_pthread.dylib + 9229) [0x7fff57c1c40d] 1-21
21 _pthread_start + 66 (libsystem_pthread.dylib + 25161) [0x7fff57c20249] 1-21
21 _pthread_body + 126 (libsystem_pthread.dylib + 13035) [0x7fff57c1d2eb] 1-21
21 __select + 10 (libsystem_kernel.dylib + 34330) [0x7fff57b6561a] 1-21
*21 ??? (kernel + 7179408) [0xffffff80008d8c90] 1-21

Binary Images:
0x10b232000 - 0x10b29afff org.kicad-pcb.eeschema 5.1.5 () <9B621BE5-B8FE-30C3-8149-09FF9B12920D> /private/var/folders//kicad.app/Contents/Applications/eeschema.app/Contents/MacOS/eeschema
0x10b2ce000 - ??? libwx_osx_cocoau_gl-3.0.0.4.0.dylib /private/var/folders/
/kicad.app/Contents/Frameworks/libwx_osx_cocoau_gl-3.0.0.4.0.dylib
0x10b2ea000 - ??? libwx_osx_cocoau-3.0.0.4.0.dylib /private/var/folders//kicad.app/Contents/Frameworks/libwx_osx_cocoau-3.0.0.4.0.dylib
0x10f9c1000 - ??? _eeschema.kiface /private/var/folders/
/kicad.app/Contents/PlugIns/_eeschema.kiface
0x7fff23004000 - 0x7fff23508fff com.apple.driver.AppleIntelBDWGraphicsGLDriver 12.10.12 (12.1.0) <04C08D0A-B7C7-36AA-8667-D659C9464933> /System/Library/Extensions/AppleIntelBDWGraphicsGLDriver.bundle/Contents/MacOS/AppleIntelBDWGraphicsGLDriver
0x7fff2908b000 - 0x7fff29e40fff com.apple.AppKit 6.9 (1671.60.109) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff2ad02000 - 0x7fff2aff9fff com.apple.HIToolbox 2.1.1 (918.7) <13F69D4C-D19F-3E09-9231-1978D783A556> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff2ba74000 - 0x7fff2beb9fff com.apple.CoreFoundation 6.9 (1575.22) <51040EEE-7C5D-3433-A271-86B47B0562BF> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff2e3af000 - 0x7fff2e43efff com.apple.framework.IOKit 2.0.2 (1483.260.4) <8A90F547-86EF-3DFB-92FE-0E2C0376DD84> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff35705000 - 0x7fff35714fff com.apple.opengl 17.7.3 (17.7.3) <94B5CF34-5BD6-3652-9A8C-E9C56E0A9FB4> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff35715000 - 0x7fff358acfff GLEngine (17.7.3) /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
0x7fff46b14000 - 0x7fff46b1ffff libGPUSupportMercury.dylib (17.7.3) <36E3C5B1-15EB-3713-BC3A-31A3B074DD24> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib
0x7fff48e20000 - 0x7fff48e27fff com.apple.IOAccelerator 404.14 (404.14) <11A50171-C8AE-3BBC-9FB9-2A3313FFBD31> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
0x7fff57a13000 - 0x7fff57a3ffff libdyld.dylib (655.1.1) <002418CC-AD11-3D10-865B-015591D24E6C> /usr/lib/system/libdyld.dylib
0x7fff57b5d000 - 0x7fff57b85fff libsystem_kernel.dylib (4903.271.2) /usr/lib/system/libsystem_kernel.dylib
0x7fff57c1a000 - 0x7fff57c24fff libsystem_pthread.dylib (330.250.2) <2D5C08FF-484F-3D59-9132-CE1DCB3F76D7> /usr/lib/system/libsystem_pthread.dylib
*0xffffff7f82cad000 - 0xffffff7f82d06fff com.apple.iokit.IOAcceleratorFamily2 404.14 (404.14) <618B24B5-1387-31FD-A7F7-53283E2C3FEA> /System/Library/Extensions/IOAcceleratorFamily2.kext/Contents/MacOS/IOAcceleratorFamily2
*0xffffff7f83129000 - 0xffffff7f831a6fff com.apple.driver.AppleIntelBDWGraphics 12.10.12 (12.1.0) /System/Library/Extensions/AppleIntelBDWGraphics.kext/Contents/MacOS/AppleIntelBDWGraphics
*0xffffff8000200000 - 0xffffff8000bfffff kernel (4903.271.2) /System/Library/Kernels/kernel

`

Try renaming ~/Library/Preferences/kicad/eeschema to something else and see if that helps.

Yeah, it’s probably this: EESchema hanging on boot. constant loading icon on MacOS (solved)

1 Like

Confirmed. It’s this bug:

Deleting the SchematicFrame<*> lines from ~/Library/Preferences/kicad/eeschema cleared the problem.

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