-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Schrödinger's crash: 8.5 crashes safari but only when web inspector is not open #249
Comments
Fascinating. The crash is in JIT-ed code in the worker that runs the emulator. Not sure there's much I can do.
|
No worries, I thought it was the strangest of crashes! |
For all it's worth, it's also happening in Safari Version 17.1 (19616.2.9.11.7) under macOS Sonoma 14.1.1 on an iMac M3 at the time of posting this message. (not that I actually use Safari, but) |
Reported as FB13380365 and at https://bugs.webkit.org/show_bug.cgi?id=264955 |
It's kind of weird that it only happens when the inspector is not open. I lol'ed at Schrödinger. |
I'm rarely very interested in bugs, but with this one I would love to know the cause! Hoping the Schrödinger gets some Apple/WebKit eyes on it. |
I wonder if the inspector just slows down execution enough for the bug not to happen. It almost seems like Safari tries to get ahead too fast for the execution flow? I don't know really, but I'm just guessing. It might not be that, but what can it be if it's not that? |
There has been some activity on the WebKit bug, seems to be an out of memory access (but no clarity as yet on why the web inspector being open prevents it, but maybe permissions/allowances are different when it's open?) |
So basically, what it could mean is that the inspector encapsulates everything in a TRY/CATCH kind of deal where nothing actually crashes, but instead raises exceptions in the console, compared to the inspector not open that would straight just crash? Possible, but weird. Also, why does it only crash with Safari? |
So, "JavaScript compilation changes a lot to aid debugging when Web Inspector is in use." |
This site https://software.inc Is based on Infinite Mac, and they picked 8.x do it also suffers from this crash. 🙃 |
Hey folks, is this still reproducing for anyone on the latest versions of Safari? |
I can no longer reproduce: Safari 17.2.1 on macOS 14.2.1 Sonoma |
This is reproducible every time for me.
https://infinitemac.org/1998/Mac%20OS%208.5
Normal (no web inspector)
Screen.shot.2023-11-09.at.16.56.41.mov
Web inspector open
Screen.shot.2023-11-09.at.16.57.16.mov
The text was updated successfully, but these errors were encountered: