[GHC] #7629: segmentation fault in compiled program, involves gtk, selinux

GHC cvs-ghc at haskell.org
Wed Mar 27 15:25:15 CET 2013


#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 wgmitchener):

 Before I forget: The pointer that gets returned after all of that is the
 data-space address rather than the code-space address, and I suppose that
 must be right so that the memory block can be deallocated later.  But it
 sort of worries me that the call instruction to that data-space address
 works.  Does the CPU or kernel recognize that the same memory is also
 mapped to a code-space address and make some correction?

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



More information about the ghc-tickets mailing list