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

Re: seg fault in "git format-patch"

From
Christian Couder <christian.couder@gmail.com>
Date
May 31, 2015, 23:14 UTC
Message-ID
<CAP8UFD1rKmKgKqCsffCLyOCny3JEACxgmBN_eqOj_=3zBW-MZg@mail.gmail.com>
In-Reply-To
<CAKRnqNJnaLioQPWYDmSiBfLCSMGdFR21bAEXRzdpkChDBf2wgw@mail.gmail.com>
On Sun, May 31, 2015 at 10:45 PM, Bruce Korb <bruce.korb@gmail.com> wrote:
> Oh, you can also clone the gnu-pw-mgr and likely get the same result:

Yeah, after cloning from http://git.savannah.gnu.org/r/gnu-pw-mgr.git I get the following backtrace:

Program received signal SIGSEGV, Segmentation fault. 0x00000000004b26b1 in clear_commit_marks_1 (plist=0x7fffffffbf78, commit=0x84e8d0, mark=139) at commit.c:528 528 while ((parents = parents->next)) (gdb) bt #0 0x00000000004b26b1 in clear_commit_marks_1 (plist=0x7fffffffbf78, commit=0x84e8d0, mark=139) at commit.c:528 #1 0x00000000004b2743 in clear_commit_marks_many (nr=-1, commit=0x7fffffffbfa0, mark=139) at commit.c:544 #2 0x00000000004b2771 in clear_commit_marks (commit=0x84e8d0, mark=139) at commit.c:549 #3 0x00000000004537cc in get_patch_ids (rev=0x7fffffffd190, ids=0x7fffffffc910) at builtin/log.c:832 #4 0x0000000000455580 in cmd_format_patch (argc=1, argv=0x7fffffffdc20, prefix=0x0) at builtin/log.c:1425 #5 0x0000000000405807 in run_builtin (p=0x80cac8 <commands+840>, argc=5, argv=0x7fffffffdc20) at git.c:350 #6 0x0000000000405a15 in handle_builtin (argc=5, argv=0x7fffffffdc20) at git.c:532 #7 0x0000000000405b31 in run_argv (argcp=0x7fffffffdafc, argv=0x7fffffffdb10) at git.c:578 #8 0x0000000000405d29 in main (argc=5, av=0x7fffffffdc18) at git.c:686

(Please don't top post if you reply to this email as it is frown upon on this list.)

Previous: Bruce KorbNext: Christian Couder
Message 5 of 21 in “seg fault in "git format-patch"”
  1. Bruce KorbMay 31, 2015
  2. Christian CouderMay 31, 2015
  3. Bruce KorbMay 31, 2015
  4. Bruce KorbMay 31, 2015
  5. Christian CouderMay 31, 2015
  6. Christian CouderMay 31, 2015
  7. Christian CouderJun 1, 2015
  8. format-patch: dereference tags with --ignore-if-in-upstreambrian m. carlson, Jun 1, 2015
  9. Jeff KingJun 1, 2015
  10. brian m. carlsonJun 1, 2015
  11. Jeff KingJun 1, 2015
  12. Junio C HamanoJun 1, 2015
  13. Junio C HamanoJun 1, 2015
  14. Jeff KingJun 1, 2015
  15. Junio C HamanoJun 1, 2015
  16. brian m. carlsonJun 1, 2015
  17. Junio C HamanoJun 1, 2015
  18. Junio C HamanoJun 1, 2015
  19. Christian CouderJun 1, 2015
  20. Christian CouderJun 1, 2015
  21. Bruce KorbJun 1, 2015

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.