[darcs-devel] [issue1068] annotate stack overflow

Simon Michael bugs at darcs.net
Thu Dec 16 18:29:30 UTC 2010


Simon Michael <simon at joyful.com> added the comment:

Update: no, this bug is still very much with us:

~/src/ghc$ time darcs annotate README
Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.

real	4m49.721s
user	1m14.573s
sys	0m16.529s

This issue is marked "superseded by #1566", which looks as if it might 
be not far from landing. If that's not the case, an interim usability 
fix for this would be good - it's an easily encountered stack overflow 
that was reported two years ago and is still scaring new users away from 
darcs (heard from kmc on #haskell today). Is it feasible to guestimate 
the size of the annotate operation ahead of time and exit with a 
friendly warning instead of a run-time error ? If not, even printing a 
warning about this issue before attempting any annotate would cushion 
the blow.

----------
status: deferred -> unknown

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1068>
__________________________________


More information about the darcs-devel mailing list