Ticket #4505 (new bug)
Segmentation fault on long input (list of pairs)
| Reported by: | cathper | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 7.6.2 |
| Component: | Compiler | Version: | 7.0.1 |
| Keywords: | Segmentation fault, segfault, long input | Cc: | cathper@… |
| Operating System: | Linux | Architecture: | x86_64 (amd64) |
| Type of failure: | Runtime crash | Difficulty: | |
| Test Case: | Blocked By: | #4258 | |
| Blocking: | Related Tickets: |
Description
When compiling LongList?.hs with
ghc --make LongList.hs
then running the output gives a segfault:
$ ./LongList 8595 Segmentation fault
It also segfaults with ghc 6.12.1 (without printing 8595) and with ghc 6.12.3.
On ghc 6.12.3 running on Mac OS 10.5, no segfault is seen. (I haven't tried much longer input, since it already eats up approx. 1.2 GB of RAM.)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

