{"thread":{"id":"65649","subject":"git rebase --continue segfault","startedAt":"2026-05-17T09:35:14Z","lastAt":"2026-05-18T10:02:52Z","messageCount":2,"participants":["Alex Naidenkov","Phillip Wood"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"543473","messageId":"eaa03980-fbce-4402-88b8-0f260f2927ab@leshe4ka.ru","threadId":"65649","inReplyTo":null,"subject":"git rebase --continue segfault","fromName":"Alex Naidenkov","fromEmail":"admin@leshe4ka.ru","sentAt":"2026-05-17T09:19:50Z","receivedAt":"2026-05-17T09:35:14Z","isPatch":false,"body":"Hi, ive encountered on segfault when ran `git rebase --continue`. \nHopefully this would help\n\n- i was in the middle of big rebase\n\n- entered pin for signing commit\n- segfault happened\n\n```\n\nDebuginfo Build ID: d98c557aaa4baa2e6da8a12cf5a76d241c5af104\n```\n\n```\n\ngef➤  bt\n#0  repo_parse_tree_gently (r=0x557e86b43780 <the_repo.lto_priv>, \nitem=0x0, quiet_on_missing=0x0) at /usr/src/debug/git/git/tree.c:193\n#1  0x0000557e869161bd in repo_parse_tree (r=<optimized out>, \nitem=<optimized out>) at /usr/src/debug/git/git/tree.h:28\n#2  collect_merge_info (opt=0x557e9bf793b0, merge_base=<optimized out>, \nside1=<optimized out>, side2=<optimized out>) at \n/usr/src/debug/git/git/merge-ort.c:1745\n#3  merge_ort_nonrecursive_internal (opt=opt@entry=0x7ffe20ae9eb0, \nmerge_base=<optimized out>, merge_base@entry=0x557e9bf793b0, \nside1=side1@entry=0x557e9bf79430, side2=<optimized out>,\n     side2@entry=0x0, result=result@entry=0x7ffe20ae9e80) at \n/usr/src/debug/git/git/merge-ort.c:5256\n#4  0x0000557e8691a6b8 in merge_incore_nonrecursive (opt=0x7ffe20ae9eb0, \nmerge_base=0x557e9bf793b0, side1=0x557e9bf79430, side2=0x0, \nresult=0x7ffe20ae9e80)\n     at /usr/src/debug/git/git/merge-ort.c:5419\n#5  0x0000557e869e0e8a in do_recursive_merge (r=r@entry=0x557e86b43780 \n<the_repo.lto_priv>, base=base@entry=0x557e9bf8b800, \nnext=next@entry=0x557e9bf8b850,\n     base_label=base_label@entry=0x557e9bf627e0 \"parent of db33c0f \n(fix)\", next_label=next_label@entry=0x557e9bfab130 \"db33c0f (fix)\", \nhead=head@entry=0x7ffe20aea160,\n     msgbuf=0x557e9bf1b710, opts=0x7ffe20aeb990) at \n/usr/src/debug/git/git/sequencer.c:782\n#6  0x0000557e869e355e in do_pick_commit (r=0x557e86b43780 \n<the_repo.lto_priv>, item=<optimized out>, opts=0x7ffe20aeb990, \nfinal_fixup=0x0, check_todo=0x7ffe20aea35c)\n     at /usr/src/debug/git/git/sequencer.c:2445\n#7  0x0000557e869ebe75 in pick_one_commit (r=<optimized out>, \ntodo_list=0x7ffe20aeb330, opts=<optimized out>, \ncheck_todo=0x7ffe20aea35c, reschedule=<synthetic pointer>)\n     at /usr/src/debug/git/git/sequencer.c:4921\n#8  pick_commits (r=0x557e86b43780 <the_repo.lto_priv>, \ntodo_list=<optimized out>, opts=0x7ffe20aeb990) at \n/usr/src/debug/git/git/sequencer.c:5030\n#9  0x0000557e869ef336 in sequencer_continue (r=<optimized out>, \nopts=<optimized out>) at /usr/src/debug/git/git/sequencer.c:5487\n#10 0x0000557e867d536e in run_sequencer_rebase (opts=0x7ffe20aeb7a0) at \nbuiltin/rebase.c:376\n#11 run_specific_rebase (opts=0x7ffe20aeb7a0) at builtin/rebase.c:755\n#12 cmd_rebase (argc=<optimized out>, argv=<optimized out>, \nprefix=<optimized out>, repo=<optimized out>) at builtin/rebase.c:1910\n#13 0x0000557e866e9e65 in run_builtin (p=0x557e86b35530 \n<commands.lto_priv+2352>, argc=<optimized out>, argv=<optimized out>, \nrepo=0x557e86b43780 <the_repo.lto_priv>)\n     at /usr/src/debug/git/git/git.c:506\n#14 handle_builtin (args=args@entry=0x7ffe20aed760) at \n/usr/src/debug/git/git/git.c:780\n#15 0x0000557e866eb30c in run_argv (args=0x7ffe20aed760) at \n/usr/src/debug/git/git/git.c:863\n#16 cmd_main (argc=<optimized out>, argv=<optimized out>) at \n/usr/src/debug/git/git/git.c:984\n#17 0x0000557e866e77e4 in main (argc=0x3, argv=0x7ffe20aeda58) at \n/usr/src/debug/git/git/common-main.c:9\n\n```\n```\n\n[System Info]\ngit version:\ngit version 2.54.0\ncpu: x86_64\nbuilt from commit: 94f057755b7941b321fd11fec1b2e3ca5313a4e0\nsizeof-long: 8\nsizeof-size_t: 8\nshell-path: /bin/sh\nrust: enabled\ngettext: enabled\nlibcurl: 8.19.0\nOpenSSL: OpenSSL 3.6.2 7 Apr 2026\nzlib-ng: 2.3.3\nSHA-1: SHA1_DC\nSHA-256: SHA256_BLK\ndefault-ref-format: files\ndefault-hash: sha1\nuname: Linux 7.0.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 May 2026 \n09:29:23 +0000 x86_64\ncompiler info: gnuc: 15.2\nlibc info: glibc: 2.43\n$SHELL (typically, interactive shell): /usr/bin/zsh\n\n\n[Enabled Hooks]\npre-commit\n```\n\n"},{"id":"543525","messageId":"e4b85275-e6e8-4610-a452-e25a554a3726@gmail.com","threadId":"65649","inReplyTo":"eaa03980-fbce-4402-88b8-0f260f2927ab@leshe4ka.ru","subject":"Re: git rebase --continue segfault","fromName":"Phillip Wood","fromEmail":"phillip.wood123@gmail.com","sentAt":"2026-05-18T10:02:48Z","receivedAt":"2026-05-18T10:02:52Z","isPatch":false,"body":"Hi Alex\n\nOn 17/05/2026 10:19, Alex Naidenkov wrote:\n> Hi, ive encountered on segfault when ran `git rebase --continue`. \n> Hopefully this would help\n> \n> - i was in the middle of big rebase\n> \n> - entered pin for signing commit\n> - segfault happened\n\nThanks for reporting this, if you run\n\n\tls -l \"$(git rev-parse --git-path objects/pack)\"/*.pack\n\nHow many pack files does it show? If there is only a single pack file \nwith a modification time matching when the rebase failed then I suspect \nyou've been bitten by the bug fixed in [1] which corrupted my repository \nover the weekend (ironically I was rebasing my local git to include that \nbug fix, but accidentally started the rebase with a build including that \nbug). \"git rebase\" runs \"git commit\" to reword commits and commit \nconflict resolutions and each time \"git commit\" calls \nrun_auto_maintenance() so with that bug it stands a good chance of \nstarting parallel repacks.\n\nHopefully there will be a 2.54.1 release containing the fix soon\n\nPhillip\n\n[1] \nhttps://lore.kernel.org/20260513-pks-maintenance-fix-lock-with-detach-v3-0-f27a1ac82891@pks.im\n\n> ```\n> \n> Debuginfo Build ID: d98c557aaa4baa2e6da8a12cf5a76d241c5af104\n> ```\n> \n> ```\n> \n> gef➤  bt\n> #0  repo_parse_tree_gently (r=0x557e86b43780 <the_repo.lto_priv>, \n> item=0x0, quiet_on_missing=0x0) at /usr/src/debug/git/git/tree.c:193\n> #1  0x0000557e869161bd in repo_parse_tree (r=<optimized out>, \n> item=<optimized out>) at /usr/src/debug/git/git/tree.h:28\n> #2  collect_merge_info (opt=0x557e9bf793b0, merge_base=<optimized out>, \n> side1=<optimized out>, side2=<optimized out>) at /usr/src/debug/git/git/ \n> merge-ort.c:1745\n> #3  merge_ort_nonrecursive_internal (opt=opt@entry=0x7ffe20ae9eb0, \n> merge_base=<optimized out>, merge_base@entry=0x557e9bf793b0, \n> side1=side1@entry=0x557e9bf79430, side2=<optimized out>,\n>      side2@entry=0x0, result=result@entry=0x7ffe20ae9e80) at /usr/src/ \n> debug/git/git/merge-ort.c:5256\n> #4  0x0000557e8691a6b8 in merge_incore_nonrecursive (opt=0x7ffe20ae9eb0, \n> merge_base=0x557e9bf793b0, side1=0x557e9bf79430, side2=0x0, \n> result=0x7ffe20ae9e80)\n>      at /usr/src/debug/git/git/merge-ort.c:5419\n> #5  0x0000557e869e0e8a in do_recursive_merge (r=r@entry=0x557e86b43780 \n> <the_repo.lto_priv>, base=base@entry=0x557e9bf8b800, \n> next=next@entry=0x557e9bf8b850,\n>      base_label=base_label@entry=0x557e9bf627e0 \"parent of db33c0f \n> (fix)\", next_label=next_label@entry=0x557e9bfab130 \"db33c0f (fix)\", \n> head=head@entry=0x7ffe20aea160,\n>      msgbuf=0x557e9bf1b710, opts=0x7ffe20aeb990) at /usr/src/debug/git/ \n> git/sequencer.c:782\n> #6  0x0000557e869e355e in do_pick_commit (r=0x557e86b43780 \n> <the_repo.lto_priv>, item=<optimized out>, opts=0x7ffe20aeb990, \n> final_fixup=0x0, check_todo=0x7ffe20aea35c)\n>      at /usr/src/debug/git/git/sequencer.c:2445\n> #7  0x0000557e869ebe75 in pick_one_commit (r=<optimized out>, \n> todo_list=0x7ffe20aeb330, opts=<optimized out>, \n> check_todo=0x7ffe20aea35c, reschedule=<synthetic pointer>)\n>      at /usr/src/debug/git/git/sequencer.c:4921\n> #8  pick_commits (r=0x557e86b43780 <the_repo.lto_priv>, \n> todo_list=<optimized out>, opts=0x7ffe20aeb990) at /usr/src/debug/git/ \n> git/sequencer.c:5030\n> #9  0x0000557e869ef336 in sequencer_continue (r=<optimized out>, \n> opts=<optimized out>) at /usr/src/debug/git/git/sequencer.c:5487\n> #10 0x0000557e867d536e in run_sequencer_rebase (opts=0x7ffe20aeb7a0) at \n> builtin/rebase.c:376\n> #11 run_specific_rebase (opts=0x7ffe20aeb7a0) at builtin/rebase.c:755\n> #12 cmd_rebase (argc=<optimized out>, argv=<optimized out>, \n> prefix=<optimized out>, repo=<optimized out>) at builtin/rebase.c:1910\n> #13 0x0000557e866e9e65 in run_builtin (p=0x557e86b35530 \n> <commands.lto_priv+2352>, argc=<optimized out>, argv=<optimized out>, \n> repo=0x557e86b43780 <the_repo.lto_priv>)\n>      at /usr/src/debug/git/git/git.c:506\n> #14 handle_builtin (args=args@entry=0x7ffe20aed760) at /usr/src/debug/ \n> git/git/git.c:780\n> #15 0x0000557e866eb30c in run_argv (args=0x7ffe20aed760) at /usr/src/ \n> debug/git/git/git.c:863\n> #16 cmd_main (argc=<optimized out>, argv=<optimized out>) at /usr/src/ \n> debug/git/git/git.c:984\n> #17 0x0000557e866e77e4 in main (argc=0x3, argv=0x7ffe20aeda58) at /usr/ \n> src/debug/git/git/common-main.c:9\n> \n> ```\n> ```\n> \n> [System Info]\n> git version:\n> git version 2.54.0\n> cpu: x86_64\n> built from commit: 94f057755b7941b321fd11fec1b2e3ca5313a4e0\n> sizeof-long: 8\n> sizeof-size_t: 8\n> shell-path: /bin/sh\n> rust: enabled\n> gettext: enabled\n> libcurl: 8.19.0\n> OpenSSL: OpenSSL 3.6.2 7 Apr 2026\n> zlib-ng: 2.3.3\n> SHA-1: SHA1_DC\n> SHA-256: SHA256_BLK\n> default-ref-format: files\n> default-hash: sha1\n> uname: Linux 7.0.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 May 2026 \n> 09:29:23 +0000 x86_64\n> compiler info: gnuc: 15.2\n> libc info: glibc: 2.43\n> $SHELL (typically, interactive shell): /usr/bin/zsh\n> \n> \n> [Enabled Hooks]\n> pre-commit\n> ```\n> \n> \n\n"}]}