#7629: segmentation fault in compiled program, involves gtk, selinux
-----------------------------------------------------------------+----------
    Reporter:  wgmitchener                                       |       Owner: 
 simonmar     
        Type:  bug                                               |      Status: 
 new          
    Priority:  high                                              |   Milestone: 
 7.6.2        
   Component:  Runtime System                                    |     Version: 
 7.4.2        
    Keywords:  segmentation fault, multithreading, selinux, gtk  |          Os: 
 Linux        
Architecture:  x86                                               |     Failure: 
 Runtime crash
  Difficulty:  Unknown                                           |    Testcase: 
              
   Blockedby:                                                    |    Blocking: 
              
     Related:                                                    |  
-----------------------------------------------------------------+----------

Comment(by ian@…):

 commit 27cf625ab871f34434d9fe86cecf85a31f73f0e5
 {{{
 Author: Ian Lynagh <[email protected]>
 Date:   Tue Apr 9 13:53:28 2013 +0100

     Fix segfaults on SELinux machines; fixes #7629

     Patch from wgmitchener.

     From the ticket:
     The two addresses (adjustorStub and code) contain the same memory
     (double-mapped), but one is writable while the other is executable.
     This is how libffi works around the SELinux restrictions. On
     non-SELinux systems the code and data addresses are probably the same.

  rts/Adjustor.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7629#comment:29>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to