[haiku-bugs] Re: [Haiku] #15804: WebKit: crash in incrementPageOccupancy

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 21 Mar 2020 13:33:49 -0000

#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 pulkomandy):

 Possibly because the address is already used?

 We attempt to reserve it with _kern_reserve_address_range (in
 OSAllocator::ReserveUncommitted) but I'm not sure how that works, since
 mmap can still allocate it without special handling, so I'm not sure how
 the "reserved address range" protects us from other mmap() calls elsewhere
 ending up in the same space.

 Probably a good idea to add a debugger("some useful message") instead of
 just calling CRASH(), too.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15804#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: