-
Notifications
You must be signed in to change notification settings - Fork 1.7k
REGRESSION(macOS Ventura): OpenAudible, Eclipse and other Java applications crash when using WebKit #7725
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
Conversation
|
EWS run on previous version of this PR (hash 0f63dbf) |
|
Let me make it pending. I think this 4GB assumption is right for most of applications. And crashing application has very special thing making this invalid. We should change this logic only when this specific logic is used. Investigating. |
0f63dbf to
95ae71c
Compare
|
EWS run on previous version of this PR (hash 95ae71c) |
|
Is there a reason to not explain what the PR is actually fixing? We usually care about the symptom more than about how the bug is fixed, so the title should explain the symptom. |
MenloDorian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we just change these to 4ULL instead of static_cast<uintptr_t>(4)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually either is fine because it is inside CPU(ADDRESS64).
I think "x64 binary can change unmapped memory region" is symptom (And changing the numbers for the check is the fix). But I can change a bit more :). |
95ae71c to
3a268ee
Compare
|
EWS run on previous version of this PR (hash 3a268ee) |
|
That's the cause of the user observable issue. There are more people who aren't JSC developers reading bug and PR titles, so we should optimize for them. I think that the bug title is great (REGRESSION (macOS Ventura): OpenAudible, Eclipse and other Java applications crash when using WebKit). |
I feel this looks very hard to see what the change is for JSC developers reading JSC changes, but if you have strong opinion, I'm not opposing to it strongly. |
|
The first line of commit message is the bug title by convention, and we certainly shouldn't retitle this bug. I am not going to argue this any further if you disagree, but I do feel strongly about this convention. |
3a268ee to
086640f
Compare
|
EWS run on current version of this PR (hash 086640f) |
…ations crash when using WebKit https://bugs.webkit.org/show_bug.cgi?id=247387 rdar://101892715 Reviewed by Mark Lam. x64 binary can change unmapped memory region, breaking JSC's assumption on mmap-returned memory address. By modifying PAGEZERO address, x64 application can change the start of mmap-returned memory address. By default, it is 4GB, but it can be anything larger than 4KB (On the other hand, ARM64 enforces it to 4GB at minimum). This patch updates the number for filtering. * Source/JavaScriptCore/tools/Integrity.h: (JSC::Integrity::isSanePointer): * Source/bmalloc/libpas/src/libpas/pas_root.c: (pas_root_visit_conservative_candidate_pointers_in_address_range): Canonical link: https://commits.webkit.org/257973@main
086640f to
0b27858
Compare
|
Committed 257973@main (0b27858): https://commits.webkit.org/257973@main Reviewed commits have been landed. Closing PR #7725 and removing active labels. |
0b27858
086640f
🛠 🧪 win🛠 mac-AS-debug🧪 ios-wk2🧪 api-mac🧪 gtk-wk2🧪 api-ios🧪 mac-wk1🧪 api-gtk🧪 mac-AS-debug-wk2🛠 🧪 merge