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

Re: A little mystery - crash caused by empty commit message.

From
Tor Arvid Lund <torarvid@gmail.com>
Date
Feb 16, 2009, 10:18 UTC
Message-ID
<1a6be5fa0902160218r65965c18nd3ee90d040702b9@mail.gmail.com>
In-Reply-To
<20090210153048.GA17660@coredump.intra.peff.net>
On Tue, Feb 10, 2009 at 4:30 PM, Jeff King <peff@peff.net> wrote:
Show 14 quoted lines
> On Tue, Feb 10, 2009 at 01:58:43PM +0100, Tor Arvid Lund wrote:
>
>> So - after the "+0100" on the committer line, hd tells me (as
>> expected) that I have 0a 0a before "[HIA]". On the "faulty" commit I,
>> for some reason, have 0a 00 instead. I do not understand why, but I
>> guess strchr will return NULL when "\0[HIA]....." is passed to it, and
>> segfault on the next iteration.
>>
>> So - I am no closer to understanding what got me to this state, but
>> your reply was helpful anyway, thanks :-)
>
> Well, it certainly seems like a bug in one of the history-rewriting
> programs. Can you try rebasing, cherry-picking, etc on the original
> version of the commit to see if you can reproduce the breakage?

Hi, I haven't had much time to test this thoroughly, but my primary suspect is now git-p4 in conjunction with python v2.6, which I recently installed. I will try to find some time to investigate further, and let you all know for sure.

-Tor Arvid-
Previous: Jeff King
Message 6 of 6 in “A little mystery - crash caused by empty commit message.”
  1. Tor Arvid LundFeb 10, 2009
  2. Jeff KingFeb 10, 2009
  3. Johannes SixtFeb 10, 2009
  4. Tor Arvid LundFeb 10, 2009
  5. Jeff KingFeb 10, 2009
  6. Tor Arvid LundFeb 16, 2009

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.