-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac pro全屏截图会崩溃 #177
Comments
有时间帮忙看看不 |
什么系统? |
升级最新版本试试呢 |
我也遇到这个问题了,mac pro 系统,全屏截图崩溃,electron版本是14.2.8,electron-screenshots是0.5.14,麻烦大佬解决下,,,, |
最新版本依然有这个问题 |
Hi @minzhang2 @nashaofu @nashaofu |
Hi @nashaofu |
Hi @nashaofu Could you please look into it and provide the solution for the same. I appreciate your efforts in developing this library. It would be great if you look into this issue and provide a solution ASAP. |
I'll take a look this weekend |
Thanks a lot |
升级一下最新版看看是否还有这个问题 |
截图没有盖在全屏的应用上 |
这个我后面有时间再看看,electron 本身有很多问题,前面崩溃的问题我也提过issue,不过没人处理 |
Hi @nashaofu https://drive.google.com/drive/folders/1yuhm6BVasteKMtNAh-7JNWP8aBwORQf_?usp=share_link |
Hi @nashaofu |
发布了新版本,应该解决了这个问题 |
"electron":"^21.2.1"
"electron-screenshots": "^0.5.13"
┏ Main -----------------------
2022-11-02 16:56:53.429 Electron[20861:472904] -[NativeWidgetMacNSWindowBorderlessFrame _surrenderToolbarViewForFullScreenWindow]: unrecognized selector sent to instance 0x15a59b9d0
┗ ----------------------------
┏ Main -----------------------
2022-11-02 16:56:53.434 Electron[20861:472904] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NativeWidgetMacNSWindowBorderlessFrame _surrenderToolbarViewForFullScreenWindow]: unrecognized selector sent to instance 0x15a59b9d0'
*** First throw call stack:
(
0 CoreFoundation 0x000000018f8111a8 __exceptionPreprocess + 240
1 libobjc.A.dylib 0x000000018f55be04 objc_exception_throw + 60
2 CoreFoundation 0x000000018f8a4f4c -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000018f770554 forwarding + 1764
4 CoreFoundation 0x000000018f76fdb0 _CF_forwarding_prep_0 + 96
5 AppKit 0x00000001929a7c3c -[_NSFullScreenMenuBarCompanionController tile] + 108
6 AppKit 0x0000000192e35540 -[NSWindow(NSFullScreen) _fullScreenStatusChanged] + 212
7 AppKit 0x0000000192347944 __25-[NSWindow setStyleMask:]_block_invoke + 1416
8 AppKit 0x0000000192347360 NSPerformVisuallyAtomicChange + 140
9 AppKit 0x0000000192347260 -[NSWindow setStyleMask:] + 200
10 AppKit 0x0000000192c71484 __76-[_NSEnterFullScreenTransitionController setupWindowForAfterFullScreenEnter]_block_invoke + 124
11 AppKit 0x0000000192347360 NSPerformVisuallyAtomicChange + 140
12 AppKit 0x0000000192c713a0 -[_NSEnterFullScreenTransitionController setupWindowForAfterFullScreenEnter] + 356
13 AppKit 0x0000000192c7521c -[_NSEnterFullScreenTransitionController start] + 952
14 AppKit 0x0000000192de6d24 -[_NSFullScreenSpace(Transitions) startTransition:] + 136
15 AppKit 0x0000000192ba0a64 -[NSWindow _performSpecialWindowOrderingWasEffectivelyVisible:place:relativeTo:] + 800
16 AppKit 0x000000019242dfac -[NSWindow _reallyDoOrderWindowAboveOrBelow:relativeTo:findKey:forCounter:force:isModal:] + 1648
17 AppKit 0x000000019242d520 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 132
18 AppKit 0x000000019242c50c -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 324
19 Electron Framework 0x000000010eb68bfc _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 37076392
20 AppKit 0x0000000192420ba0 -[NSWindow makeKeyAndOrderFront:] + 72
21 Electron Framework 0x000000010af2a0f4 _ZNK2v88internal20CodeCommentsIterator4sizeEv + 19128
22 Electron Framework 0x000000010bd47130 _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 15136
23 Electron Framework 0x000000010bd46cc0 _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 14000
24 Electron Framework 0x000000010bd46178 _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 11112
25 ??? 0x00000124d7f0cc8c 0x0 + 1257753332876
26 ??? 0x00000124d7e8c5a4 0x0 + 1257752806820
27 ??? 0x00000124d7e8c5a4 0x0 + 1257752806820
28 ??? 0x00000124d7e8c5a4 0x0 + 1257752806820
29 ??? 0x00000124d7e8c5a4 0x0 + 1257752806820
30 ??? 0x00000124d7f605b8 0x0 + 1257753675192
31 ??? 0x00000124d7eb241c 0x0 + 1257752962076
32 ??? 0x00000124d7e8a888 0x0 + 1257752799368
33 Electron Framework 0x000000010be0086c ZN2v88internal9Execution4CallEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEES6_iPS6 + 2072
34 Electron Framework 0x000000010be011b0 _ZN2v88internal9Execution13TryCallScriptEPNS0_7IsolateENS0_6HandleINS0_10JSFunctionEEENS4_INS0_6ObjectEEENS4_INS0_10FixedArrayEEENS1_15MessageHandlingEPNS0_11MaybeHandleIS7_EEb + 384
35 Electron Framework 0x000000010be01324 _ZN2v88internal9Execution7TryCallEPNS0_7IsolateENS0_6HandleINS0_6ObjectEEES6_iPS6_NS1_15MessageHandlingEPNS0_11MaybeHandleIS5_EEb + 200
36 Electron Framework 0x000000010be2a124 _ZN2v88internal14MicrotaskQueue25PerformCheckpointInternalEPNS_7IsolateE + 372
37 Electron Framework 0x0000000110bd9894 _ZN4node13CallbackScopeD1Ev + 1252
38 Electron Framework 0x0000000110bd9438 _ZN4node13CallbackScopeD1Ev + 136
39 Electron Framework 0x0000000110c21038 _ZN4node16EmitAsyncDestroyEPNS_11EnvironmentENS_13async_contextE + 276412
40 Electron Framework 0x000000010aef1aa0 uv_timer_get_due_in + 192
41 Electron Framework 0x000000010aef4754 uv_run + 152
42 Electron Framework 0x000000010b0448ac _ZN4node24FreeArrayBufferAllocatorEPNS_20ArrayBufferAllocatorE + 17400
43 Electron Framework 0x000000010d79154c _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16271096
44 Electron Framework 0x000000010d7ab8c4 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16378480
45 Electron Framework 0x000000010d7e58d0 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16616060
46 Electron Framework 0x000000010ae84010 Electron Framework + 1556496
47 Electron Framework 0x000000010d7e4ca0 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16612940
48 CoreFoundation 0x000000018f791044 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
49 CoreFoundation 0x000000018f790f90 __CFRunLoopDoSource0 + 208
50 CoreFoundation 0x000000018f790c90 __CFRunLoopDoSources0 + 268
51 CoreFoundation 0x000000018f78f610 __CFRunLoopRun + 828
52 CoreFoundation 0x000000018f78eb34 CFRunLoopRunSpecific + 600
53 HIToolbox 0x00000001983ce338 RunCurrentEventLoopInMode + 292
54 HIToolbox 0x00000001983ce0b4 ReceiveNextEventCommon + 564
55 HIToolbox 0x00000001983cde68 _BlockUntilNextEventMatchingListInModeWithFilter + 72
56 AppKit 0x00000001922f651c _DPSNextEvent + 860
57 AppKit 0x00000001922f4e14 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
58 AppKit 0x00000001922e6fe0 -[NSApplication run] + 596
59 Electron Framework 0x000000010d7e685c _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16620040
60 Electron Framework 0x000000010d7e47f8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16611748
61 Electron Framework 0x000000010d7ac298 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16380996
62 Electron Framework 0x000000010d779168 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 16171796
63 Electron Framework 0x000000010cb447a8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3373396
64 Electron Framework 0x000000010cb460ac _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3379800
65 Electron Framework 0x000000010cb424d8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3364484
66 Electron Framework
┗ ----------------------------
The text was updated successfully, but these errors were encountered: