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

Re: Reproducible, corrupt packfile after fresh git-svn checkout message (gitml: message 5 of 20) (gitml: message 6 of 20)

From
Thomas Rast <trast@inf.ethz.ch>
Date
Aug 8, 2013, 15:28 UTC
Message-ID
<87txj0i4mc.fsf@inf.ethz.ch>
In-Reply-To
<5203B100.30008@gmail.com>
Ben Tebulin <tebulin@googlemail.com> writes:
Show 9 quoted lines
> Am 08.08.2013 16:20, schrieb Thomas Rast - trast@inf.ethz.ch:
>> Can you try to reproduce with a version older than v1.8.3?
>> E.g. v1.8.2.3.
>> I'm asking because the above points at packed_object_info(), which I
>> recently rewrote to be nonrecursive.
>
> It seems to run 'much better' 
>   v1.8.2.3 : 3/10 runs do fail
>   fb56570  : 9/10 runs do fail

The good news is that this shifts the blame away from my commit ;-) as the problem clearly existed even before that.

The bad news, of course, is that this is another hunch that turned out to be wrong. I'm running out of ideas.

Show 8 quoted lines
> They always fail on a big blob (39MB) as I wrote in my first e-mail:
>
> ben@n179 /tmp/project.git $ ~/projects/git.git/git-show 49cdd0b21a351f3366008615d2cf8d03ca943978 | wc -c
> error: sha1 mismatch 49cdd0b21a351f3366008615d2cf8d03ca943978
> fatal: bad object 49cdd0b21a351f3366008615d2cf8d03ca943978
> 0
> ben@n179 /tmp/project.git $ ~/projects/git.git/git-show 49cdd0b21a351f3366008615d2cf8d03ca943978 | wc -c
> 39517156

Hrmm. I wonder about the significance of those 39MB. What is your core.packedGitWindowSize? (Judging from the pastes you seem to be on 64bit, so the default would be 1GB.)

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Ben TebulinNext: Ben Tebulin
Message 12 of 26 in “Reproducible, corrupt packfile after fresh”
  1. gitml.jexpert@recursor.netAug 8, 2013
  2. Thomas RastAug 8, 2013
  3. gitml.jexpert@recursor.netAug 8, 2013
  4. Thomas RastAug 8, 2013
  5. gitml.jexpert@recursor.netAug 8, 2013
  6. Matthieu MoyAug 8, 2013
  7. gitml.jexpert@recursor.netAug 8, 2013
  8. Matthieu MoyAug 8, 2013
  9. gitml.jexpert@recursor.netAug 8, 2013
  10. Thomas RastAug 8, 2013
  11. Ben TebulinAug 8, 2013
  12. Thomas RastAug 8, 2013
  13. Ben TebulinAug 8, 2013
  14. Matthieu MoyAug 8, 2013
  15. Junio C HamanoAug 8, 2013
  16. Ben TebulinAug 9, 2013
  17. Stefan BellerAug 9, 2013
  18. Reproducible, corrupt packfile after fresh git-svn checkouts - IDENTIFIEDBen Tebulin, Aug 14, 2013
  19. Thomas RastAug 14, 2013
  20. Ben TebulinAug 14, 2013
  21. Ben TebulinAug 15, 2013
  22. Junio C HamanoAug 15, 2013
  23. Thomas RastAug 8, 2013
  24. Matthieu MoyAug 8, 2013
  25. Stefan BellerAug 8, 2013
  26. Stefan BellerAug 8, 2013

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.