#5177: Segfault in reportCCSProfiling
-------------------------------+--------------------------------------------
    Reporter:  dankna          |       Owner:               
        Type:  bug             |      Status:  new          
    Priority:  normal          |   Component:  Profiling    
     Version:  7.1             |    Keywords:               
    Testcase:                  |   Blockedby:               
          Os:  MacOS X         |    Blocking:               
Architecture:  x86_64 (amd64)  |     Failure:  Runtime crash
-------------------------------+--------------------------------------------
 The test case is rather hard to reduce; sorry about that.  I can provide
 my entire program on request, but it's hard to build, too, due to its
 polyglot nature.  It may be relevant to know that I am running Haskell as
 a library from an Objective C main program.  This does reproduce for me,
 so I can try further experiments if anyone can suggest any.  The crash
 happens only when -O2 is turned on, not when only -O is.  It also does not
 happen if -O2 and -funbox-strict-fields are on

 My version is a GHC that I built myself from git; it comes up as
 7.1.20110504-x86_64.  I am running on OS X 10.6.7 with XCode 4.  Here is a
 stack trace produced by gdb:

 {{{
 #0  0x00007fff83fac120 in strlen ()
 #1  0x00007fff83fb7b1c in __vfprintf ()
 #2  0x00007fff83ff8dcb in vfprintf_l ()
 #3  0x00007fff83ff8d4e in fprintf ()
 #4  0x0000000100250775 in reportCCSProfiling ()
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to