Bug 231147 - Crash when putting a video fullscreen
Summary: Crash when putting a video fullscreen
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon) Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-03 15:47 PDT by Anthony Ricaud
Modified: 2021-10-18 12:32 PDT (History)
6 users (show)

See Also:


Attachments
Crash report (47.84 KB, text/plain)
2021-10-03 16:37 PDT, Anthony Ricaud
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Ricaud 2021-10-03 15:47:37 PDT
Steps to reproduce:
1. Go to any page with a video in it (example https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video)
2. Play the video
3. Click the fullscreen control
4. Crash :(

This is 100% reproducible on my machine.

I'm on a MacBook Air M1, on the Monterey Beta (21A5534d) and STP Release 133 (Safari 15.4, WebKit 17613.1.2.2). This has been going on for a couple of STP versions but I forgot to write down when it started.
Comment 1 Anthony Ricaud 2021-10-03 16:37:57 PDT
Created attachment 440024 [details]
Crash report
Comment 2 Simon Fraser (smfr) 2021-10-03 16:56:05 PDT
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSScreen _safeAreaFrame]: unrecognized selector sent to instance 0x14395d640'
terminating with uncaught exception of type NSException
Comment 3 Alexey Proskuryakov 2021-10-03 19:07:20 PDT
rdar://82794355

We've been unable to reproduce this so far. Could you by any chance isolate this any further? E.g does this happen with extensions disabled? Are you using multiple displays, and if so, does it happen with only the built in display?
Comment 4 Simon Fraser (smfr) 2021-10-03 19:55:55 PDT
I believe STP is trying to use a symbol that is not present in 21A5534d.
Comment 5 Alexey Proskuryakov 2021-10-03 22:25:46 PDT
Ah yes. WebKit needs a runtime check for it.
Comment 6 Anthony Ricaud 2021-10-04 03:22:33 PDT
I can reproduce it with extensions disabled, with one and multiple displays (built-in or external)
Comment 7 Anthony Ricaud 2021-10-18 12:32:02 PDT
Seems like it is fixed in the Monterey RC.