[haiku-bugs] Re: [Haiku] #9685: OpenGL apps crashes

  • From: "pdziepak" <trac@xxxxxxxxxxxx>
  • Date: Fri, 19 Apr 2013 18:36:01 -0000

#9685: OpenGL apps crashes
-----------------------------+---------------------------------------------
   Reporter:  Giova84        |      Owner:  kallisti5
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  Kits/OpenGL    |    Version:  R1/Development
  Kit                        |   Keywords:  opengl applications crash error
 Resolution:                 |   Blocking:
 Blocked By:                 |   Platform:  x86
Has a Patch:  0              |
-----------------------------+---------------------------------------------

Comment (by pdziepak):

 {{{
 KERN: vm_page_fault: thread "BillardGL" (1625) in team "BillardGL" (1625)
 tried to execute address 0x3d2d5e8, ip 0x3d2d5e8 ("heap" +0x415e8)
 }}}

 Mesa attempts to execute a code that is placed on the heap without
 explicitly setting area protection to executable. The best solution would
 be probably to fix Mesa so that it creates a new area for this (apparently
 generated) code with both write and execute flags.

 Making the whole heap executable would undoubtedly also fix this problem
 but that's certainly not a nice solution.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9685#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: