public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* bug report - BUG: builtin/pack-objects.c:4310: should_include_obj should only be called on existing objects
@ 2025-04-25 18:14 Nik Garza
  2025-04-25 18:30 ` Elijah Newren
  0 siblings, 1 reply; 5+ messages in thread
From: Nik Garza @ 2025-04-25 18:14 UTC (permalink / raw)
  To: git


[-- Attachment #1.1: Type: text/plain, Size: 154 bytes --]

reporting the attached bug:



-- 

*Nikolas Garza*

Software Engineer

nikolas@applied•co

(209) 499-1193

Applied Intuition, Inc. <https://applied.co/>

[-- Attachment #1.2: Type: text/html, Size: 1774 bytes --]

[-- Attachment #2: git-bugreport-2025-04-24-1725.txt --]
[-- Type: text/plain, Size: 1905 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-17 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25 18:14 bug report - BUG: builtin/pack-objects.c:4310: should_include_obj should only be called on existing objects Nik Garza
2025-04-25 18:30 ` Elijah Newren
2025-04-28 19:23   ` Jonathan Tan
2025-04-28 22:55     ` Nik Garza
2025-10-17 15:57       ` Sam Estep

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox