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

GHC cvs-ghc at haskell.org
Sat Feb 23 06:03:55 CET 2013


#7629: segmentation fault in compiled program, involves gtk, selinux
-----------------------------------------------------------------+----------
    Reporter:  wgmitchener                                       |       Owner:  simonmar     
        Type:  bug                                               |      Status:  infoneeded   
    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):

 A bit more information:  I compiled Try2.hs with

 ghc -debug --make Try2.hs

 This is on Fedora 18 with ghc 7.4.1.  (FYI: I'm also using the development
 version of gtk2hs; darcs gives latest patch date of Tue Feb 19 16:39:46
 EST 2013).  Now Try2 fails with a concrete error message:

 Try2: internal error: ASSERTION FAILED: file rts/STM.c, line 1476

     (GHC version 7.4.1 for i386_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted

 which seems maybe to have something to do with not doing one STM
 transaction inside another?  The function where that assertion happens is
 stmWait.

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



More information about the ghc-tickets mailing list