git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Bugreport: pack-objects died of signal 11

From
PHPaul Horn <git@knutwalker.engineer>
Date
Jul 12, 2022, 08:51 UTC
Message-ID
<977a6e0e-251c-4fa5-8b3b-fa3e2a761926@www.fastmail.com>
Hi,
ultimately, `git repack` segfaults:
    $ git repack
    error: pack-objects died of signal 11
This also errors out GC runs and breaks index maintenance, though other commands still succeed.
    $ cat $(git rev-parse --git-dir)/gc.log
    error: pack-objects died of signal 11
    fatal: failed to run repack

The repository is a bare repository with 11 worktrees. I can only observe this error in this repository, others do not reproduce it. The attached log contains the output of `GIT_TRACE=1 GIT_TRACE_PACK_ACCESS=1 git repack`

[System Info] git version: git version 2.37.0 cpu: arm64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Darwin 21.4.0 Darwin Kernel Version 21.4.0: Fri Mar 18 00:46:32 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T6000 arm64 compiler info: clang: 13.1.6 (clang-1316.0.21.2.5) libc info: no libc information available $SHELL (typically, interactive shell): /opt/homebrew/bin/bash

[Enabled Hooks]

Cheers, Paul

Next: Jeff King
Message 1 of 15 in “Bugreport: pack-objects died of signal 11”
  1. Paul HornJul 12, 2022
  2. Jeff KingJul 14, 2022
  3. Emily NonemanAug 4, 2022
  4. Derrick StoleeAug 4, 2022
  5. Ævar Arnfjörð BjarmasonAug 4, 2022
  6. Emily NonemanAug 4, 2022
  7. revision.c: set-up "index_state.repo", don't segfault in pack-objectsÆvar Arnfjörð Bjarmason, Aug 5, 2022
  8. Derrick StoleeAug 5, 2022
  9. Jeff KingAug 5, 2022
  10. Junio C HamanoAug 5, 2022
  11. Emily NonemanAug 8, 2022
  12. Jeff KingAug 9, 2022
  13. Junio C HamanoAug 9, 2022
  14. Jeff KingAug 9, 2022
  15. Junio C HamanoAug 9, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.