[Bug 281689] git clone on big repository fails on armv7 14.1-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 24 Sep 2024 16:40:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281689

            Bug ID: 281689
           Summary: git clone on big repository fails on armv7
                    14.1-RELEASE
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: szczepan@szczepan.net

Created attachment 253798
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253798&action=edit
gdb bt output from core dump

Doing git clone, for example of FreeBSD src repo, fails with:

root@generic:~ # git clone https://github.com/freebsd/freebsd-src.git
Cloning into 'freebsd-src'...
remote: Enumerating objects: 5100659, done.
remote: Counting objects: 100% (3293/3293), done.
remote: Compressing objects: 100% (1839/1839), done.
fatal: fetch-pack: invalid index-pack output.52 MiB | 2.06 MiB/s

Doing clone using ssh:// yields the same results. Sometimes it take
longer/shorter to fail with error. Downloading big files using fetch/pkg also
works without any issues.

Tested on both real hardware (OrangePi Plus 2E) and under qemu, using
14.1-RELEASE image on both and git from pkg.

Attaching gdb bt output from core dump. Also did truss on the run and the error
before fail is:
write(4,"\M-d\M-*~nW>\M-K\M^N\M-Z\M-3\M-{"...,8192) ERR#32 'Broken pipe'

Doing the same using FreeBSD-13.4-RELEASE-arm-armv7-GENERICSD.img works without
any errors.

Command I use for running qemu:

qemu-system-arm -bios edk2-arm-code.fd -M virt -cpu cortex-a7 -smp 4 -m 2G
-drive format=raw,file=FreeBSD-14.1-RELEASE-arm-armv7-GENERICSD.img,if=virtio
-nic user,model=virtio-net-pci

-- 
You are receiving this mail because:
You are the assignee for the bug.