[GHC] #8817: segmentation fault in 7.8 RC1

GHC ghc-devs at haskell.org
Sun Feb 23 12:26:43 UTC 2014


#8817: segmentation fault in 7.8 RC1
----------------------------------+-------------------------------------
       Reporter:  hamishmack      |             Owner:
           Type:  bug             |            Status:  new
       Priority:  high            |         Milestone:
      Component:  Compiler        |           Version:  7.8.1-rc1
       Keywords:                  |  Operating System:  Unknown/Multiple
   Architecture:  x86_64 (amd64)  |   Type of failure:  None/Unknown
     Difficulty:  Unknown         |         Test Case:
     Blocked By:                  |          Blocking:
Related Tickets:                  |
----------------------------------+-------------------------------------
 I get a segmentation fault if I do the following on OS X...

 * cabal install cpphs --reinstall --force-reinstall --ghc-options=-rtsopts
 * cpphs +RTS -A16384 -RTS /usr/include/stdio.h

 Running in gdb the stack shows we are in stg_ap_0_fast and it looks like
 it is trying to dereference a pointer value of 0x5000500050000 that is in
 the rbx register.

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


More information about the ghc-tickets mailing list