[haiku-bugs] Re: [Haiku] #15728: Crash on free in PainterAggInterface

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 26 Aug 2020 16:40:58 -0000

#15728: Crash on free in PainterAggInterface
---------------------------------+----------------------------
  Reporter:  humdinger           |      Owner:  axeld
      Type:  bug                 |     Status:  reopened
  Priority:  normal              |  Milestone:  R1/beta3
 Component:  Servers/app_server  |    Version:  R1/Development
Resolution:                      |   Keywords:
Blocked By:                      |   Blocking:  16246, 16367
  Platform:  All                 |
---------------------------------+----------------------------
Comment (by pulkomandy):

 Well...

there's some sort of visual bug, where W+ displays a rotation "please
 wait" symbol (shaped like a round arrow) on a pitch black full-window
 background, but the symbol moves around the window quickly, as if it had a
 wild BView.Transform() call.

 Yes, there is a known issue with transforms in our WebKit. Clearly it is
 not my domain of expertise, I wrote the code trying to use what I remember
 of math courses I took 10+ years ago, can't get things right this way.
 However it's harmless, it just draw things at the wrong position.

1) Web+ crashes

 I don't think it does. app_server crashes, and the two threads you listed
 are named w:908:offscreen and w:908:offscreen. These are the two threads
 that crashed: one because of a segment violation and the other because of
 heap corruption, apparently.

 These "offscreen" threads are created when using a view that draws to an
 offscreen bitmap (which Web+ does a lot).

 Alpha masks were added to app_server specifically for use in WebKit, and I
 think no other apps (besides a few test ones) are using them. I don't know
 specifically about youtube, but they are used in many places in WWebKit
 for drawing, so it's quite likely to be used there.

EDIT: I'm not set up for compiling Haiku ATM.

 I have not hit this crash a single time so far, so I don't really know how
 I can help. But I guess I could try going more to youtube.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15728#comment:27>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: