[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #9685: OpenGL apps crashes
From:       "pdziepak" <trac () haiku-os ! org>
Date:       2013-04-30 2:36:47
Message-ID: 057.12dd79a4933ed429365183d8f8af5aeb () haiku-os ! org
[Download RAW message or body]

#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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic