Public bug reported:

Title: git-receive-pack SIGSEGV in receive-pack.c:1787 when deleting
remote branch (local bare repo)

Package: git 1:2.48.1-0ubuntu1.1
Ubuntu: 25.04 “plucky”
Kernel: 6.14.0-37-generic
Arch: amd64

Repro (always happens):

cd /home/seth/dev/selvo
git branch -f chore/receive-pack-test HEAD
git push origin chore/receive-pack-test
git push origin --delete chore/receive-pack-test
Result:

Segmentation fault (core dumped)
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Server-side context:

Remote is a local bare repo: selvo.git
Crash is in server helper git-receive-pack
Reproducible every time for git push origin --delete <branch>
Backtrace (with dbgsym):

Core was generated by `/usr/lib/git-core/git-receive-pack 
/home/seth/dev/selvohub/selvo.git`.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00005ba45f0f9b1a in iterate_receive_command_list (cb_data=0x7ffdd4cad140)
    at builtin/receive-pack.c:1787
Notes:

selvo.git reports no corruption (only dangling commits).
Crash only occurs on delete push; regular pushes succeed.

** Affects: git (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137113

Title:
  git-receive-pack SIGSEGV in receive-pack.c:1787 when deleting remote
  branch (local bare repo)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/2137113/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to