#15804: WebKit: crash in incrementPageOccupancy
----------------------------------------+----------------------------
Reporter: X512 | Owner: pulkomandy
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/WebPositive | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------------+----------------------------
Comment (by KapiX):
I tried both approaches.
1. create_area/delete_area is tricky because WebKit MetaAllocator can
commit 3 pages from address X, then decommit 2 pages from address X, which
leaves you with one leftover page. decommit implemented with delete_area
would dealloc all 3. Without additional bookkeeping that won't work.
2. mmap/munmap/mmap, no luck. Even though munmap apparently succeeds, mmap
with the same parameters will still fail in the same way.
BTW I don't like additional bookkeeping idea, that's what MetaAllocator
does.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15804#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.