spesmilo / electrum

Electrum Bitcoin Wallet
https://electrum.org
MIT License
7.35k stars 3.06k forks source link

Electrum won't open on MacOS Big Sur (macOS 11, OSX 10.16, does not start) #6461

Closed Token00 closed 3 years ago

Token00 commented 4 years ago

Tried running Electrum 4.0.2 on MacOS Big Sur Beta 3 today.

If you start it, it's in the dock but no window opens. Right-click on the dock icon reveals "Application not responding". It's also permanently at 100% CPU in Activity Monitor. But even after an hour of waiting nothing happens.

DocSnyd3r commented 4 years ago

Added some infos here stracktrace sent to developer...

https://www.reddit.com/r/Electrum/comments/i6j3nr/macos_big_sur_wont_start/

lcges commented 4 years ago

Is there any work in progress with this issues?

beardo01 commented 4 years ago

Also encountering this issue. Please let me know if I can be of assistance in providing any logs etc.

SomberNight commented 4 years ago

I suspect this is most likely due to problems upstream, with PyInstaller, or maybe even Python itself.

For the time being, consider running from source.

lcges commented 4 years ago

I paste a log from the console, maybe it will help:

long log ``` Date/Time: 2020-09-01 14:57:24.959 +0200 End time: 2020-09-01 14:58:57.639 +0200 OS Version: macOS 11.0 (Build 20A5354i) Architecture: x86_64h Report Version: 32 Incident Identifier: 02468DCC-98F3-4661-9B9D-A09455ADFB9D Share With Devs: Yes Data Source: Microstackshots Shared Cache: 32BF95DD-36BE-329E-A7B7-8912C01F246B slid base address 0x7fff24629000, slide 0x4629000 Command: run_electrum Path: /Applications/Electrum.app/Contents/MacOS/run_electrum Identifier: Electrum Version: 4.0.2 (???) Parent: UNKNOWN [1] PID: 25128 Event: cpu usage Action taken: none CPU: 90 seconds cpu time over 93 seconds (97% cpu average), exceeding limit of 50% cpu over 180 seconds CPU limit: 90s Limit duration: 180s CPU used: 90s CPU duration: 93s Duration: 92.68s Duration Sampled: 90.35s Steps: 43 Hardware model: MacBookPro15,1 Active cpus: 16 Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev Fan speed: 5938 rpm Heaviest stack for the target process: 43 ??? (run_electrum + 2932) [0x105c29b74] 43 ??? (run_electrum + 9242) [0x105c2b41a] 43 ??? (run_electrum + 7785) [0x105c2ae69] 43 PyEval_EvalCode + 48 (Python + 978800) [0x106347f70] 43 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27230 (Python + 1006190) [0x10634ea6e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 42 _PyEval_EvalFrameDefault + 27230 (Python + 1006190) [0x10634ea6e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 1444 (Python + 980404) [0x1063485b4] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27808 (Python + 1006768) [0x10634ecb0] 42 _PyFunction_FastCallDict + 455 (Python + 141463) [0x10627b897] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27230 (Python + 1006190) [0x10634ea6e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 42 _PyEval_EvalFrameDefault + 1444 (Python + 980404) [0x1063485b4] 42 call_function + 773 (Python + 1019941) [0x106352025] 42 _PyObject_FastCallKeywords + 575 (Python + 142335) [0x10627bbff] 42 type_call + 292 (Python + 472180) [0x1062cc474] 42 slot_tp_init + 175 (Python + 490831) [0x1062d0d4f] 42 _PyObject_Call_Prepend + 131 (Python + 146947) [0x10627ce03] 42 _PyFunction_FastCallDict + 455 (Python + 141463) [0x10627b897] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27262 (Python + 1006222) [0x10634ea8e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 42 _PyEval_EvalFrameDefault + 27262 (Python + 1006222) [0x10634ea8e] 42 call_function + 656 (Python + 1019824) [0x106351fb0] 42 _PyCFunction_FastCallKeywords + 41 (Python + 142809) [0x10627bdd9] 42 _PyMethodDef_RawFastCallKeywords + 722 (Python + 146178) [0x10627cb02] 42 meth_QCoreApplication_processEvents(_object*, _object*, _object*) + 141 (QtCore.abi3.so + 1011501) [0x10c347f2d] 42 QCoreApplication::processEvents(QFlags) + 39 (QtCore + 2055911) [0x10a0a3ee7] 42 QCocoaEventDispatcher::processEvents(QFlags) + 581 (libqcocoa.dylib + 228869) [0x10d571e05] 42 -[NSApplication run] + 586 (AppKit + 194248) [0x7fff280836c8] 42 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 (AppKit + 250069) [0x7fff280910d5] 42 _DPSNextEvent + 879 (AppKit + 256169) [0x7fff280928a9] 42 _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 204879) [0x7fff29b8b04f] 42 ReceiveNextEventCommon + 283 (HIToolbox + 205186) [0x7fff29b8b182] 42 RunCurrentEventLoopInMode + 292 (HIToolbox + 206128) [0x7fff29b8b530] 42 CFRunLoopRunSpecific + 563 (CoreFoundation + 520702) [0x7fff2b2c31fe] 42 __CFRunLoopRun + 838 (CoreFoundation + 523309) [0x7fff2b2c3c2d] 42 __CFRunLoopDoObservers + 549 (CoreFoundation + 526205) [0x7fff2b2c477d] 42 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 526560) [0x7fff2b2c48e0] 42 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41 (AppKit + 9420005) [0x7fff2894fce5] 42 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 266 (AppKit + 1849544) [0x7fff282178c8] 42 CA::Transaction::commit() + 783 (QuartzCore + 11585) [0x7fff35949d41] 42 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 517 (QuartzCore + 1433747) [0x7fff35aa5093] 42 CA::Layer::display_if_needed(CA::Transaction*) + 874 (QuartzCore + 152000) [0x7fff3596c1c0] 29 -[_NSViewBackingLayer display] + 555 (AppKit + 1154729) [0x7fff2816dea9] 29 -[_NSBackingLayer display] + 474 (AppKit + 1763108) [0x7fff28202724] 29 -[CALayer display] + 183 (QuartzCore + 153866) [0x7fff3596c90a] 29 -[QNSView(Drawing) displayLayer:] + 907 (libqcocoa.dylib + 170795) [0x10d563b2b] 28 QCocoaWindow::handleExposeEvent(QRegion const&) + 460 (libqcocoa.dylib + 136444) [0x10d55b4fc] 28 void QWindowSystemInterface::handleExposeEvent(QWindow*, QRegion const&) + 178 (QtGui + 131986) [0x109855392] 28 bool QWindowSystemInterfacePrivate::handleWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 115 (QtGui + 101571) [0x10984dcc3] 28 QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 306 (QtGui + 246466) [0x1098712c2] 28 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (QtCore + 2054644) [0x10a0a39f4] 28 sipQApplication::notify(QObject*, QEvent*) + 234 (QtWidgets.abi3.so + 1335274) [0x10c779fea] 28 QApplication::notify(QObject*, QEvent*) + 598 (QtWidgets + 74726) [0x10cbc23e6] 23 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266 (QtWidgets + 69466) [0x10cbc0f5a] 23 QWidgetWindow::event(QEvent*) + 1067 (QtWidgets + 432443) [0x10cc1993b] 23 QWidgetWindow::handleExposeEvent(QExposeEvent*) + 372 (QtWidgets + 443812) [0x10cc1c5a4] 23 QWidgetRepaintManager::sync(QWidget*, QRegion const&) + 766 (QtWidgets + 118526) [0x10cbccefe] 23 QWidgetRepaintManager::flush(QWidget*, QRegion const&, QPlatformTextureList*) + 1090 (QtWidgets + 120066) [0x10cbcd502] 23 QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) + 1207 (QtGui + 1991671) [0x109a1b3f7] 12 QNSWindowBackingStore::flush(QWindow*, QRegion const&, QPoint const&) + 2701 (libqcocoa.dylib + 97245) [0x10d551bdd] 6 QNSWindowBackingStore::redrawRoundedBottomCorners(CGRect) const + 436 (libqcocoa.dylib + 98660) [0x10d552164] 6 -[NSInvocation invoke] + 303 (CoreFoundation + 408704) [0x7fff2b2a7c80] 6 __invoking___ + 140 (CoreFoundation + 409052) [0x7fff2b2a7ddc] 4 -[NSWindow _maskRoundedBottomCorners:] + 194 (AppKit + 3883651) [0x7fff28408283] 4 -[NSThemeFrame _maskCorners:clipRect:] + 230 (AppKit + 3212077) [0x7fff2836432d] 4 -[NSAppearance _drawInRect:context:options:] + 111 (AppKit + 1729335) [0x7fff281fa337] 4 -[NSCompositeAppearance _callCoreUIWithBlock:options:requireBezelTintColor:] + 386 (AppKit + 300132) [0x7fff2809d464] 4 __44-[NSAppearance _drawInRect:context:options:]_block_invoke + 83 (AppKit + 1729433) [0x7fff281fa399] 4 CUIDraw + 172 (CoreUI + 94042) [0x7fff46b3bf5a] 4 CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 1777 (CoreUI + 95877) [0x7fff46b3c685] 1 +[CUIThemeFacet assetExistsForRenditionKey:fromTheme:] + 0 (CoreUI + 154560) [0x7fff46b4abc0] Powerstats for: run_electrum (Electrum) [25128] UUID: 09B58E87-7F70-3ADB-A53E-DE8B55AD13B4 App Version: 4.0.2 Path: /Applications/Electrum.app/Contents/MacOS/run_electrum Architecture: x86_64 Parent: UNKNOWN [1] UID: 501 Footprint: 46.98 MB -> 729.81 MB (+682.83 MB) Pageins: 1635 pages Start time: 2020-09-01 14:57:26.990 +0200 End time: 2020-09-01 14:58:57.336 +0200 Num samples: 43 (100%) Primary state: 43 samples Non-Frontmost App, Non-Suppressed, User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive, Override Thread QoS Unspecified User Activity: 0 samples Idle, 43 samples Active Power Source: 0 samples on Battery, 43 samples on AC 43 ??? (run_electrum + 2932) [0x105c29b74] 43 ??? (run_electrum + 9242) [0x105c2b41a] 43 ??? (run_electrum + 7785) [0x105c2ae69] 43 PyEval_EvalCode + 48 (Python + 978800) [0x106347f70] 43 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27230 (Python + 1006190) [0x10634ea6e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 42 _PyEval_EvalFrameDefault + 27230 (Python + 1006190) [0x10634ea6e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 1444 (Python + 980404) [0x1063485b4] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27808 (Python + 1006768) [0x10634ecb0] 42 _PyFunction_FastCallDict + 455 (Python + 141463) [0x10627b897] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27230 (Python + 1006190) [0x10634ea6e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 42 _PyEval_EvalFrameDefault + 1444 (Python + 980404) [0x1063485b4] 42 call_function + 773 (Python + 1019941) [0x106352025] 42 _PyObject_FastCallKeywords + 575 (Python + 142335) [0x10627bbff] 42 type_call + 292 (Python + 472180) [0x1062cc474] 42 slot_tp_init + 175 (Python + 490831) [0x1062d0d4f] 42 _PyObject_Call_Prepend + 131 (Python + 146947) [0x10627ce03] 42 _PyFunction_FastCallDict + 455 (Python + 141463) [0x10627b897] 42 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 42 _PyEval_EvalFrameDefault + 27262 (Python + 1006222) [0x10634ea8e] 42 call_function + 780 (Python + 1019948) [0x10635202c] 42 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 42 _PyEval_EvalFrameDefault + 27262 (Python + 1006222) [0x10634ea8e] 42 call_function + 656 (Python + 1019824) [0x106351fb0] 42 _PyCFunction_FastCallKeywords + 41 (Python + 142809) [0x10627bdd9] 42 _PyMethodDef_RawFastCallKeywords + 722 (Python + 146178) [0x10627cb02] 42 meth_QCoreApplication_processEvents(_object*, _object*, _object*) + 141 (QtCore.abi3.so + 1011501) [0x10c347f2d] 42 QCoreApplication::processEvents(QFlags) + 39 (QtCore + 2055911) [0x10a0a3ee7] 42 QCocoaEventDispatcher::processEvents(QFlags) + 581 (libqcocoa.dylib + 228869) [0x10d571e05] 42 -[NSApplication run] + 586 (AppKit + 194248) [0x7fff280836c8] 42 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 (AppKit + 250069) [0x7fff280910d5] 42 _DPSNextEvent + 879 (AppKit + 256169) [0x7fff280928a9] 42 _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 204879) [0x7fff29b8b04f] 42 ReceiveNextEventCommon + 283 (HIToolbox + 205186) [0x7fff29b8b182] 42 RunCurrentEventLoopInMode + 292 (HIToolbox + 206128) [0x7fff29b8b530] 42 CFRunLoopRunSpecific + 563 (CoreFoundation + 520702) [0x7fff2b2c31fe] 42 __CFRunLoopRun + 838 (CoreFoundation + 523309) [0x7fff2b2c3c2d] 42 __CFRunLoopDoObservers + 549 (CoreFoundation + 526205) [0x7fff2b2c477d] 42 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 526560) [0x7fff2b2c48e0] 42 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41 (AppKit + 9420005) [0x7fff2894fce5] 42 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 266 (AppKit + 1849544) [0x7fff282178c8] 42 CA::Transaction::commit() + 783 (QuartzCore + 11585) [0x7fff35949d41] 42 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 517 (QuartzCore + 1433747) [0x7fff35aa5093] 42 CA::Layer::display_if_needed(CA::Transaction*) + 874 (QuartzCore + 152000) [0x7fff3596c1c0] 29 -[_NSViewBackingLayer display] + 555 (AppKit + 1154729) [0x7fff2816dea9] 29 -[_NSBackingLayer display] + 474 (AppKit + 1763108) [0x7fff28202724] 29 -[CALayer display] + 183 (QuartzCore + 153866) [0x7fff3596c90a] 29 -[QNSView(Drawing) displayLayer:] + 907 (libqcocoa.dylib + 170795) [0x10d563b2b] 28 QCocoaWindow::handleExposeEvent(QRegion const&) + 460 (libqcocoa.dylib + 136444) [0x10d55b4fc] 28 void QWindowSystemInterface::handleExposeEvent(QWindow*, QRegion const&) + 178 (QtGui + 131986) [0x109855392] 28 bool QWindowSystemInterfacePrivate::handleWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 115 (QtGui + 101571) [0x10984dcc3] 28 QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) + 306 (QtGui + 246466) [0x1098712c2] 28 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 212 (QtCore + 2054644) [0x10a0a39f4] 28 sipQApplication::notify(QObject*, QEvent*) + 234 (QtWidgets.abi3.so + 1335274) [0x10c779fea] 28 QApplication::notify(QObject*, QEvent*) + 598 (QtWidgets + 74726) [0x10cbc23e6] 23 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 266 (QtWidgets + 69466) [0x10cbc0f5a] 23 QWidgetWindow::event(QEvent*) + 1067 (QtWidgets + 432443) [0x10cc1993b] 23 QWidgetWindow::handleExposeEvent(QExposeEvent*) + 372 (QtWidgets + 443812) [0x10cc1c5a4] 23 QWidgetRepaintManager::sync(QWidget*, QRegion const&) + 766 (QtWidgets + 118526) [0x10cbccefe] 23 QWidgetRepaintManager::flush(QWidget*, QRegion const&, QPlatformTextureList*) + 1090 (QtWidgets + 120066) [0x10cbcd502] 23 QBackingStore::flush(QRegion const&, QWindow*, QPoint const&) + 1207 (QtGui + 1991671) [0x109a1b3f7] 12 QNSWindowBackingStore::flush(QWindow*, QRegion const&, QPoint const&) + 2701 (libqcocoa.dylib + 97245) [0x10d551bdd] 6 QNSWindowBackingStore::redrawRoundedBottomCorners(CGRect) const + 436 (libqcocoa.dylib + 98660) [0x10d552164] 6 -[NSInvocation invoke] + 303 (CoreFoundation + 408704) [0x7fff2b2a7c80] 6 __invoking___ + 140 (CoreFoundation + 409052) [0x7fff2b2a7ddc] 4 -[NSWindow _maskRoundedBottomCorners:] + 194 (AppKit + 3883651) [0x7fff28408283] 4 -[NSThemeFrame _maskCorners:clipRect:] + 230 (AppKit + 3212077) [0x7fff2836432d] 4 -[NSAppearance _drawInRect:context:options:] + 111 (AppKit + 1729335) [0x7fff281fa337] 4 -[NSCompositeAppearance _callCoreUIWithBlock:options:requireBezelTintColor:] + 386 (AppKit + 300132) [0x7fff2809d464] 4 __44-[NSAppearance _drawInRect:context:options:]_block_invoke + 83 (AppKit + 1729433) [0x7fff281fa399] 4 CUIDraw + 172 (CoreUI + 94042) [0x7fff46b3bf5a] 4 CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 1777 (CoreUI + 95877) [0x7fff46b3c685] 1 CUICoreThemeRenderer::DrawWindowBottomBar(CUIDescriptor const*) + 1927 (CoreUI + 208199) [0x7fff46b57d47] 1 CGGStateSetCompositeOperation + 30 (CoreGraphics + 130949) [0x7fff2b75ff85] 1 maybeCopyRenderingState + 43 (CoreGraphics + 131008) [0x7fff2b75ffc0] 1 _malloc_zone_malloc + 118 (libsystem_malloc.dylib + 114254) [0x7fff6cebfe4e] 1 nanov2_malloc + 55 (libsystem_malloc.dylib + 5780) [0x7fff6cea5694] 1 nanov2_allocate + 130 (libsystem_malloc.dylib + 5991) [0x7fff6cea5767] 1 nanov2_allocate_from_block + 24 (libsystem_malloc.dylib + 8110) [0x7fff6cea5fae] 1 CUICoreThemeRenderer::DrawWindowBottomBar(CUIDescriptor const*) + 1389 (CoreUI + 207661) [0x7fff46b57b2d] 1 -[CUIThemeFacet imageForSliceIndex:] + 49 (CoreUI + 223142) [0x7fff46b5b7a6] 1 -[CUIThemeFacet _renditionForSpecificKey:] + 157 (CoreUI + 162133) [0x7fff46b4c955] 1 -[CUIStructuredThemeStore renditionWithKey:usingKeySignature:] + 547 (CoreUI + 74427) [0x7fff46b372bb] 1 _CFRelease + 6 (CoreFoundation + 1355736) [0x7fff2b38efd8] 1 CUICoreThemeRenderer::DrawWindowBottomBar(CUIDescriptor const*) + 1343 (CoreUI + 207615) [0x7fff46b57aff] 1 +[CUIThemeFacet _facetWithKeyList:andRenditionKeyClass:orRenditionKey:fromTheme:] + 193 (CoreUI + 159367) [0x7fff46b4be87] 1 -[NSArray indexOfObject:] + 229 (CoreFoundation + 293847) [0x7fff2b28bbd7] 1 -[_CUIThemeFacetCacheKey isEqual:] + 58 (CoreUI + 165113) [0x7fff46b4d4f9] 1 +[CUIThemeFacet assetExistsForRenditionKey:fromTheme:] + 0 (CoreUI + 154560) [0x7fff46b4abc0] 1 -[NSWindow _maskRoundedBottomCorners:] + 71 (AppKit + 3883528) [0x7fff28408208] 1 -[NSView lockFocusIfCanDraw] + 212 (AppKit + 3152325) [0x7fff283559c5] 1 CGContextCreateWithDelegateAndInfo + 174 (CoreGraphics + 121934) [0x7fff2b75dc4e] 1 CGGStackGetGState + 23 (CoreGraphics + 123213) [0x7fff2b75e14d] 1 CGGStateCreate + 21 (CoreGraphics + 123263) [0x7fff2b75e17f] 1 _malloc_zone_calloc + 59 (libsystem_malloc.dylib + 114439) [0x7fff6cebff07] 1 nanov2_calloc + 122 (libsystem_malloc.dylib + 14218) [0x7fff6cea778a] 1 nanov2_allocate + 130 (libsystem_malloc.dylib + 5991) [0x7fff6cea5767] 1 nanov2_allocate_from_block + 295 (libsystem_malloc.dylib + 8381) [0x7fff6cea60bd] 1 -[NSWindow _maskRoundedBottomCorners:] + 47 (AppKit + 3883504) [0x7fff284081f0] 1 -[NSObject respondsToSelector:] + 26 (libobjc.A.dylib + 43919) [0x7fff6ba6db8f] 1 NSKVOClass + 32 (Foundation + 205595) [0x7fff2db7031b] 1 _NSKVONotifyingOriginalClassForIsa + 21 (Foundation + 82941) [0x7fff2db523fd] 1 cache_getImp + 23 (libobjc.A.dylib + 23943) [0x7fff6ba68d87] 3 QNSWindowBackingStore::redrawRoundedBottomCorners(CGRect) const + 89 (libqcocoa.dylib + 98313) [0x10d552009] 3 -[NSObject(NSObject) methodSignatureForSelector:] + 30 (CoreFoundation + 602452) [0x7fff2b2d7154] 2 __methodDescriptionForSelector + 128 (CoreFoundation + 494950) [0x7fff2b2bcd66] 2 protocol_getMethodDescription + 30 (libobjc.A.dylib + 51190) [0x7fff6ba6f7f6] 2 protocol_getMethod(protocol_t*, objc_selector*, bool, bool, bool) + 89 (libobjc.A.dylib + 51377) [0x7fff6ba6f8b1] 1 search_method_list(method_list_t const*, objc_selector*) + 471 (libobjc.A.dylib + 20554) [0x7fff6ba6804a] 1 search_method_list(method_list_t const*, objc_selector*) + 4 (libobjc.A.dylib + 20087) [0x7fff6ba67e77] 1 __methodDescriptionForSelector + 285 (CoreFoundation + 495107) [0x7fff2b2bce03] 1 class_getInstanceMethod + 51 (libobjc.A.dylib + 57034) [0x7fff6ba70eca] 1 lookUpImpOrForward + 645 (libobjc.A.dylib + 29139) [0x7fff6ba6a1d3] 1 method_t::imp(bool) const + 117 (libobjc.A.dylib + 95405) [0x7fff6ba7a4ad] 1 method_t_remappedImp_nolock(method_t const*) + 36 (libobjc.A.dylib + 92518) [0x7fff6ba79966] 1 bool objc::DenseMapBase, objc::DenseMapInfo, objc::detail::DenseMapPair >, method_t const*, void (*)(), objc::DenseMapValueInfo, objc::DenseMapInfo, objc::detail::DenseMapPair >::LookupBucketFor(method_t const* const&, objc::detail::DenseMapPair const*&) const + 90 (libobjc.A.dylib + 92656) [0x7fff6ba799f0] 3 QNSWindowBackingStore::redrawRoundedBottomCorners(CGRect) const + 205 (libqcocoa.dylib + 98429) [0x10d55207d] 1 -[NSInvocation invoke] + 303 (CoreFoundation + 408704) [0x7fff2b2a7c80] 1 __invoking___ + 140 (CoreFoundation + 409052) [0x7fff2b2a7ddc] 1 -[NSWindow _intersectBottomCornersWithRect:] + 155 (AppKit + 3419906) [0x7fff28396f02] 1 -[NSThemeFrame _bottomLeftCornerRect] + 92 (AppKit + 3420813) [0x7fff2839728d] 1 -[NSThemeFrame _bottomCornerSize] + 42 (AppKit + 614538) [0x7fff280ea08a] 1 -[NSThemeFrame _bottomCornerSizeForRegularWindows] + 61 (AppKit + 614751) [0x7fff280ea15f] 1 -[NSThemeFrame _getWindowMaskCornerDimensionsLeftCornerWidth:rightCornerWidth:topCornerHeight:bottomCornerHeight:] + 51 (AppKit + 612879) [0x7fff280e9a0f] 1 -[NSThemeFrame _getCachedWindowCornerSizes] + 426 (AppKit + 613380) [0x7fff280e9c04] 1 -[NSValue rectValue] + 47 (Foundation + 454048) [0x7fff2dbacda0] 1 -[NSConcreteValue _matchType:size:strict:] + 59 (Foundation + 166481) [0x7fff2db66a51] 1 matchTypeEncoding + 22 (Foundation + 454129) [0x7fff2dbacdf1] 1 -[NSInvocation invoke] + 210 (CoreFoundation + 408611) [0x7fff2b2a7c23] 1 look_up_class + 70 (libobjc.A.dylib + 33756) [0x7fff6ba6b3dc] 1 getClassExceptSomeSwift(char const*) + 15 (libobjc.A.dylib + 113028) [0x7fff6ba7e984] 1 getPreoptimizedClass + 150 (libobjc.A.dylib + 34281) [0x7fff6ba6b5e9] 1 objc_opt::objc_stringhash_t::getIndex(char const*) const + 789 (libobjc.A.dylib + 9899) [0x7fff6ba656ab] 1 -[NSInvocation invoke] + 171 (CoreFoundation + 408572) [0x7fff2b2a7bfc] 1 objc_msgSend + 26 (libobjc.A.dylib + 24090) [0x7fff6ba68e1a] 2 QNSWindowBackingStore::flush(QWindow*, QRegion const&, QPoint const&) + 2792 (libqcocoa.dylib + 97336) [0x10d551c38] 2 QMacAutoReleasePool::~QMacAutoReleasePool() + 40 (QtCore + 3003096) [0x10a18b2d8] 2 -[NSAutoreleasePool drain] + 129 (Foundation + 211377) [0x7fff2db719b1] 2 _CFAutoreleasePoolPop + 22 (CoreFoundation + 268760) [0x7fff2b2859d8] 2 objc_autoreleasePoolPop + 161 (libobjc.A.dylib + 33566) [0x7fff6ba6b31e] 2 AutoreleasePoolPage::releaseUntil(objc_object**) + 167 (libobjc.A.dylib + 152477) [0x7fff6ba8839d] 1 context_finalize + 0 (CoreGraphics + 212821) [0x7fff2b773f55] 1 _CFRelease + 244 (CoreFoundation + 1355974) [0x7fff2b38f0c6] 1 context_finalize + 67 (CoreGraphics + 212888) [0x7fff2b773f98] 1 CGGStackRelease + 19 (CoreGraphics + 213004) [0x7fff2b77400c] 1 CGGStackReset + 44 (CoreGraphics + 213063) [0x7fff2b774047] 1 nanov2_free_to_block + 280 (libsystem_malloc.dylib + 10029) [0x7fff6cea672d] 2 QNSWindowBackingStore::flush(QWindow*, QRegion const&, QPoint const&) + 2259 (libqcocoa.dylib + 96803) [0x10d551a23] 2 -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1330 (AppKit + 1754781) [0x7fff2820069d] 2 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 86 (AppKit + 1597011) [0x7fff281d9e53] 1 -[NSImage bestRepresentationForRect:context:hints:] + 582 (AppKit + 1597660) [0x7fff281da0dc] 1 objc_msgSend + 26 (libobjc.A.dylib + 24090) [0x7fff6ba68e1a] 1 -[NSImage bestRepresentationForRect:context:hints:] + 135 (AppKit + 1597213) [0x7fff281d9f1d] 1 -[__NSDictionaryM objectForKey:] + 30 (CoreFoundation + 138262) [0x7fff2b265c16] 2 QNSWindowBackingStore::flush(QWindow*, QRegion const&, QPoint const&) + 1329 (libqcocoa.dylib + 95873) [0x10d551681] 1 -[NSImage initWithCGImage:size:] + 338 (AppKit + 1591120) [0x7fff281d8750] 1 -[NSImage addRepresentation:] + 74 (AppKit + 90036) [0x7fff28069fb4] 1 -[NSImage _addRepresentations:] + 107 (AppKit + 90167) [0x7fff2806a037] 1 -[NSImage _usingRepresentationsPerformBlock:] + 77 (AppKit + 90263) [0x7fff2806a097] 1 __31-[NSImage _addRepresentations:]_block_invoke + 73 (AppKit + 90489) [0x7fff2806a179] 1 -[NSImage _setRepProviderWithRepresentationsArray:] + 51 (AppKit + 90563) [0x7fff2806a1c3] 1 -[NSImageArrayRepProvider initWithRepresentations:] + 71 (AppKit + 10265321) [0x7fff28a1e2e9] 1 -[NSArray initWithArray:range:copyItems:] + 400 (CoreFoundation + 180410) [0x7fff2b2700ba] 1 __NSSingleObjectArrayI_new + 38 (CoreFoundation + 16244) [0x7fff2b247f74] 1 __CFAllocateObject + 15 (CoreFoundation + 16321) [0x7fff2b247fc1] 1 class_createInstance + 72 (libobjc.A.dylib + 23533) [0x7fff6ba68bed] 1 _malloc_zone_calloc + 59 (libsystem_malloc.dylib + 114439) [0x7fff6cebff07] 1 nanov2_calloc + 122 (libsystem_malloc.dylib + 14218) [0x7fff6cea778a] 1 nanov2_allocate + 130 (libsystem_malloc.dylib + 5991) [0x7fff6cea5767] 1 nanov2_allocate_from_block + 257 (libsystem_malloc.dylib + 8343) [0x7fff6cea6097] 1 -[NSImage initWithCGImage:size:] + 312 (AppKit + 1591094) [0x7fff281d8736] 1 -[NSCGImageSnapshotRep initWithCGImage:drawingRect:applicableForRect:context:hints:] + 314 (AppKit + 1591461) [0x7fff281d88a5] 1 -[NSSnapshotContextSignature initWithDrawingRect:applicableForRect:context:hints:] + 390 (AppKit + 1591936) [0x7fff281d8a80] 1 _CFRetain + 0 (CoreFoundation + 1163345) [0x7fff2b360051] 1 DYLD-STUB$$QPlatformBackingStore::window() const + 0 (libqcocoa.dylib + 1236992) [0x10d668000] 1 QNSWindowBackingStore::flush(QWindow*, QRegion const&, QPoint const&) + 2733 (libqcocoa.dylib + 97277) [0x10d551bfd] 1 -[NSWindow flushWindow] + 137 (AppKit + 3168282) [0x7fff2835981a] 1 -[NSWindow _flushBackdropViews] + 73 (AppKit + 1157201) [0x7fff2816e851] 1 -[NSWindow _updateBackdropViewsIfNeeded] + 71 (AppKit + 1157293) [0x7fff2816e8ad] 1 -[__NSArrayM getObjects:range:] + 0 (CoreFoundation + 180779) [0x7fff2b27022b] 1 QNSWindowBackingStore::flush(QWindow*, QRegion const&, QPoint const&) + 73 (libqcocoa.dylib + 94617) [0x10d551199] 1 -[QMacAutoReleasePoolTracker initWithPool:] + 0 (QtCore + 3002112) [0x10a18af00] 1 QWindow::mask() const + 1 (QtGui + 285057) [0x10987a981] 1 QWindow::handle() const + 0 (QtGui + 275152) [0x1098782d0] 5 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 66 (QtWidgets + 69266) [0x10cbc0e92] 5 QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) + 132 (QtCore + 2055028) [0x10a0a3b74] 4 sipQObject::eventFilter(QObject*, QEvent*) + 140 (QtCore.abi3.so + 426268) [0x10c2b911c] 2 sip_api_call_method + 182 (sip.cpython-37m-darwin.so + 37430) [0x10c22b236] 2 buildObject + 1928 (sip.cpython-37m-darwin.so + 57288) [0x10c22ffc8] 2 sip_api_convert_from_type + 332 (sip.cpython-37m-darwin.so + 23996) [0x10c227dbc] 2 sipWrapInstance + 225 (sip.cpython-37m-darwin.so + 90417) [0x10c238131] 2 PyObject_Call + 136 (Python + 143096) [0x10627bef8] 2 type_call + 292 (Python + 472180) [0x1062cc474] 2 sipSimpleWrapper_init + 806 (sip.cpython-37m-darwin.so + 26726) [0x10c228866] 2 wrapped_instance_eh(void*) + 103 (QtCore.abi3.so + 1228327) [0x10c37ce27] 1 QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) + 1298 (QtCore + 2242338) [0x10a0d1722] 1 QMetaObjectPrivate::decodeMethodSignature(char const*, QVarLengthArray&) + 503 (QtCore + 2085239) [0x10a0ab177] 1 QByteArray::fromRawData(char const*, int) + 51 (QtCore + 580899) [0x109f3bd23] 1 QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags) + 144 (QtCore + 195520) [0x109eddbc0] 1 _malloc_zone_malloc + 118 (libsystem_malloc.dylib + 114254) [0x7fff6cebfe4e] 1 nanov2_malloc + 55 (libsystem_malloc.dylib + 5780) [0x7fff6cea5694] 1 nanov2_allocate + 130 (libsystem_malloc.dylib + 5991) [0x7fff6cea5767] 1 nanov2_allocate_from_block + 286 (libsystem_malloc.dylib + 8372) [0x7fff6cea60b4] 1 QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) + 328 (QtCore + 2241368) [0x10a0d1358] 1 free + 107 (libsystem_malloc.dylib + 8759) [0x7fff6cea6237] 1 nanov2_pointer_size + 332 (libsystem_malloc.dylib + 9504) [0x7fff6cea6520] 1 sip_api_call_method + 238 (sip.cpython-37m-darwin.so + 37486) [0x10c22b26e] 1 tupledealloc + 119 (Python + 452087) [0x1062c75f7] 1 subtype_dealloc + 1085 (Python + 462637) [0x1062c9f2d] 1 sipWrapper_dealloc + 22 (sip.cpython-37m-darwin.so + 33526) [0x10c22a2f6] 1 sipWrapper_clear + 25 (sip.cpython-37m-darwin.so + 34009) [0x10c22a4d9] 1 sipSimpleWrapper_clear + 6 (sip.cpython-37m-darwin.so + 25622) [0x10c228416] 1 PyEval_CallObjectWithKeywords + 0 (Python + 146336) [0x10627cba0] 1 sipQObject::eventFilter(QObject*, QEvent*) + 199 (QtCore.abi3.so + 426327) [0x10c2b9157] 1 sip_api_parse_result_ex + 172 (sip.cpython-37m-darwin.so + 52364) [0x10c22ec8c] 1 parseResult + 3965 (sip.cpython-37m-darwin.so + 62877) [0x10c23159d] 1 sip_api_convert_to_bool + 46 (sip.cpython-37m-darwin.so + 9726) [0x10c2245fe] 1 PyLong_AsLongLong + 0 (Python + 275696) [0x10629c4f0] 1 -[NSWindowAuxiliary savedScreen] + 0 (AppKit + 347436) [0x7fff280a8d2c] 9 -[CALayer display] + 183 (QuartzCore + 153866) [0x7fff3596c90a] 8 -[NSThemeFrameBackgroundDelegate displayLayer:] + 140 (AppKit + 1812256) [0x7fff2820e720] 8 -[NSFocusStack performWithFocusView:inWindow:usingBlock:] + 96 (AppKit + 435249) [0x7fff280be431] 7 __47-[NSThemeFrameBackgroundDelegate displayLayer:]_block_invoke + 117 (AppKit + 1812388) [0x7fff2820e7a4] 7 +[NSAppearance _performWithCurrentAppearance:usingBlock:] + 66 (AppKit + 178838) [0x7fff2807fa96] 7 -[NSThemeFrame _displayLayer:] + 51 (AppKit + 1812480) [0x7fff2820e800] 5 -[NSThemeFrame _cuiMakeOrUpdateBackgroundLayer:topHeight:drawTopSeparator:bottomHeight:forTitlebar:] + 192 (AppKit + 411306) [0x7fff280b86aa] 5 -[NSAppearance _createOrUpdateLayer:options:] + 79 (AppKit + 414734) [0x7fff280b940e] 4 -[NSCompositeAppearance _callCoreUIWithBlock:options:requireBezelTintColor:] + 386 (AppKit + 300132) [0x7fff2809d464] 1 CUIRenderer::CreateOrUpdateLayer(__CFDictionary const*, CALayer**) + 199 (CoreUI + 167923) [0x7fff46b4dff3] 1 CUICoreThemeRenderer::CreateOrUpdateLayer(CUIDescriptor const*, CALayer**) + 256 (CoreUI + 168278) [0x7fff46b4e156] 1 CAObject_valueForKey + 144 (QuartzCore + 71036) [0x7fff3595857c] 1 CFSetGetValue + 0 (CoreFoundation + 288006) [0x7fff2b28a506] 1 CUIRenderer::CreateOrUpdateLayer(__CFDictionary const*, CALayer**) + 128 (CoreUI + 167852) [0x7fff46b4dfac] 1 __CFStringHash + 208 (CoreFoundation + 38576) [0x7fff2b24d6b0] 1 CUIRenderer::CreateOrUpdateLayer(__CFDictionary const*, CALayer**) + 106 (CoreUI + 167830) [0x7fff46b4df96] 1 CUIRenderer::DecodeToCUIInfo(CGRect, CGContext*, __CFDictionary const*, CUIInfo*) const + 210 (CoreUI + 39752) [0x7fff46b2eb48] 1 CUIConstantToMapID + 39 (CoreUI + 32279) [0x7fff46b2ce17] 1 CFDictionaryGetValue + 88 (CoreFoundation + 31483) [0x7fff2b24bafb] 1 CFBasicHashFindBucket + 1266 (CoreFoundation + 32830) [0x7fff2b24c03e] 1 __CFStringEqual + 6 (CoreFoundation + 1170917) [0x7fff2b361de5] 1 -[NSAppearance _callCoreUIWithBlock:options:requireBezelTintColor:] + 201 (AppKit + 36810) [0x7fff2805cfca] 1 -[_NSTaggedPointerColor _createCGColorWithAlpha:] + 1 (AppKit + 414841) [0x7fff280b9479] 1 -[NSCompositeAppearance _callCoreUIWithBlock:options:requireBezelTintColor:] + 96 (AppKit + 299842) [0x7fff2809d342] 2 -[NSThemeFrame _cuiMakeOrUpdateBackgroundLayer:] + 36 (AppKit + 436618) [0x7fff280be98a] 2 -[NSThemeFrame _topHeightForTexturedBackground] + 85 (AppKit + 410263) [0x7fff280b8297] 2 -[NSThemeFrame _topBarHeight] + 54 (AppKit + 410349) [0x7fff280b82ed] 1 -[NSThemeFrame _topBarHeightWithoutContentBorderThickness] + 201 (AppKit + 374744) [0x7fff280af7d8] 1 -[NSThemeFrame _distanceFromToolbarBaseToTitlebar] + 275 (AppKit + 375340) [0x7fff280afa2c] 1 -[NSThemeFrame _enumerateAuxViewControllersOfType:useEffectiveLayoutAttribute:handler:] + 0 (AppKit + 375512) [0x7fff280afad8] 1 -[NSThemeFrame _topBarHeightWithoutContentBorderThickness] + 31 (AppKit + 374574) [0x7fff280af72e] 1 -[NSThemeFrame _titlebarHeight] + 135 (AppKit + 374893) [0x7fff280af86d] 1 -[NSThemeFrame _wantsExpandedToolbarOrTitlebarHeight] + 206 (AppKit + 8806020) [0x7fff288b9e84] 1 -[NSThemeFrame _titlebarViewControllerIfAvailable] + 0 (AppKit + 375879) [0x7fff280afc47] 1 objc_msgSend + 46 (libobjc.A.dylib + 24110) [0x7fff6ba68e2e] 1 +[NSFocusStack currentFocusStack] + 0 (AppKit + 179110) [0x7fff2807fba6] 2 -[_NSViewBackingLayer display] + 382 (AppKit + 1154556) [0x7fff2816ddfc] 2 -[NSFocusStack performWithFocusView:inWindow:usingBlock:] + 96 (AppKit + 435249) [0x7fff280be431] 2 __30-[_NSViewBackingLayer display]_block_invoke + 113 (AppKit + 2675775) [0x7fff282e143f] 2 +[NSAppearance _performWithCurrentAppearance:usingBlock:] + 66 (AppKit + 178838) [0x7fff2807fa96] 2 _NSViewUpdateLayer + 98 (AppKit + 1156204) [0x7fff2816e46c] 1 -[NSThemeFrame updateLayer] + 30 (AppKit + 1156342) [0x7fff2816e4f6] 1 -[NSThemeFrame updateWindowCornerMaskOnLayer:forTitlebar:] + 289 (AppKit + 628678) [0x7fff280ed7c6] 1 -[NSThemeFrame _wantsCornerMask] + 62 (AppKit + 8787060) [0x7fff288b5474] 1 objc_msgSendSuper2 + 0 (libobjc.A.dylib + 24704) [0x7fff6ba69080] 1 -[NSThemeFrame _updateBackgroundLayer] + 68 (AppKit + 436026) [0x7fff280be73a] 1 objc_msgSend_stret + 46 (libobjc.A.dylib + 26094) [0x7fff6ba695ee] 1 -[_NSViewBackingLayer display] + 93 (AppKit + 1154267) [0x7fff2816dcdb] 1 NSViewAllowsRootLayerBackingInWindow + 65 (AppKit + 9168458) [0x7fff2891264a] 1 -[NSObject isKindOfClass:] + 27 (libobjc.A.dylib + 41642) [0x7fff6ba6d2aa] 1 -[_NSViewBackingLayer display] + 64 (AppKit + 1154238) [0x7fff2816dcbe] 1 __kdebug_trace64 + 10 (libsystem_kernel.dylib + 12610) [0x7fff6ce30142] 1 _PyEval_EvalFrameDefault + 27416 (Python + 1006376) [0x10634eb28] 1 call_function + 780 (Python + 1019948) [0x10635202c] 1 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 1 _PyEval_EvalFrameDefault + 1444 (Python + 980404) [0x1063485b4] 1 call_function + 780 (Python + 1019948) [0x10635202c] 1 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 1 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 1 _PyEval_EvalFrameDefault + 27808 (Python + 1006768) [0x10634ecb0] 1 PyObject_Call + 136 (Python + 143096) [0x10627bef8] 1 type_call + 292 (Python + 472180) [0x1062cc474] 1 slot_tp_init + 175 (Python + 490831) [0x1062d0d4f] 1 _PyObject_Call_Prepend + 131 (Python + 146947) [0x10627ce03] 1 _PyFunction_FastCallDict + 455 (Python + 141463) [0x10627b897] 1 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 1 _PyEval_EvalFrameDefault + 27416 (Python + 1006376) [0x10634eb28] 1 call_function + 780 (Python + 1019948) [0x10635202c] 1 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 1 _PyEval_EvalFrameDefault + 27416 (Python + 1006376) [0x10634eb28] 1 call_function + 780 (Python + 1019948) [0x10635202c] 1 function_code_fastcall + 237 (Python + 144061) [0x10627c2bd] 1 _PyEval_EvalFrameDefault + 1444 (Python + 980404) [0x1063485b4] 1 call_function + 780 (Python + 1019948) [0x10635202c] 1 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 1 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 1 _PyEval_EvalFrameDefault + 1444 (Python + 980404) [0x1063485b4] 1 call_function + 780 (Python + 1019948) [0x10635202c] 1 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 1 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 1 _PyEval_EvalFrameDefault + 27230 (Python + 1006190) [0x10634ea6e] 1 call_function + 780 (Python + 1019948) [0x10635202c] 1 _PyFunction_FastCallKeywords + 217 (Python + 142745) [0x10627bd99] 1 _PyEval_EvalCodeWithName + 3021 (Python + 1023421) [0x106352dbd] 1 _PyEval_EvalFrameDefault + 5161 (Python + 984121) [0x106349439] 1 slot_mp_subscript + 196 (Python + 515828) [0x1062d6ef4] 1 _PyObject_FastCall_Prepend + 141 (Python + 146685) [0x10627ccfd] 1 _PyFrame_New_NoTrack + 1 (Python + 234785) [0x106292521] Binary Images: 0x105c29000 - 0x105c34fff Electrum 4.0.2 <09B58E87-7F70-3ADB-A53E-DE8B55AD13B4> /Applications/Electrum.app/Contents/MacOS/run_electrum 0x106259000 - 0x1064dafff Python (0) <9EFC3877-5D92-313B-A69E-AB77BCEC5184> /Applications/Electrum.app/Contents/MacOS/Python 0x109835000 - 0x109d3ffff QtGui (0) <13D578BA-F023-378F-9D51-E8E59E60ECEE> /Applications/Electrum.app/Contents/MacOS/QtGui 0x109eae000 - 0x10a43ffff QtCore (0) <435C4AD2-BF9E-3561-93EB-041E7DAB5FCA> /Applications/Electrum.app/Contents/MacOS/QtCore 0x10c222000 - 0x10c23dfff sip.cpython-37m-darwin.so (0) /Applications/Electrum.app/Contents/MacOS/PyQt5/sip.cpython-37m-darwin.so 0x10c251000 - 0x10c41cfff QtCore.abi3.so (0) <35B67643-444E-37CB-8F3D-9F23E92D1DC2> /Applications/Electrum.app/Contents/MacOS/PyQt5/QtCore.abi3.so 0x10c634000 - 0x10c964fff QtWidgets.abi3.so (0) <6133753F-AD54-3E3C-90A2-AEBA2A8D9B7B> /Applications/Electrum.app/Contents/MacOS/PyQt5/QtWidgets.abi3.so 0x10cbb0000 - 0x10d049fff QtWidgets (0) /Applications/Electrum.app/Contents/MacOS/QtWidgets 0x10d53a000 - 0x10d6bffff libqcocoa.dylib (0) <0C163CEF-1F43-3921-B089-07B7EE848D67> /Applications/Electrum.app/Contents/MacOS/PyQt5/Qt/plugins/platforms/libqcocoa.dylib 0x7fff28054000 - 0x7fff28ed7fff com.apple.AppKit 6.9 (2006.102) <3A3640AA-8678-3604-BF31-2AE8A8B61120> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x7fff29b59000 - 0x7fff29e58fff com.apple.HIToolbox 2.1.1 (1048) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x7fff2b244000 - 0x7fff2b73ffff com.apple.CoreFoundation 6.9 (1762.100) <388EFBE0-F77F-38A9-B2D1-B52F9B1D2703> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff2b740000 - 0x7fff2bdccfff com.apple.CoreGraphics 2.0 (1440) <844DEFC8-FA31-3815-AACA-132D9E23B385> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x7fff2db3e000 - 0x7fff2dee1fff com.apple.Foundation 6.9 (1762.100) <716DD5CA-670B-3AAF-9EAF-A16C7A52E758> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x7fff35947000 - 0x7fff35c07fff com.apple.QuartzCore 1.11 (911) <36345D08-81ED-3D6B-90E9-8B67DD9E0F05> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x7fff46b25000 - 0x7fff46c64fff com.apple.coreui 2.1 (674.1) <3BE1DC91-4B4E-3DB7-A3AA-88C2265F3DF6> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x7fff6ba63000 - 0x7fff6ba9bfff libobjc.A.dylib (818) <706E4CF3-3950-3C3B-84A3-B4650C3AEFBC> /usr/lib/libobjc.A.dylib 0x7fff6ce2d000 - 0x7fff6ce5bfff libsystem_kernel.dylib (7195.40.44.151.1) <9D0A00D0-00DC-37C7-A380-110BDAA68EB4> /usr/lib/system/libsystem_kernel.dylib 0x7fff6cea4000 - 0x7fff6ced0fff libsystem_malloc.dylib (317) /usr/lib/system/libsystem_malloc.dylib ```
oreid01 commented 4 years ago

I suspect this is most likely due to problems upstream, with PyInstaller, or maybe even Python itself.

For the time being, consider running from source.

Happy to report that building from source alleviates the issue.

SomberNight commented 4 years ago

probably related: https://github.com/pyinstaller/pyinstaller/issues/5107

EDIT: actually this is only about building on macOS 11

SimonVillage commented 3 years ago

I suspect this is most likely due to problems upstream, with PyInstaller, or maybe even Python itself. For the time being, consider running from source.

Happy to report that building from source alleviates the issue.

did not work for me. Did you only run ./make_osx?

SomberNight commented 3 years ago

@SimonHausdorf I think they meant "running" from source, instead of bulding/creating a binary. See the README, though the instructions there need to be adapted a bit for MacOS.

franceiscoke commented 3 years ago

Happy to report that building from source alleviates the issue.

sorry could you explain the process ? thanks!!

hadig commented 3 years ago

Happy to report that building from source alleviates the issue.

sorry could you explain the process ? thanks!!

git clone https://github.com/spesmilo/electrum.git cd electrum brew install automake libtool pyqt pip3 install cryptography ./contrib/make_libsecp256k1.sh pip3 install --user -e . ./run_electrum

SomberNight commented 3 years ago

denis2342 reported on IRC that it is only the GUI that does not open; many things actually seem to properly start (see logs). Based on this, I now think it might not be a pyinstaller issue - either of Qt/PyQt/pyinstaller might be the cause.

