macos crash on closing a fullscreen window

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

macos crash on closing a fullscreen window

Postby lavv17 » Fri Aug 17, 2018 8:04 am

On macos, there is a crash when trying to close a fullscreen window using CloseBrowser. It happens because there is no "setDelegate:nil" call on the window before destruction of CefWindowDelegate object.
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fffc27b6b5d objc_msgSend + 29
1 com.apple.AppKit 0x00007fffabd30b4a -[NSWindow _confirmSize:force:] + 216
2 com.apple.AppKit 0x00007fffabf778fb -[NSWindow _frameOnExitFromFullScreen] + 134
3 com.apple.AppKit 0x00007fffabf79ec8 -[NSWindow _didExitFullScreen:] + 170
4 com.apple.AppKit 0x00007fffac5fd2fb __123-[_NSWindowFullScreenTransition _performExitFullScreenModeForWindow:windowController:options:customWindows:doKitAnimation:]_block_invoke_2 + 390
5 com.apple.AppKit 0x00007fffac5fd081 __123-[_NSWindowFullScreenTransition _performExitFullScreenModeForWindow:windowController:options:customWindows:doKitAnimation:]_block_invoke + 1191
6 com.apple.AppKit 0x00007fffac147634 __NSFullScreenDockConnectionSendExitForTransition_block_invoke + 88
lavv17
Techie
 
Posts: 23
Joined: Tue May 22, 2018 8:50 am

Re: macos crash on closing a fullscreen window

Postby magreenblatt » Fri Aug 17, 2018 11:16 am

Please add a bug. A PR to fix the issue is also welcome.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 104 guests