[haiku-bugs] Re: [Haiku] #10469: [Gravity] crashes in BBitmap::_AssertPointer()

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Sun, 02 Feb 2014 22:10:56 -0000

#10469: [Gravity] crashes in BBitmap::_AssertPointer()
-------------------------------+----------------------------
   Reporter:  diver            |      Owner:  kallisti5
       Type:  bug              |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/OpenGL Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  0                |   Platform:  All
-------------------------------+----------------------------

Comment (by kallisti5):

 Hm, this is actually one of the more interesting backtraces I've seen for
 this issue. It appears that Mesa 7.9.2 crashes while allocating the
 BBitmap for drawing, and Mesa 10.0.2 swrast crashes in the same spot. Mesa
 10.0.2 swpipe crashes in winsys which is where our gallium renderer
 allocates a BBitmap.  I bet flurry is somehow passing an incorrect bitmap
 size to OpenGL causing an assertions when it attempts to write beyond the
 bitmap bits length.

 I think it sounds like Mesa needs better checking of bitmap sizes before
 writing to the bits, and flurry has some bug that exercises this issue.

--
Ticket URL: <https://dev.haiku-os.org/ticket/10469#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: