[darcs-users] Darcs segfault

Erik de Castro Lopo mle+tools at mega-nerd.com
Wed Mar 9 08:22:02 UTC 2011


Ganesh Sittampalam wrote:

> On Wed, 9 Mar 2011, Erik de Castro Lopo wrote:
> 
> > Erik de Castro Lopo wrote:
> >
> >> I've just scp (secure copied) a darcs repo from an powerpc-linux
> >> (big endian) machine to a x86_64-linux machine (little endian)
> >> and now "darcs whatsnew -s" is segfaulting (strace below).
> >>
> >> Is this a known issue?
> >
> > Sorry, darcs 2.4.4 from Debian.
> 
> Almost certainly caused by _darcs/index - try just removing that.

Yes, that fixed it. Thanks.

> I'm not sure if later versions make a check on endianness/bit size before 
> reading the file, but we should add one if not.

Yes, that is a bug that I would love to see fixed.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the darcs-users mailing list