logo       

[ ghc-Bugs-1277825 ] segmentation fault when profiling large case: msg#00001

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1277825 ] segmentation fault when profiling large case

Bugs item #1277825, was opened at 2005-08-31 17:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277825&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Profiling
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: segmentation fault when profiling large case

Initial Comment:
If the attached file is compiled with -prof -auto-all,
the binary produced will segfault (even if RTS
profiling options are not present). This seems to be
caused by a combination of a case statement with a
large number of branches and a relatively complex value
at the end of each branch - reducing the number of
branches by one or changing any of the data
declarations to newtypes eliminates the segfault.

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

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise