bug report - BUG: builtin/pack-objects.c:4310: should_include_obj should only be called on existing objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



reporting the attached bug:



--

Nikolas Garza

Software Engineer

nikolas@xxxxxxxxxx

(209) 499-1193

Applied Intuition, Inc.


Thank you for filling out a Git bug report!
Please answer the following questions to help us understand your issue.

Continually hitting a oack-objects error when fetching tags in my repo. This occurs in CI during critical jobs. The issues is flaky but leads to an unreliable system.

The Error:

ERROR: Failed to fetch git tags from origin!
	Stdout:
	Stderr:
BUG: builtin/pack-objects.c:4310: should_include_obj should only be called on existing objects
error: pack-objects died of signal 6
fatal: could not finish pack-objects to repack local links
fatal: index-pack failed


What did you do before the bug happened? (Steps to reproduce your issue)

ran the following:

git fetch origin refs/tags/<version-identified>.*refs/tags/<version-identifier.*

What did you expect to happen? (Expected behavior)

tags to be fetched to the CI machine running this command 

What happened instead? (Actual behavior)

error above was thrown causing the job to fail

What's different between what you expected and what actually happened?

pretty simple...we expect the fetch to work as expected

Anything else you want to add:

we are pretty sure retries will resovle the issue but that shouldn't bne necessary. 

we upgraded git from version 2.47.0 -> 2.49.0 and then started seeing the issue so we believe this is a low level git issue itself and not our use of git in our repo

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.49.0
cpu: x86_64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
libcurl: 8.5.0
zlib: 1.3
uname: Linux 5.15.0-134-generic #145~20.04.1-Ubuntu SMP Mon Feb 17 13:27:16 UTC 2025 x86_64
compiler info: gnuc: 13.3
libc info: glibc: 2.39
$SHELL (typically, interactive shell): <unset>


[Enabled Hooks]
post-checkout
post-commit
post-merge
pre-commit
pre-push

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux