[darcs-users] fromJust error in darcs-2.0.0
Jason Dagit
dagit at codersbase.com
Wed Apr 23 05:14:12 UTC 2008
On Tue, Apr 22, 2008 at 9:50 PM, Greg Holtz <gh2377 at hotmail.com> wrote:
> Hello,
> That was a fast response!
>
You're welcome, you just sent your message at the right time :)
>
> I tried compiling with both --disable-optimize and --disable-mmap
> (hints I got from the darcs.net binaries page under Solaris), but it
> doesn't resolve this issue.
>
That's too bad. It would have been an easy work around.
Is there any way to get more detailed information about the nature
> of the error?
>
You could enable some of the new verbosity options, check 'darcs changes
--help' for more options, but you could try:
darcs changes --debug-verbose
What is your full configure command? Specifically, I'm wondering if you're
using the old fast packed strings or the new ByteString. The see a few
things that could each be questionable where the fromJust is failing:
*mmap could be subtly different than on other platforms
*there are several calls to unsafeInterleave functions, but often this is
safe in practice
*either FastPackedStrings or ByteStrings are used here
My understanding from your first email is that you get this behavior even on
darcs' test suite, so it's not a problem with a corrupt repository.
Some people have luck with strace and similar on the darcs binary. It might
be worth a try, but personally I find the output of strace to be so tedius
to examine that I'm more likely to add more debugging output in the program.
I hope that helps,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osuosl.org/pipermail/darcs-users/attachments/20080422/3d0c8f40/attachment.htm
More information about the darcs-users
mailing list