{"thread":{"id":"56804","subject":"bug: invalid sha1 pointer in cache-tree","startedAt":"2021-10-29T05:57:26Z","lastAt":"2021-11-02T17:06:19Z","messageCount":2,"participants":["Joel Stanley","Emily Shaffer"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"439980","messageId":"CACPK8Xcm-ivTkPVpF3XwaniUeyM_RJVLY9wSvBKbr-7rUYgdmQ@mail.gmail.com","threadId":"56804","inReplyTo":null,"subject":"bug: invalid sha1 pointer in cache-tree","fromName":"Joel Stanley","fromEmail":"joel@jms.id.au","sentAt":"2021-10-29T05:57:11Z","receivedAt":"2021-10-29T05:57:26Z","isPatch":false,"sender":{"key":"joel@jms.id.au","avatar":null},"body":"Hello,\n\nI've filled out git-bugreport after discussing this issue with a git\ndeveloper. I'm not sure if it's user error, disk corruption, or a bug\nin git. Any insight would be appreciated!\n\nWhat did you do before the bug happened? (Steps to reproduce your issue)\n\nI was attempting to merge a tag into the current branch. Before I did so, I\nreset'd away a commit I didn't want:\n\n$ git reset HEAD~1 --hard\nerror: Could not read 7c03aa457205afa2def273129653bea6225c5a0a\nHEAD is now at 387b8b425339 spi: fsi: Print status on error\n\nI fetched the tag I was after:\n\n$ git fetch  stable\nFrom https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux\n   ed99bf0e81b5..2760370b1649  linux-4.14.y         -> stable/linux-4.14.y\n   e34184f53363..ff079d726eb6  linux-4.19.y         -> stable/linux-4.19.y\n   1392fe82d7fb..c67099a5bc53  linux-4.4.y          -> stable/linux-4.4.y\n   9e8a7b701479..aa13f01432a2  linux-4.9.y          -> stable/linux-4.9.y\n   5aa003b38148..3a9842b42e42  linux-5.10.y         -> stable/linux-5.10.y\n   924356b31dcb..fe024e004fa3  linux-5.14.y         -> stable/linux-5.14.y\n   faaca480fd5c..4f508aa9dd3b  linux-5.4.y          -> stable/linux-5.4.y\n   080735f6de74..dddcb86bb323  linux-rolling-lts    -> stable/linux-rolling-lts\n   66035107bbad..cc0dfcda549b  linux-rolling-stable ->\nstable/linux-rolling-stable\n   5d6ab0bb408f..3906fe9bb7f1  master               -> stable/master\n * [new tag]                   v4.14.251            -> v4.14.251\n * [new tag]                   v4.14.252            -> v4.14.252\n * [new tag]                   v4.19.211            -> v4.19.211\n * [new tag]                   v4.19.212            -> v4.19.212\n * [new tag]                   v4.19.213            -> v4.19.213\n * [new tag]                   v4.4.289             -> v4.4.289\n * [new tag]                   v4.9.287             -> v4.9.287\n * [new tag]                   v5.10.73             -> v5.10.73\n * [new tag]                   v5.10.74             -> v5.10.74\n * [new tag]                   v5.10.75             -> v5.10.75\n * [new tag]                   v5.14.12             -> v5.14.12\n * [new tag]                   v5.14.13             -> v5.14.13\n * [new tag]                   v5.14.14             -> v5.14.14\n * [new tag]                   v5.15-rc5            -> v5.15-rc5\n * [new tag]                   v5.15-rc6            -> v5.15-rc6\n * [new tag]                   v5.15-rc7            -> v5.15-rc7\n * [new tag]                   v5.4.153             -> v5.4.153\n * [new tag]                   v5.4.154             -> v5.4.154\n * [new tag]                   v5.4.155             -> v5.4.155\n\nThis is the merge. I hadn't touched any of these files (I don't work on\narch/xtensa at all), so this was unexpected:\n\n$ git merge v5.14.14\nerror: Your local changes to the following files would be overwritten by merge:\n  arch/xtensa/include/uapi/asm/Kbuild\narch/xtensa/include/uapi/asm/auxvec.h\narch/xtensa/include/uapi/asm/byteorder.h\narch/xtensa/include/uapi/asm/ioctls.h\narch/xtensa/include/uapi/asm/ipcbuf.h\narch/xtensa/include/uapi/asm/mman.h\narch/xtensa/include/uapi/asm/msgbuf.h\narch/xtensa/include/uapi/asm/param.h\narch/xtensa/include/uapi/asm/poll.h\narch/xtensa/include/uapi/asm/posix_types.h\narch/xtensa/include/uapi/asm/ptrace.h\narch/xtensa/include/uapi/asm/sembuf.h\narch/xtensa/include/uapi/asm/setup.h\narch/xtensa/include/uapi/asm/shmbuf.h\narch/xtensa/include/uapi/asm/sigcontext.h\narch/xtensa/include/uapi/asm/signal.h\narch/xtensa/include/uapi/asm/sockios.h\narch/xtensa/include/uapi/asm/stat.h\narch/xtensa/include/uapi/asm/swab.h\narch/xtensa/include/uapi/asm/termbits.h\narch/xtensa/include/uapi/asm/types.h\narch/xtensa/include/uapi/asm/unistd.h arch/xtensa/kernel/.gitignore\narch/xtensa/kernel/Makefile arch/xtensa/kernel/align.S\narch/xtensa/kernel/asm-offsets.c arch/xtensa/kernel/coprocessor.S\narch/xtensa/kernel/entry.S arch/xtensa/kernel/head.S\narch/xtensa/kernel/hw_breakpoint.c arch/xtensa/kernel/irq.c\narch/xtensa/kernel/jump_label.c arch/xtensa/kernel/mcount.S\narch/xtensa/kernel/module.c arch/xtensa/kernel/mxhead.S\narch/xtensa/kernel/pci-dma.c arch/xtensa/kernel/pci.c\narch/xtensa/kernel/perf_event.c arch/xtensa/kernel/platform.c\narch/xtensa/kernel/process.c arch/xtensa/kernel/ptrace.c\narch/xtensa/kernel/s32c1i_selftest.c arch/xtensa/kernel/setup.c\narch/xtensa/kernel/signal.c arch/xtensa/kernel/smp.c\narch/xtensa/kernel/stacktrace.c arch/xtensa/kernel/syscall.c\narch/xtensa/kernel/syscalls/Makefile\narch/xtensa/kernel/syscalls/syscall.tbl arch/xtensa/kernel/time.c\narch/xtensa/kernel/traps.c arch/xtensa/kernel/vectors.S\narch/xtensa/kernel/vmlinux.lds.S arch/xtensa/kernel/xtensa_ksyms.c\narch/xtensa/lib/Makefile arch/xtensa/lib/checksum.S\narch/xtensa/lib/memcopy.S arch/xtensa/lib/memset.S\narch/xtensa/lib/pci-auto.c arch/xtensa/lib/strncpy_user.S\narch/xtensa/lib/strnlen_user.S arch/xtensa/lib/usercopy.S\narch/xtensa/mm/Makefile arch/xtensa/mm/cache.c arch/xtensa/mm/fault.c\narch/xtensa/mm/highmem.c arch/xtensa/mm/init.c\narch/xtensa/mm/ioremap.c arch/xtensa/mm/kasan_init.c\narch/xtensa/mm/misc.S arch/xtensa/mm/mmu.c arch/xtensa/mm/tlb.c\narch/xtensa/platforms/iss/Makefile arch/xtensa/platforms/iss/console.c\narch/xtensa/platforms/iss/include/platform/serial.h\narch/xtensa/platforms/iss/include/platform/simcall-gdbio.h\narch/xtensa/platforms/iss/include/platform/simcall-iss.h\narch/xtensa/platforms/iss/include/platform/simcall.h\narch/xtensa/platforms/iss/network.c arch/xtensa/platforms/iss/setup.c\narch/xtensa/platforms/iss/simdisk.c\narch/xtensa/platforms/xt2000/Makefile\narch/xtensa/platforms/xt2000/include/platform/hardware.h\narch/xtensa/platforms/xt2000/include/platform/serial.h\narch/xtensa/platforms/xt2000/setup.c\narch/xtensa/platforms/xtfpga/Makefile\narch/xtensa/platforms/xtfpga/include/platform/hardware.h\narch/xtensa/platforms/xtfpga/include/platform/lcd.h\narch/xtensa/platforms/xtfpga/include/platform/serial.h\narch/xtensa/platforms/xtfpga/lcd.c\narch/xtensa/platforms/xtfpga/setup.c\narch/xtensa/variants/csp/include/variant/core.h\narch/xtensa/variants/csp/include/variant/tie-asm.h\narch/xtensa/variants/csp/include/variant/tie.h\narch/xtensa/variants/dc232b/include/variant/core.h\narch/xtensa/variants/dc232b/include/variant/tie-asm.h\narch/xtensa/variants/dc232b/include/variant/tie.h\narch/xtensa/variants/dc233c/include/variant/core.h\narch/xtensa/variants/dc233c/include/variant/tie-asm.h\narch/xtensa/variants/dc233c/include/variant/tie.h\narch/xtensa/variants/de212/include/variant/core.h\narch/xtensa/variants/de212/include/variant/tie-asm.h\narch/xtensa/variants/de212/include/variant/tie.h\narch/xtensa/variants/fsf/include/variant/core.h\narch/xtensa/variants/fsf/include/variant/tie-asm.h\narch/xtensa/variants/fsf/include/variant/tie.h\narch/xtensa/variants/test_kc705_be/include/variant/core.h\narch/xtensa/variants/test_kc705_be/include/variant/tie-asm.h\narch/xtensa/variants/test_kc705_b\n$ git status\nOn branch dev-5.14\nChanges to be committed:\n  (use \"git restore --staged <file>...\" to unstage)\n    new file:   arch/xtensa/include/uapi/asm/Kbuild\n    new file:   arch/xtensa/include/uapi/asm/auxvec.h\n    new file:   arch/xtensa/include/uapi/asm/byteorder.h\n    new file:   arch/xtensa/include/uapi/asm/ioctls.h\n    new file:   arch/xtensa/include/uapi/asm/ipcbuf.h\n    new file:   arch/xtensa/include/uapi/asm/mman.h\n    new file:   arch/xtensa/include/uapi/asm/msgbuf.h\n    new file:   arch/xtensa/include/uapi/asm/param.h\n    new file:   arch/xtensa/include/uapi/asm/poll.h\n    new file:   arch/xtensa/include/uapi/asm/posix_types.h\n    new file:   arch/xtensa/include/uapi/asm/ptrace.h\n    new file:   arch/xtensa/include/uapi/asm/sembuf.h\n    new file:   arch/xtensa/include/uapi/asm/setup.h\n    new file:   arch/xtensa/include/uapi/asm/shmbuf.h\n    new file:   arch/xtensa/include/uapi/asm/sigcontext.h\n    new file:   arch/xtensa/include/uapi/asm/signal.h\n    new file:   arch/xtensa/include/uapi/asm/sockios.h\n    new file:   arch/xtensa/include/uapi/asm/stat.h\n    new file:   arch/xtensa/include/uapi/asm/swab.h\n    new file:   arch/xtensa/include/uapi/asm/termbits.h\n    new file:   arch/xtensa/include/uapi/asm/types.h\n    new file:   arch/xtensa/include/uapi/asm/unistd.h\n    new file:   arch/xtensa/kernel/.gitignore\n    new file:   arch/xtensa/kernel/Makefile\n    new file:   arch/xtensa/kernel/align.S\n    new file:   arch/xtensa/kernel/asm-offsets.c\n    new file:   arch/xtensa/kernel/coprocessor.S\n    new file:   arch/xtensa/kernel/entry.S\n    new file:   arch/xtensa/kernel/head.S\n    new file:   arch/xtensa/kernel/hw_breakpoint.c\n    new file:   arch/xtensa/kernel/irq.c\n    new file:   arch/xtensa/kernel/jump_label.c\n    new file:   arch/xtensa/kernel/mcount.S\n    new file:   arch/xtensa/kernel/module.c\n    new file:   arch/xtensa/kernel/mxhead.S\n    new file:   arch/xtensa/kernel/pci-dma.c\n    new file:   arch/xtensa/kernel/pci.c\n    new file:   arch/xtensa/kernel/perf_event.c\n    new file:   arch/xtensa/kernel/platform.c\n    new file:   arch/xtensa/kernel/process.c\n    new file:   arch/xtensa/kernel/ptrace.c\n    new file:   arch/xtensa/kernel/s32c1i_selftest.c\n    new file:   arch/xtensa/kernel/setup.c\n    new file:   arch/xtensa/kernel/signal.c\n    new file:   arch/xtensa/kernel/smp.c\n    new file:   arch/xtensa/kernel/stacktrace.c\n    new file:   arch/xtensa/kernel/syscall.c\n    new file:   arch/xtensa/kernel/syscalls/Makefile\n    new file:   arch/xtensa/kernel/syscalls/syscall.tbl\n    new file:   arch/xtensa/kernel/time.c\n    new file:   arch/xtensa/kernel/traps.c\n    new file:   arch/xtensa/kernel/vectors.S\n    new file:   arch/xtensa/kernel/vmlinux.lds.S\n    new file:   arch/xtensa/kernel/xtensa_ksyms.c\n    new file:   arch/xtensa/lib/Makefile\n    new file:   arch/xtensa/lib/checksum.S\n    new file:   arch/xtensa/lib/memcopy.S\n    new file:   arch/xtensa/lib/memset.S\n    new file:   arch/xtensa/lib/pci-auto.c\n    new file:   arch/xtensa/lib/strncpy_user.S\n    new file:   arch/xtensa/lib/strnlen_user.S\n    new file:   arch/xtensa/lib/usercopy.S\n    new file:   arch/xtensa/mm/Makefile\n    new file:   arch/xtensa/mm/cache.c\n    new file:   arch/xtensa/mm/fault.c\n    new file:   arch/xtensa/mm/highmem.c\n    new file:   arch/xtensa/mm/init.c\n    new file:   arch/xtensa/mm/ioremap.c\n    new file:   arch/xtensa/mm/kasan_init.c\n    new file:   arch/xtensa/mm/misc.S\n    new file:   arch/xtensa/mm/mmu.c\n    new file:   arch/xtensa/mm/tlb.c\n    new file:   arch/xtensa/platforms/iss/Makefile\n    new file:   arch/xtensa/platforms/iss/console.c\n    new file:   arch/xtensa/platforms/iss/include/platform/serial.h\n    new file:   arch/xtensa/platforms/iss/include/platform/simcall-gdbio.h\n    new file:   arch/xtensa/platforms/iss/include/platform/simcall-iss.h\n    new file:   arch/xtensa/platforms/iss/include/platform/simcall.h\n    new file:   arch/xtensa/platforms/iss/network.c\n    new file:   arch/xtensa/platforms/iss/setup.c\n    new file:   arch/xtensa/platforms/iss/simdisk.c\n    new file:   arch/xtensa/platforms/xt2000/Makefile\n    new file:   arch/xtensa/platforms/xt2000/include/platform/hardware.h\n    new file:   arch/xtensa/platforms/xt2000/include/platform/serial.h\n    new file:   arch/xtensa/platforms/xt2000/setup.c\n    new file:   arch/xtensa/platforms/xtfpga/Makefile\n    new file:   arch/xtensa/platforms/xtfpga/include/platform/hardware.h\n    new file:   arch/xtensa/platforms/xtfpga/include/platform/lcd.h\n    new file:   arch/xtensa/platforms/xtfpga/include/platform/serial.h\n    new file:   arch/xtensa/platforms/xtfpga/lcd.c\n    new file:   arch/xtensa/platforms/xtfpga/setup.c\n    new file:   arch/xtensa/variants/csp/include/variant/core.h\n    new file:   arch/xtensa/variants/csp/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/csp/include/variant/tie.h\n    new file:   arch/xtensa/variants/dc232b/include/variant/core.h\n    new file:   arch/xtensa/variants/dc232b/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/dc232b/include/variant/tie.h\n    new file:   arch/xtensa/variants/dc233c/include/variant/core.h\n    new file:   arch/xtensa/variants/dc233c/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/dc233c/include/variant/tie.h\n    new file:   arch/xtensa/variants/de212/include/variant/core.h\n    new file:   arch/xtensa/variants/de212/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/de212/include/variant/tie.h\n    new file:   arch/xtensa/variants/fsf/include/variant/core.h\n    new file:   arch/xtensa/variants/fsf/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/fsf/include/variant/tie.h\n    new file:   arch/xtensa/variants/test_kc705_be/include/variant/core.h\n    new file:   arch/xtensa/variants/test_kc705_be/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/test_kc705_be/include/variant/tie.h\n    new file:   arch/xtensa/variants/test_kc705_hifi/include/variant/core.h\n    new file:   arch/xtensa/variants/test_kc705_hifi/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/test_kc705_hifi/include/variant/tie.h\n    new file:   arch/xtensa/variants/test_mmuhifi_c3/include/variant/core.h\n    new file:   arch/xtensa/variants/test_mmuhifi_c3/include/variant/tie-asm.h\n    new file:   arch/xtensa/variants/test_mmuhifi_c3/include/variant/tie.h\n\nI cleaned up the working tree (rm -rf arch/xtensa && git reset --hard)\nand re-attempted the merge:\n\n$ git merge v5.14.14\nfatal: unable to read tree 7c03aa457205afa2def273129653bea6225c5a0a\n\nThis is the error I now see when I re-attempt the merge.\n\nWhat did you expect to happen? (Expected behavior)\n\nThe tag to be merged.\n\nWhat happened instead? (Actual behavior)\n\nThe merge failed:\n\n$ git merge v5.14.14\nfatal: unable to read tree 7c03aa457205afa2def273129653bea6225c5a0a\n\nWhat's different between what you expected and what actually happened?\n\nI expected the merge to complete successfully.\n\nAnything else you want to add:\n\nI have tree git trees involved:\n\nlinus, a clone of torvald's tree\nstable, a bare clone of the stable tree. it was cloned with a\n--reference to linus\nopenbmc, a clone of a kernel tree that has a --reference to both\nstable and linus.\n\nI did a fsck and saw this:\n\nerror: 7c03aa457205afa2def273129653bea6225c5a0a: invalid sha1 pointer\nin cache-tree\nbroken link from    tree 385b33c97554b2ab43b7dea822b34e10e9d7ce66 (:)\n              to    tree 7c03aa457205afa2def273129653bea6225c5a0a (:configs/)\n\n\nI have since tried re-fetching all three repositories in turn, and\nthis had no change:\n\ngit fetch-pack --all https://github.com/openbmc/linux\ngit fetch-pack --all\ngit://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\ngit fetch-pack --all\ngit://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\n\nI also tried removing and re-cloning the stable tree (an the assumption that\nthis is where the objects that make up the problematic v5.14.14 tag should come\nfrom), but this did not help. I have however changed the output of git fsck:\n\n$ git merge v5.14.14\nfatal: unable to read tree 385b33c97554b2ab43b7dea822b34e10e9d7ce66\n\n$ git fsck\n...\nerror: 385b33c97554b2ab43b7dea822b34e10e9d7ce66: invalid sha1 pointer\nin cache-tree\nbroken link from    tree 61a337aed7681b506b935b507a422fc5983ba4f3 (:)\n              to    tree 385b33c97554b2ab43b7dea822b34e10e9d7ce66 (:powerpc/)\n\n\nPlease review the rest of the bug report below.\nYou can delete any lines you don't wish to share.\n\n\n[System Info]\ngit version:\ngit version 2.33.0\ncpu: x86_64\nno commit associated with this build\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nuname: Linux 5.14.0-2-amd64 #1 SMP Debian 5.14.9-2 (2021-10-03) x86_64\ncompiler info: gnuc: 10.2\nlibc info: glibc: 2.33\n$SHELL (typically, interactive shell): /bin/bash\n\n\n[Enabled Hooks]\n\nCheers,\n\nJoel\n"},{"id":"440342","messageId":"CAJoAoZm7uHaeTqj=CQU8CH6qfjn5b3V=EPpcm8VwSbbuLRRmqQ@mail.gmail.com","threadId":"56804","inReplyTo":"CACPK8Xcm-ivTkPVpF3XwaniUeyM_RJVLY9wSvBKbr-7rUYgdmQ@mail.gmail.com","subject":"Re: bug: invalid sha1 pointer in cache-tree","fromName":"Emily Shaffer","fromEmail":"emilyshaffer@google.com","sentAt":"2021-11-02T17:06:02Z","receivedAt":"2021-11-02T17:06:19Z","isPatch":false,"sender":{"key":"nasamuffin@google.com","avatar":"https://avatars.githubusercontent.com/u/1606826?v=4"},"body":"Hi Joel, hopefully someone can correct me for being wrong about this ;)\n\nOn Thu, Oct 28, 2021 at 10:57 PM Joel Stanley <joel@jms.id.au> wrote:\n>\n> Hello,\n>\n> I've filled out git-bugreport after discussing this issue with a git\n> developer. I'm not sure if it's user error, disk corruption, or a bug\n> in git. Any insight would be appreciated!\n>\n> What did you do before the bug happened? (Steps to reproduce your issue)\n>\n> I was attempting to merge a tag into the current branch. Before I did so, I\n> reset'd away a commit I didn't want:\n>\n> $ git reset HEAD~1 --hard\n> error: Could not read 7c03aa457205afa2def273129653bea6225c5a0a\n> HEAD is now at 387b8b425339 spi: fsi: Print status on error\n\nI suspect you already had problems from this point, regardless of what\ncame after. What's surprising to me, though, is that the object 7c03aa\nwould be missing, since it should have been referred to by the current\nbranch you were trying to merge into.\n\nIs it possible you were doing something slightly odd, like partial\nclone, shallow clone, or working in detached-HEAD for some reason? You\ndidn't mention here that you had been rm-ing things in .git/, and I\nasked you explicitly about that when we spoke offline, but that also\nwould worry me.\n\nRegardless, I think once you've got a missing object and 'git fsck'\nfails, there aren't many promises we can make about correct behavior\nafter, so I'm not sure I have anything to say on the rest of the\nreport, unfortunately.\n\n\n> Anything else you want to add:\n>\n> I have tree git trees involved:\n>\n> linus, a clone of torvald's tree\n> stable, a bare clone of the stable tree. it was cloned with a\n> --reference to linus\n> openbmc, a clone of a kernel tree that has a --reference to both\n> stable and linus.\n\nAh, this is a hint and may actually be the winner... When you're\ncloning with --reference, the \"referenced\" repo doesn't know who is\nreferencing it, so it sometimes can gc with abandon and delete\nsomething you cared about in a referencing repo.\n\nThe workarounds here range from \"if you care only about network speed,\nreclone with --reference --dissociate\" to \"if you care about network\nspeed *and* disk space, do something fancy with 'git worktree' and\nmultiple remotes\" to \"if you care about disk space *and* you care\nabout insulating objects from accidentally going to the wrong remote,\nget a bigger disk and use --reference --dissociate anyway\".\n\n>\n> I did a fsck and saw this:\n>\n> error: 7c03aa457205afa2def273129653bea6225c5a0a: invalid sha1 pointer\n> in cache-tree\n> broken link from    tree 385b33c97554b2ab43b7dea822b34e10e9d7ce66 (:)\n>               to    tree 7c03aa457205afa2def273129653bea6225c5a0a (:configs/)\n>\n>\n> I have since tried re-fetching all three repositories in turn, and\n> this had no change:\n>\n> git fetch-pack --all https://github.com/openbmc/linux\n> git fetch-pack --all\n> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\n> git fetch-pack --all\n> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\n>\n> I also tried removing and re-cloning the stable tree (an the assumption that\n> this is where the objects that make up the problematic v5.14.14 tag should come\n> from), but this did not help. I have however changed the output of git fsck:\n>\n> $ git merge v5.14.14\n> fatal: unable to read tree 385b33c97554b2ab43b7dea822b34e10e9d7ce66\n\nYeah, I think this is the final decisive pointer to \"this is an issue\nwith stable as an alternate to your other stuff\" - I'd guess that the\nobject that's missing changed because the alternate links broke in\nsome way.\n\n>\n> $ git fsck\n> ...\n> error: 385b33c97554b2ab43b7dea822b34e10e9d7ce66: invalid sha1 pointer\n> in cache-tree\n> broken link from    tree 61a337aed7681b506b935b507a422fc5983ba4f3 (:)\n>               to    tree 385b33c97554b2ab43b7dea822b34e10e9d7ce66 (:powerpc/)\n>\n>\n> Please review the rest of the bug report below.\n> You can delete any lines you don't wish to share.\n>\n>\n> [System Info]\n> git version:\n> git version 2.33.0\n> cpu: x86_64\n> no commit associated with this build\n> sizeof-long: 8\n> sizeof-size_t: 8\n> shell-path: /bin/sh\n> uname: Linux 5.14.0-2-amd64 #1 SMP Debian 5.14.9-2 (2021-10-03) x86_64\n> compiler info: gnuc: 10.2\n> libc info: glibc: 2.33\n> $SHELL (typically, interactive shell): /bin/bash\n>\n>\n> [Enabled Hooks]\n>\n> Cheers,\n>\n> Joel\n"}]}