Re: Git core dump checking out main on armv7

bob prohaska <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Hi Robert,

On Tue, Jun 18, 2024 at 06:43:44PM +0200, Robert Clausecker wrote:
> Hi Bob,
> 
> I'm not sure what the exact experiment would be.  The likely cause is
> that the meta data is too large to fit into the address space available.
> You might be able to make things work by doing shallow fetches / pulls,
> as these don't pull the intermediate commits.
> 
I just tried re-cloning a fresh copy of the archive as an experiment:

# git clone --depth=1 -o freebsd https://git.FreeBSD.org/src.git /usr/src
Cloning into '/usr/src'...
remote: Enumerating objects: 104618, done.
remote: Counting objects: 100% (104618/104618), done.
remote: Compressing objects: 100% (88910/88910), done.
remote: Total 104618 (delta 22080), reused 43680 (delta 11795), pack-reused 0
Receiving objects: 100% (104618/104618), 345.12 MiB | 1.09 MiB/s, done.
fatal: pack is corrupted (SHA1 mismatch)
fatal: fetch-pack: invalid index-pack output

I've been seeing this sort of error repeated over the past weeks.
It doesn't look like a local problem to me.

Thanks for writing,

bob prohaska
 
> Am Tue, Jun 18, 2024 at 09:29:41AM -0700 schrieb bob prohaska:
> > On Tue, Jun 18, 2024 at 05:50:58PM +0200, Robert Clausecker wrote:
> > > Hi Bob,
> > > 
> > > This sounds like an address space exhaustion.  Does this error also
> > > appear on an armv7 jail on an arm64 host?
> > > 
> > >
> >  
> > I can try the experiment if there's a description on how to do it.
> > 
> > The git core dump occurred trying to update 14.0-RELEASE-p6 FreeBSD.
> > What I'm trying to do is follow stable/14, but somehow got into a
> > state where the local source repository reported "up to date".
> > Attempts to find a releng or stable branch failed, reporting missing
> > files, so I decided to switch to main and then look for a suitable
> > branch again.
> > 
> > Maybe this is corrupted local repository, but being a microSD hosted
> > system I wanted to minimize re-writes. Earlier attempts to re-clone
> > failed, which I attributed to the transition to 14.1. The core dump
> > looks like it might be a bug. 
> > 
> > Thanks for writing,
> > 
> > bob prohaska
> > 
> > > Am Tue, Jun 18, 2024 at 08:21:21AM -0700 schrieb bob prohaska:
> > > > Git dumped core while trying to check out main on an armv7 RPi2.
> > > > The core file is about half a GB, which seems oddly large. I've
> > > > placed a copy at
> > > > http://www.zefox.net/~fbsd/git.core
> > > > in case anybody's willing to look at it. 
> > > > 
> > > > Thanks for reading,
> > > > 
> > > > bob prohaska
> > > > 
> > > > 
> > > > 
> > > 
> > > -- 
> > > ()  ascii ribbon campaign - for an encoding-agnostic world
> > > /\  - against html email  - against proprietary attachments
> 
> -- 
> ()  ascii ribbon campaign - for an encoding-agnostic world
> /\  - against html email  - against proprietary attachments
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.