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

Re: Reproducible, corrupt packfile after fresh git-svn checkout message

From
Ggitml.jexpert@recursor.net <gitml.jexpert@recursor.net>
Date
Aug 8, 2013, 13:27 UTC
Message-ID
<813506281f7a4d3a8af650c5f8ee33dd7224f193@localhost>
In-Reply-To
<vpqli4cfhhe.fsf@anie.imag.fr>
Am 08.08.2013 15:18, schrieb Matthieu Moy - Matthieu.Moy@grenoble-inp.fr:> gitml.jexpert@recursor.net writes:
>> So - now the puzzling thing: With valgrind it seems to work! 
> Weird, indeed. What about GDB ?

Ah - come on. Is this another Heisenberg bug ? Still trying to reproduce it using gdb and/or valgrind...

ben@n179 /tmp/project.git $ gdb --args ~/projects/git.git/git-fsck GNU gdb (GDB) 7.5-ubuntu Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/ben/projects/git.git/git-fsck...done. (gdb) run Starting program: /home/ben/projects/git.git/git-fsck warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Checking object directories: 100% (256/256), done. Checking objects: 100% (63588/63588), done. [Inferior 1 (process 3795) exited normally] (gdb) quit

ben@n179 /tmp/project.git $ ~/projects/git.git/git-fsck Checking object directories: 100% (256/256), done. error: packed 49cdd0b21a351f3366008615d2cf8d03ca943978 from .git/objects/pack/pack-6a6f5355584a5d71215d5fc867ce09602ceab533.pack is corrupt Checking objects: 100% (63588/63588), done.

ben@n179 /tmp/project.git $ ~/projects/git.git/git-fsck Checking object directories: 100% (256/256), done. error: packed 49cdd0b21a351f3366008615d2cf8d03ca943978 from .git/objects/pack/pack-6a6f5355584a5d71215d5fc867ce09602ceab533.pack is corrupt Checking objects: 100% (63588/63588), done.

ben@n179 /tmp/project.git $ ~/projects/git.git/git-fsck Checking object directories: 100% (256/256), done. Checking objects: 100% (63588/63588), done.

ben@n179 /tmp/project.git $ ~/projects/git.git/git-fsck Checking object directories: 100% (256/256), done. error: packed 0f5f33639bfc1a781fe080c31a1f076d9a25c1d3 from .git/objects/pack/pack-6a6f5355584a5d71215d5fc867ce09602ceab533.pack is corrupt *** glibc detected *** <unknown>: free(): invalid pointer: 0x00007fe129669010 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7fe162d3eb96] [0x51e401] [0x51e53c] [0x51ecc3] [0x4e707b] [0x4e7485] [0x43d433] [0x405158] [0x4052ee] [0x4054ba] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7fe162ce176d] [0x404429] ======= Memory map: ======== 00400000-005bb000 r-xp 00000000 fc:01 3939047 /home/ben/projects/git.git/git-fsck 007ba000-007bb000 r--p 001ba000 fc:01 3939047 /home/ben/projects/git.git/git-fsck 007bb000-007c2000 rw-p 001bb000 fc:01 3939047 /home/ben/projects/git.git/git-fsck 007c2000-00822000 rw-p 00000000 00:00 0 02770000-05809000 rw-p 00000000 00:00 0 [heap] 7fe129669000-7fe12bc38000 rw-p 00000000 00:00 0 7fe12dff5000-7fe12e00a000 r-xp 00000000 fc:01 7081526 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fe12e00a000-7fe12e209000 ---p 00015000 fc:01 7081526 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fe12e209000-7fe12e20a000 r--p 00014000 fc:01 7081526 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fe12e20a000-7fe12e20b000 rw-p 00015000 fc:01 7081526 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fe12e20b000-7fe13e9c1000 r--p 00000000 fc:01 10879034 /tmp/project.git/.git/objects/pack/pack-6a6f5355584a5d71215d5fc867ce09602ceab533.pack 7fe13e9c1000-7fe162a0b000 r--p 00000000 fc:01 10881032 /tmp/project.git/.git/objects/pack/pack-5b132454d5acb542969a939fe55186a65d9dd697.pack 7fe162a0b000-7fe162abc000 r--p 00000000 fc:01 10902665 /tmp/project.git/.git/objects/pack/pack-6a6f5355584a5d71215d5fc867ce09602ceab533.idx 7fe162abc000-7fe162abe000 r-xp 00000000 fc:01 7085848 /lib/x86_64-linux-gnu/libdl-2.15.so 7fe162abe000-7fe162cbe000 ---p 00002000 fc:01 7085848 /lib/x86_64-linux-gnu/libdl-2.15.so 7fe162cbe000-7fe162cbf000 r--p 00002000 fc:01 7085848 /lib/x86_64-linux-gnu/libdl-2.15.so 7fe162cbf000-7fe162cc0000 rw-p 00003000 fc:01 7085848 /lib/x86_64-linux-gnu/libdl-2.15.so 7fe162cc0000-7fe162e75000 r-xp 00000000 fc:01 7085850 /lib/x86_64-linux-gnu/libc-2.15.so 7fe162e75000-7fe163074000 ---p 001b5000 fc:01 7085850 /lib/x86_64-linux-gnu/libc-2.15.so 7fe163074000-7fe163078000 r--p 001b4000 fc:01 7085850 /lib/x86_64-linux-gnu/libc-2.15.so 7fe163078000-7fe16307a000 rw-p 001b8000 fc:01 7085850 /lib/x86_64-linux-gnu/libc-2.15.so 7fe16307a000-7fe16307f000 rw-p 00000000 00:00 0 7fe16307f000-7fe163097000 r-xp 00000000 fc:01 7085833 /lib/x86_64-linux-gnu/libpthread-2.15.so 7fe163097000-7fe163296000 ---p 00018000 fc:01 7085833 /lib/x86_64-linux-gnu/libpthread-2.15.so 7fe163296000-7fe163297000 r--p 00017000 fc:01 7085833 /lib/x86_64-linux-gnu/libpthread-2.15.so 7fe163297000-7fe163298000 rw-p 00018000 fc:01 7085833 /lib/x86_64-linux-gnu/libpthread-2.15.so 7fe163298000-7fe16329c000 rw-p 00000000 00:00 0 7fe16329c000-7fe16344d000 r-xp 00000000 fc:01 7078062 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fe16344d000-7fe16364d000 ---p 001b1000 fc:01 7078062 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fe16364d000-7fe163668000 r--p 001b1000 fc:01 7078062 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fe163668000-7fe163673000 rw-p 001cc000 fc:01 7078062 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fe163673000-7fe163677000 rw-p 00000000 00:00 0 7fe163677000-7fe16368d000 r-xp 00000000 fc:01 7081635 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe16368d000-7fe16388c000 ---p 00016000 fc:01 7081635 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe16388c000-7fe16388d000 r--p 00015000 fc:01 7081635 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe16388d000-7fe16388e000 rw-p 00016000 fc:01 7081635 /lib/x86_64-linux-gnu/libz.so.1.2.7 7fe16388e000-7fe1638b0000 r-xp 00000000 fc:01 7085838 /lib/x86_64-linux-gnu/ld-2.15.so 7fe16394a000-7fe163a4d000 r--p 00000000 fc:01 10888685 /tmp/project.git/.git/objects/pack/pack-5b132454d5acb542969a939fe55186a65d9dd697.idx 7fe163a4d000-7fe163a8c000 r--p 00000000 fc:01 1048722 /usr/lib/locale/de_DE.utf8/LC_CTYPE 7fe163a8c000-7fe163a90000 rw-p 00000000 00:00 0 7fe163aa5000-7fe163aa6000 rw-p 00000000 00:00 0 7fe163aa6000-7fe163aad000 r--s 00000000 fc:01 12987862 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache 7fe163aad000-7fe163aae000 r--p 00000000 fc:01 1050508 /usr/lib/locale/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 7fe163aae000-7fe163ab0000 rw-p 00000000 00:00 0 7fe163ab0000-7fe163ab1000 r--p 00022000 fc:01 7085838 /lib/x86_64-linux-gnu/ld-2.15.so 7fe163ab1000-7fe163ab3000 rw-p 00023000 fc:01 7085838 /lib/x86_64-linux-gnu/ld-2.15.so 7fff8299b000-7fff829bc000 rw-p 00000000 00:00 0 [stack] 7fff829fe000-7fff82a00000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Abgebrochen

Previous: Matthieu MoyNext: Matthieu Moy
Message 7 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.