{"thread":{"id":"10341","subject":"git-apply segfault","startedAt":"2007-10-17T10:00:01Z","lastAt":"2007-10-17T11:10:35Z","messageCount":2,"participants":["Andy Parkins","Pierre Habouzit"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"56229","messageId":"200710171100.01247.andyparkins@gmail.com","threadId":"10341","inReplyTo":null,"subject":"git-apply segfault","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2007-10-17T10:00:01Z","receivedAt":"2007-10-17T10:00:01Z","isPatch":false,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"Hello,\n\nI've not got time to investigate this further just now, I'll try later.  In \ncase anyone else wants to though; I just got this core dump when running git \nrebase using current git master (1.5.3.4.206.g58ba4):\n\nCore was generated by `git \napply --allow-binary-replacement --index .dotest/patch'.\nProgram terminated with signal 11, Segmentation fault.\n#0  0xb7cd42a0 in memchr () from /lib/i686/cmov/libc.so.6\n(gdb) bt\n#0  0xb7cd42a0 in memchr () from /lib/i686/cmov/libc.so.6\n#1  0x080c0931 in convert_to_git (path=0x8129a88 \"ui/dmswindow.cc\", \nsrc=0xb7c3d008 <Address 0xb7c3d008 out of bounds>, len=88306, dst=0xbfb689bc)\n    at convert.c:428\n#2  0x0804ecfd in check_patch_list (patch=0x81299d0) at builtin-apply.c:1434\n#3  0x080510fa in apply_patch (fd=1, filename=0xffffffff <Address 0xffffffff \nout of bounds>, inaccurate_eof=1) at builtin-apply.c:2686\n#4  0x0805233e in cmd_apply (argc=4, argv=0xbfb69d18, unused_prefix=0x0) at \nbuiltin-apply.c:2853\n#5  0x0804ab3b in handle_internal_command (argc=4, argv=0xbfb69d18) at \ngit.c:284\n#6  0x0804b19f in main (argc=2037149808, argv=0x612d2d00) at git.c:467\n\nIt was (unfortunately) on a private repository so I can't share it for \ntesting, but am happy to do tests if wanted.\n\n\n\nAndy\n-- \nDr Andy Parkins, M Eng (hons), MIET\nandyparkins@gmail.com\n"},{"id":"56236","messageId":"20071017111035.GC4350@artemis.corp","threadId":"10341","inReplyTo":"200710171100.01247.andyparkins@gmail.com","subject":"Re: git-apply segfault","fromName":"Pierre Habouzit","fromEmail":"madcoder@debian.org","sentAt":"2007-10-17T11:10:35Z","receivedAt":"2007-10-17T11:10:35Z","isPatch":false,"sender":{"key":"madcoder@debian.org","avatar":"https://avatars.githubusercontent.com/u/44708?v=4"},"body":"On Wed, Oct 17, 2007 at 10:00:01AM +0000, Andy Parkins wrote:\n> Hello,\n> \n> I've not got time to investigate this further just now, I'll try later.  In \n> case anyone else wants to though; I just got this core dump when running git \n> rebase using current git master (1.5.3.4.206.g58ba4):\n\n  It's not the current master, it's an old one, the fix is in:\n90d16ec032b20f9f1146f3aceca12165aba3b6d6\n\n  You must fetch from spearce.git[0] that has taken maintainance interim\nuntil junio comes back.\n\nCheers,\n\n  [0] git://repo.or.cz/git/spearce.git\n-- \n·O·  Pierre Habouzit\n··O                                                madcoder@debian.org\nOOO                                                http://www.madism.org\n"}]}