#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 figured it out but I'm not sure how to fix it.
By dumping all commits I found that crash occurs when WebKit tries to
expand existing commit. For example first call wants 4096 bytes, next one
wants 32768 under the same address. It doesn't decommit it first.
Windows doesn't care, VirtualAlloc(MEM_COMMIT) docs:
An attempt to commit a page that is already committed does not cause thefunction to fail. This means that you can commit pages without first