Ticket #181 (closed bug: Duplicate)

Opened 10 years ago

Last modified 43 years ago

compiled program segfaults

Reported by: wferi Owned by: nobody
Priority: normal Milestone:
Component: None Version: 6.0.1
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

Attachments

dissect.2.hs Download (2.8 KB) - added by wferi 10 years ago.
res.2.txt Download (26.9 KB) - added by wferi 10 years ago.

Change History

Changed 10 years ago by wferi

Changed 10 years ago by wferi

Changed 10 years ago by hampusr

Logged In: YES 
user_id=159064

Since the SIGSEGV appears in regfree I think this is the
very same bug as #802692. So there is nothing to do but wait
for next release or use version from CVS...

Changed 10 years ago by simonmar

  • status changed from assigned to closed
Logged In: YES 
user_id=48280

Yes, this is the finalizer bug that affects
Text.Regex.Posix.  Will be fixed in 6.2.

Note: See TracTickets for help on using tickets.