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

  • From: "pdziepak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 30 Apr 2013 02:36:47 -0000

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

Comment (by pdziepak):

 The problem with Quake II is that the runtime loader correctly sets
 `ref_soft.so_seg0ro` protection to read and execute but then Quake II sets
 its protection to read and write (i.e. in an attempt to make it writable
 it makes it non-executable).

 Disabling DEP might indeed be a good solution. Since we have the comfort
 of having `libroot` I do believe the best way to do this would be to sete
 `B_EXECUTE_AREA` for all areas that are created (or have their protection
 modified) by applications that the runtime loader recognizes as
 `B_HAIKU_ABI_GCC_2_BEOS`.

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

Other related posts: