Skip to content

program seqfaults when translated with profiling

The following program seqfaults when translated with
profiling under linux und with ghc-6.4 and ghc-6.4.1.

If I omit the last element of the string list or if I
use the list directly (without the definitiion of the
constant "mainS") the problem is gone. Also ghc-6.2.2
does not have the problem.

maeder@jupiter -> ghc --version
The Glorious Glasgow Haskell Compilation System,
version 6.4.1.20050517

maeder@jupiter -> ghc --make -prof -auto-all
seqfault.hs -no-recomp
Chasing modules from: seqfault.hs
Compiling Main             ( seqfault.hs, seqfault.o )
Linking ...

maeder@jupiter -> ./a.out
Segmentation fault

maeder@jupiter -> uname -a
Linux jupiter 2.6.8-24.14-smp #1 SMP Tue Mar 29
09:27:43 UTC 2005 i686 i686 i386GNU/Linux
Trac metadata
Trac field Value
Version 6.4
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information