log ``` % ./run_electrum -v I | logging | Electrum version: 4.0.4 - https://electrum.org - https://github.com/spesmilo/electrum I | logging | Python version: 3.7.9 (default, Sep 11 2020, 17:18:37) [Clang 11.0.0 (clang-1100.0.33.17)]. On platform: Darwin-20.1.0-x86_64-i386-64bit I | logging | Logging to file: None I | logging | Log filters: verbosity '*', verbosity_shortcuts '' I | daemon | failed to connect to JSON-RPC server Cannot connect to host 127.0.0.1:54127 ssl:default [Connect call failed ('127.0.0.1', 54127)] I/p | plugin.Plugins | registering hardware bitbox02: ('hardware', 'bitbox02', 'BitBox02') I/p | plugin.Plugins | registering hardware coldcard: ('hardware', 'coldcard', 'Coldcard Wallet') I/p | plugin.Plugins | registering hardware digitalbitbox: ('hardware', 'digitalbitbox', 'Digital Bitbox wallet') I/p | plugin.Plugins | registering hardware keepkey: ('hardware', 'keepkey', 'KeepKey wallet') I/p | plugin.Plugins | registering hardware ledger: ('hardware', 'ledger', 'Ledger wallet') I/p | plugin.Plugins | registering hardware safe_t: ('hardware', 'safe_t', 'Safe-T mini wallet') I/p | plugin.Plugins | registering hardware trezor: ('hardware', 'trezor', 'Trezor wallet') I/p | plugin.Plugins | registering wallet type ('2fa', 'trustedcoin') D | util.profiler | Plugins.__init__ 0.0168 I/n | network | blockchains [0] I | exchange_rate.FxThread | using exchange CoinGecko D | util.profiler | Daemon.__init__ 0.0043 I | daemon.Daemon | launching GUI: qt I/n | network | starting network I/n | network | setting proxy None I | daemon.Daemon | starting taskgroup. I/n | network | connecting to electrum.blockstream.info:50002:s as new interface I/n | network | starting taskgroup. I | gui.qt.history_list | could not import electrum.plot. This feature needs matplotlib to be installed. I | gui.qt.ElectrumGui | Qt GUI starting up... Qt=5.14.2, PyQt=5.14.2 D | util.profiler | ElectrumGui.__init__ 0.1756 I/i | interface.[electrumx.erbium.eu:50002] | connection established. version: ['ElectrumX 1.15.0', '1.4'] I/i | interface.[electrumx.erbium.eu:50002] | set blockchain with height 653739 I/i | interface.[electrumx.erbium.eu:50002] | skipping header 653739 I/n | network | no height for main interface I/i | interface.[2AZZARITA.hopto.org:50006] | disconnecting due to: ConnectError(ConnectionRefusedError(61, "Connect call failed ('173.212.253.26', 50006)")) I/n | network | couldn't launch iface 2AZZARITA.hopto.org:50006:s -- CancelledError() I/i | interface.[electrum.villocq.com:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known'))) I/n | network | couldn't launch iface electrum.villocq.com:50002:s -- CancelledError() I/n | network | fee_estimates {25: 95882, 10: 110940, 5: 116479, 2: 116479} I/i | interface.[blockstream.info:700] | connection established. version: ['electrs-esplora 0.4.1', '1.4'] I/i | interface.[blockstream.info:700] | set blockchain with height 653739 I/i | interface.[blockstream.info:700] | skipping header 653739 I/n | network | no height for main interface I/n | network | switching to electrumx.erbium.eu:50002:s I/n | network | fee_estimates {25: 100925, 10: 110951, 5: 116504, 2: 116504} I/n | network | fee_histogram [[142, 100349], [130, 118707], [124, 134002], [121, 113646], [115, 144692], [111, 221335], [110, 138175], [108, 386655], [107, 227487], [106, 326743], [105, 299901], [104, 282638], [103, 373045], [102, 328584], [101, 815896], [100, 150816], [99, 111293], [96, 561046], [94, 292158], [91, 810113], [89, 625169], [87, 1392271], [86, 185276], [83, 834154], [80, 927294], [75, 1058302], [59, 1330648], [53, 1294354], [42, 1284172], [30, 1642591], [19, 1790225], [12, 2594275], [10, 1635515], [5, 3383386], [3, 3785012], [2, 2522298], [1, 4108374]] I/i | interface.[electrum-unlimited.criptolayer.net:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(ConnectionRefusedError(61, "Connect call failed ('188.40.93.205', 50002)"))) I/n | network | couldn't launch iface electrum-unlimited.criptolayer.net:50002:s -- CancelledError() I/i | interface.[e.keff.org:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(ConnectionResetError(54, 'Connection reset by peer'))) I/n | network | couldn't launch iface e.keff.org:50002:s -- CancelledError() I/i | interface.[electrum.emzy.de:50002] | connection established. version: ['ElectrumX 1.14.0', '1.4'] I/i | interface.[electrum.emzy.de:50002] | set blockchain with height 653739 I/i | interface.[electrum.emzy.de:50002] | skipping header 653739 I/i | interface.[E-X.not.fyi:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(gaierror(8, 'nodename nor servname provided, or not known'))) I/n | network | couldn't launch iface E-X.not.fyi:50002:s -- CancelledError() I/n | network | fee_estimates {25: 95882, 10: 110940, 5: 116479, 2: 116479} I/i | interface.[electrum.fedaykin.eu:50006] | connection established. version: ['ElectrumX 1.15.0', '1.4'] I/i | interface.[electrum.fedaykin.eu:50006] | set blockchain with height 653739 I/i | interface.[electrum.fedaykin.eu:50006] | skipping header 653739 I/n | network | fee_estimates {25: 95882, 10: 110940, 5: 116479, 2: 116479} I/i | interface.[electrum.blockstream.info:50002] | connection established. version: ['electrs-esplora 0.4.1', '1.4'] I/i | interface.[electrum.blockstream.info:50002] | set blockchain with height 653739 I/i | interface.[electrum.blockstream.info:50002] | skipping header 653739 I/n | network | fee_estimates {25: 95882, 10: 110940, 5: 116479, 2: 116479} I/i | interface.[bitcoin.lukechilds.co:50002] | succeeded in getting cert I/i | interface.[bitcoin.lukechilds.co:50002] | connection established. version: ['ElectrumX 1.15.0', '1.4'] I/i | interface.[bitcoin.lukechilds.co:50002] | set blockchain with height 653739 I/i | interface.[bitcoin.lukechilds.co:50002] | skipping header 653739 I/n | network | fee_estimates {25: 95882, 10: 110940, 5: 116479, 2: 116479} ```
SomberNight commented 3 years ago

related https://github.com/biolab/orange3/issues/4878

SomberNight commented 3 years ago

related https://tickets.metabrainz.org/browse/PICARD-1950

builds with any PyQt version >= 5.13.2 (with the latest version tested being current 5.15.1) do not run on macOS 11 Big Sur.

On macOS Big Sur the application stops responding after start without showing the UI. Actually even a very minimalistic Qt5 app with only an empty window will stop responding as soon as the app's mainloop gets executed. The exact reason is unknown, but it happens with PyQt >= 5.13.2 (tested up to 5.15.1).

This actually only happens when running from the packaged app. Running from Picard from source works fine. For now I can't say whether the core problem lies within PyQt5 or PyInstaller.


This is what the PyQt lead maintainer says: https://www.riverbankcomputing.com/pipermail/pyqt/2020-September/043131.html

Could you tell me how to settle the problem? When will PyQt5 support macOS 11.0?

Not before it is released. Not before it is supported by Python. Not before it is supported by Qt.

SomberNight commented 3 years ago

I gather macOS 11 got released today. I was hoping this would get fixed in pyinstaller/qt/pyqt.

Alas, we shall try to have a workaround.

SomberNight commented 3 years ago

We can try to build with PyQt 5.13.1 as Picard does.

@cculianu assuming this affects Electron Cash too, I'm just curious if maybe you have looked into it (?)

rt121212121 commented 3 years ago

I've built a test release for ElectrumSV with PyQt5 pinned to 5.13.1 and had a Bug Sur user who already experienced the 5.15 lock ups try it and they reported it works fine.

cculianu commented 3 years ago

4.0.2 was the one that still did the onefile thing and unarchived itself into a temp dir right? I suspect macOS hates that now since it "looks" a lot like a rootkit. EDIT: Yeah I see reports that 4.0.4 doesn't work for people either. Jesus.

4.0.4 has the proper .app? @rt121212121 is electrumsv a .app with real files in it or is it sort of a glorified "onefile"?

Anyway I'll try it.

@SomberNight: No, I haven't looked into it but I'll install Big Sur in a VM and check it out and let you know.

Rant: Jesus Christ every darned release Apple breaks something or makes developer life hell. They keep locking down their platform with more restrictions. They are trying to turn (what was) a perfectly decent desktop OS into a glorified iPad. :(

I''l look into it. Thanks for the heads-up.

cculianu commented 3 years ago

"Big Sur" .. more like "Bugs, Sir!", amirite?

"Big Sur"prise -- your stuff stopped working.

rt121212121 commented 3 years ago

I don't know exactly what PyInstaller does on MacOS to make it work, but it is the dmg file that is produced. You should be familiar with it, since it's what Electron Cash and Electrum were doing when we forked. MacOS treats it as second class because it is not signed, but otherwise beyond the Big Sur issue, it seems like it works based on very limited testing. I expect the earlier version of PyQt5 will be sufficient to give Big Sur users a working build.

It's hard to get away from PyInstaller given how much it reduces the build sizes.

sodoherty-ai commented 3 years ago

Option B here fixed the issue for me:

https://github.com/biolab/orange3/issues/4878#issuecomment-659443190

SomberNight commented 3 years ago

I've reproduced the hang on a VM. Indeed bundling older PyQt, namely 5.13.1, fixes it. Done in https://github.com/spesmilo/electrum/commit/77f75f102b14cebe315df63c2343e48999d6692e. The next release of Electrum should hence work properly.

I'll close this issue as we have a workaround, however the root cause is still unknown.


@sod1684 what command did you run exactly?

gruve-p commented 3 years ago

https://github.com/python/cpython/pull/22855

gadelkareem commented 3 years ago

so when is the next release?

shamoons commented 3 years ago

What's the workaround?

SomberNight commented 3 years ago

we have released Electrum 4.0.5 now, with the workaround of using old PyQt5

cculianu commented 3 years ago

FYI -- a workaround that seems to work also is to set the env var:QT_MAC_WANTS_LAYER=1 (which can be done before the QApplication is created).

See: https://bugreports.qt.io/browse/QTBUG-87014 And: https://stackoverflow.com/questions/64818879/is-there-any-solution-regarding-to-pyqt-library-doesnt-work-in-mac-os-big-sur

SomberNight commented 3 years ago

@cculianu Oh nice. One of the comments on stackoverflow also says

PyQt5 5.15.2 was released on Nov 24 and it supposedly integrates this fix

we should instead consider bumping to that then

cculianu commented 3 years ago

Oh nice. Note I was unable to reproduce this issue at all in a Big Sur VM with PyQt 5.14.2 or 5.15.1 -- I presume it may only happen sometimes depending on graphics driver or something (I'm using VMWare Fusion).

Do let me know if you can if that works!

SomberNight commented 3 years ago

@cculianu I confirm that 5.15.2 seems to be working on my Big Sur VM (virtualbox) (and I was able to reproduce the hang on other versions on this same VM in the past).

cculianu commented 3 years ago

Thanks @SomberNight -- I still couldn't reproduce it but knowing it works regardless on 5.15.2 is good to know, thanks for the follow-up.