compiled program segfaults
The enclosed program segfaults on the enclosed input, like
$ ./dissect <res.txt
[Sensible output]
Segmentation fault
This is with default compilation: ghc dissect.hs -o dissect
With optimalization enabled (ghc -O dissect.hs -o dissect) the same
error does not happen.
This happens on Debian Woody, ghc apt-got from
deb http://www.syntaxpolice.org/haskell-experimental/ stable/
Linux kernel 2.4.20, libc 2.2.5-11.5
Trac metadata
Trac field |
Value |
Version |
6.0.1 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedDuplicate |
Component |
None |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|