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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 14 Aug 2020 09:23:32 -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):

So there must be dependancies in libbe.so or elsewhere that are not
 satisfied, if going back that far (to beta1). Shame, I bet it would have
 solved the memory leak and crashing, sigh.

 Well, older versions not having the alpha mask code surely wouldn't hit a
 bug in the alpha mask code. But they wouldn't work, either, because the
 interface kit makes use of the feature. Makes sense, I guess...

 Also, it doesn't help much to have mix-and-matched tests here, because
 they are hard to reproduce and quite likely to add more problems than they
 solve (I understand it could be useful for you to find a workable setup,
 still).

 So, what we have so far:
 - Crashes always in the memory allocation code, which hints to a heap
 corruption
 - Crashes often in the AlphaMask code, which is mostly exercised by
 WebPositive
 - In all reports attached, there are a lot of "some BLocker" in
 app_server, so the whole thing is under some stress (lots of open windows
 or open tabs in Web+). It doesn't seem to happen in a generally idle
 system.

 It would be nice if we could reproduce this in a more predictible way,
 maybe with a test app stressing the use of alpha masks?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15728#comment:24>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: