#4505: Segmentation fault on long input (list of pairs)
---------------------------------------------------------+------------------
Reporter: cathper | Owner:
simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.0.2
Component: Compiler | Version: 7.0.1
Keywords: Segmentation fault, segfault, long input | Testcase:
Blockedby: | Difficulty:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure:
Runtime crash
---------------------------------------------------------+------------------
Comment(by cathper):
Yes. The compilation time varies quite much, though.
{{{
> ghc --version; wget -q http://hackage.haskell.org/trac/ghc/raw-
attachment/ticket/4505/LongList.hs && time nice ghc --make LongList.hs
The Glorious Glasgow Haskell Compilation System, version 6.12.1
[1 of 1] Compiling Main ( LongList.hs, LongList.o )
Linking LongList ...
nice ghc --make LongList.hs 63,91s user 1,11s system 99% cpu 1:05,28
total
> rm LongList*
> /tmp/ghc7/bin/ghc --version; wget -q http://hackage.haskell.org/trac/ghc
/raw-attachment/ticket/4505/LongList.hs && time nice /tmp/ghc7/bin/ghc
--make LongList.hs
The Glorious Glasgow Haskell Compilation System, version 7.0.1
[1 of 1] Compiling Main ( LongList.hs, LongList.o )
nice /tmp/ghc7/bin/ghc --make LongList.hs 515,28s user 2,06s system 99%
cpu 8:40,01 total
> uname -a
Linux freja 2.6.32-25-server #44-Ubuntu SMP Fri Sep 17 21:13:39 UTC 2010
x86_64 GNU/Linux
> cat /proc/cpuinfo|grep "model name"|head -n 1
model name : Intel(R) Xeon(R) CPU E5420 @ 2.50GHz
}}}
It uses > 1 GB of RAM.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4505#comment:5>
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