Summary: | Assertion failure in bmalloc::vmRevokePermissions(void*, unsigned long). | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||||||||
Component: | bmalloc | Assignee: | Geoffrey Garen <ggaren> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | commit-queue, darin, enrica, ggaren, mark.lam, webkit-bug-importer | ||||||||||
Priority: | P2 | ||||||||||||
Version: | WebKit Local Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Mark Lam
2016-04-26 15:26:45 PDT
The bug here is that pageSize is a multiple of the physical page size, but we need to use a multiple of the virtual page size. Created attachment 277556 [details]
Patch
Created attachment 277557 [details]
Patch
Comment on attachment 277557 [details]
Patch
Darin reviewed this.
Created attachment 277565 [details]
Patch
Comment on attachment 277565 [details]
Patch
Changed max to round because max(a, b) does not produce multiples of b when a is larger than b.
Comment on attachment 277565 [details] Patch Clearing flags on attachment: 277565 Committed r200167: <http://trac.webkit.org/changeset/200167> All reviewed patches have been landed. Closing bug. Enrica reports that this is not fully fixed. Created attachment 278012 [details]
Patch
Committed r200385: <http://trac.webkit.org/changeset/200385> Comment on attachment 278012 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=278012&action=review > Source/bmalloc/bmalloc/Algorithm.h:104 > +template<typename T> inline T roundUpToMultipleOfSloppy(size_t divisor, T x) I would have called this roundUpToMultipleOfNonPower. It's not a great name, but it conveys a bit more information. Renamed in <http://trac.webkit.org/changeset/200386>. |