[haiku-bugs] Re: [Haiku] #16489: App_server crash when browsing URL with WebPositive

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 08 Sep 2020 12:06:39 -0000

#16489: App_server crash when browsing URL with WebPositive
---------------------------------+-------------------------
  Reporter:  vidrep              |      Owner:  PulkoMandy
      Type:  bug                 |     Status:  assigned
  Priority:  normal              |  Milestone:  Unscheduled
 Component:  Servers/app_server  |    Version:  R1/beta2
Resolution:                      |   Keywords:
Blocked By:                      |   Blocking:
  Platform:  All                 |
---------------------------------+-------------------------
Comment (by ttcoder):

 Thanks for the explanation @pulkomandy, so it's a limitation of the
 "hoard" allocator. No big deal. Switching to "memory re-use" (to slow down
 the creep towards the 2 GB mark) was successful and I could reproduce the
 crash that way anyway.

 The guarded heap gives some additional hints, maybe someone can get lucky
 with them:

 {{{
         thread 1220: w:936:offscreen
                 state: Call (thread 1220 tried accessing address
 0x2f566000 which is a guard page (base: 0x2f565fc0, size: 54, alignment:
 16, allocated by thread: 1220, freed by thread: -1))
 ...
                 0x7f23d58410f0  0x75ba8483ae    void
 
agg::render_scanlines<agg::rasterizer_scanline_aa_subpix<agg::rasterizer_sl_clip<agg::ras_conv_int>

, agg::scanline_p8_subpix,
 agg::renderer_scanline_subpix_solid<agg::renderer_region<PixelFormat> >
(agg::rasterizer_scanline_aa_subpix<agg::rasterizer_sl_clip<agg::ras_conv_int>
&, agg::scanline_p8_subpix&,
 agg::renderer_scanline_subpix_solid<agg::renderer_region<PixelFormat> >&)
 + 0x30e
 }}}

 The syslog does not have much more:

 {{{
 KERN: user access on kernel area 0x35c4 at 0x000000002f566000
 KERN: vm_page_fault: vm_soft_fault returned error 'Permission denied' on
 fault at 0x2f566000, ip 0x75ba8483b2, write 1, user 1, thread 0x4c4
 KERN: 1220: DEBUGGER: thread 1220 tried accessing address 0x2f566000 which
 is a guard page (base: 0x2f565fc0, size: 54, alignment: 16, allocated by
 thread: 1220, freed by thread: -1)

 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16489#comment:13>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: