[GHC] #1925: ghc-6.8.1 segfaults with clean Parsec code
GHC
trac at galois.com
Sat Nov 24 10:44:45 EST 2007
#1925: ghc-6.8.1 segfaults with clean Parsec code
------------------------+---------------------------------------------------
Reporter: Paczesiowa | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.1
Severity: major | Keywords:
Testcase: | Architecture: Multiple
Os: Multiple |
------------------------+---------------------------------------------------
ghc -e and ghci segfault with this code. this should explain itself:
{{{
paczesiowa at paczesiowa ~ $ ghc Segfault.hs -e "main" -Wall -Werror
Segmentation fault
paczesiowa at paczesiowa ~ $ ghci Segfault.hs
GHCi, version 6.8.1: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
[1 of 1] Compiling Main ( Segfault.hs, interpreted )
Ok, modules loaded: Main.
*Main> main
Loading package parsec-2.1.0.0 ... linking ... done.
Segmentation fault
paczesiowa at paczesiowa ~ $ ghc Segfault.hs -package parsec -o segfault &&
./segfault
Struct "john" [Numb 1]
}}}
I'm sorry that this file is that big, but I couldn't locate exact error-
prone code.
It happens on x86,x64,ppc-G4 linux and windows.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1925>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list