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

RE: [BUG] Weird breakages in t1450 #2 on NonStop

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Jan 11, 2018, 21:39 UTC
Message-ID
<000201d38b24$9e27ac40$da7704c0$@nexbridge.com>
In-Reply-To
<003601d38aea$e0e08ff0$a2a1afd0$@nexbridge.com>
On January 11, 2018 9:46 AM, I wrote:
> This one has me scratching my head:
> 
> The object file name being reported below in t1450, subtest 2 is corrupt,
but I
> can't figure out why the script might be generating this condition -
there's
> nothing apparent, but it looks like the git commit -m C step is reporting
or
> using a bad name. This breakage was not present in 2.8.5 (now at 7234152
> (2.13.5) and is persistent (i.e. always happens). This is the only test in
all of
> git where I have observed this particular situation.
> Adding set -x to test_commit is unrevealing. The git fsck in this test is
never
> executed because the test_commit fails with a non-zero git commit
> completion code. There is no rn---- (actual r n 252 252 252 252) in the
objects
> directory - even the 'rn' does not correspond to anything.. I am
suspecting an
> unterminated string that ran into freed memory somewhere, but that's
> speculative.

Does anyone recall fixing this one at or near dfe46c5ce6e68d682f80f9874f0eb107e9fee797? There was a rewrite of sha1_file.c including link_alt_odb_entry where I am finding memory corruptions. I think I'm chasing something that was already fixed some time after 2.13.5 but the common parent to where I am is pretty far back compared to master.

Thanks, Randall

-- Brief whoami:
  NonStop developer since approximately NonStop(211288444200000000)
  UNIX developer since approximately 421664400
-- In my real life, I talk too much.
Previous: Randall S. BeckerNext: Jeff King
Message 2 of 4 in “[BUG] Weird breakages in t1450 #2 on NonStop”
  1. Randall S. BeckerJan 11, 2018
  2. Randall S. BeckerJan 11, 2018
  3. Jeff KingJan 12, 2018
  4. Randall S. BeckerJan 12, 2018

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.