Bugs item #1277825, was opened at 2005-08-31 17:31
Message generated for change (Comment added) made by fergus
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.

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

Comment By: Fergus Henderson (fergus)
Date: 2005-09-14 11:10

Message:
Logged In: YES 
user_id=135331

No, I am not the original submitter.


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

Comment By: Simon Marlow (simonmar)
Date: 2005-09-13 01:51

Message:
Logged In: YES 
user_id=48280

Fergus - are you the original submitter?

What was different about the environment in which the bug
exhibits?

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

Comment By: Fergus Henderson (fergus)
Date: 2005-09-05 14:48

Message:
Logged In: YES 
user_id=135331

I tried reproducing this using ghc 6.4 on Debian Linux,
but I was unable to reproduce the bug.  The program compiled
fine with "ghc -prof -auto-all bug.hs" and I was able to get
a profile
by running "./a.out +RTS -p" and looking at a.out.prof.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1277825&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to