[ ghc-Bugs-1198393 ] Program aborts with segmentation fault when profiling used.

SourceForge.net noreply at sourceforge.net
Mon May 9 12:23:40 EDT 2005


Bugs item #1198393, was opened at 2005-05-09 09:21
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1198393&group_id=8032

Category: Profiling
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Program aborts with segmentation fault when profiling used.

Initial Comment:
I have a program that I have compiled under ghc6.5
(downloaded from the CVS repository on May 5/6), on
Fedora-2 core running on a PC.  This will run fine when
compiled without profiling.  With profiling enabled
(-prof -auto-all with GHC, and +RTS -p for the
program), it aborts, with the message "internal error:
Segmentation fault".

The same program will compile and run, both with and
without profiling, under ghc6.2.1.  I have also tried
with different datasets, and the same pattern occurs.

I updated my ghc installation from CVS today (9th May),
but have not been able to update my ghc installation 
to see if this problem has been removed, as the
fptools-level build process is failing, with the
Haddock build complaining that parsec-1.0 is an unknown
package when building Utils.hs; building in the ghc dir
results in a failure to find a module Version when
building Main.hs in the utils/ghc-pkg area.

The program and dataset are contained in the attached
gzip'd tar file.  I compile it (without profiling) using

ghc --make -fglasgow-exts -o Reader Reader.hs

 

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2005-05-09 09:23

Message:
Logged In: NO 

Submitter forgot to add: contact email address is
David Duke, email djd at comp.leeds.ac.uk

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1198393&group_id=8032



More information about the Glasgow-haskell-bugs mailing list