[GHC] #8817: segmentation fault in 7.8 RC1
GHC
ghc-devs at haskell.org
Mon Feb 24 08:19:38 UTC 2014
#8817: segmentation fault in 7.8 RC1
-------------------------------------+----------------------------------
Reporter: hamishmack | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
Component: Compiler | Version: 7.8.1-rc1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: x86_64 (amd64)
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+----------------------------------
Changes (by hvr):
* milestone: => 7.8.1
Old description:
> 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.
New description:
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#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list