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

Reproducible crash in git merge

From
DGDavid Gilman <davidgilman1@gmail.com>
Date
Mar 27, 2011, 16:54 UTC
Message-ID
<AANLkTimxHn_fwMKh9cbp9i5LkShUi=HK44nv2KJ7ENaQ@mail.gmail.com>

I can get git merge to crash during a git pull. I'm using git 1.7.3.2. The repo (afaict) is fine and had worked previously. Unfortunately I can't share the repo itself because of its contents. Here's the crash log that MacOS X generated for the crash.

Process:         git-merge [39769]
Path:            /opt/local/libexec/git-core/git-merge
Identifier:      git-merge
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  git [39768]

Date/Time: 2011-03-27 11:42:49.676 -0500 OS Version: Mac OS X 10.5.8 (9L31a) Report Version: 6 Anonymous UUID: 2A93C147-AB28-4ECD-B290-8F2DE59A5B4B

Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: 0x000000000000000a, 0x0000000001200000 Crashed Thread: 0

Thread 0 Crashed: 0 libSystem.B.dylib 0xffff0e35 __memcpy + 1685 (cpu_capabilities.h:246) 1 libz.1.dylib 0x0015ba3f inflate + 943 2 git-merge 0x000e4b57 git_inflate + 39 3 git-merge 0x000d0ead read_object + 445 4 git-merge 0x000d0fa8 read_sha1_file_repl + 40 5 git-merge 0x000973c7 write_entry + 183 6 git-merge 0x000979d6 checkout_entry + 582 7 git-merge 0x000e2b33 unpack_trees + 1923 8 git-merge 0x000422c0 checkout_fast_forward + 512 9 git-merge 0x00043588 cmd_merge + 2504 10 git-merge 0x00002a3d handle_internal_command + 317 11 git-merge 0x000030f3 main + 1251 12 git-merge 0x00002226 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xffff0e1d  ebx: 0x0015b6a7  ecx: 0x0000001c  edx: 0xffffdfc0
  edi: 0x0169ad80  esi: 0x0120200f  ebp: 0xbfffc4f8  esp: 0xbfffc4f0
   ss: 0x0000001f  efl: 0x00010286  eip: 0xffff0e35   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x01200000
Binary Images:
    0x1000 -   0x110fef +git-merge ??? (???)
<e000e885c1cd2341cf81fe9283f5178a>
/opt/local/libexec/git-core/git-merge
  0x153000 -   0x164feb +libz.1.dylib ??? (???)
<14e90988b3fb4386b8fed7b6b13e5dc7> /opt/local/lib/libz.1.dylib
  0x169000 -   0x261ff4 +libiconv.2.dylib ??? (???)
<56e0608768d0bcfc4a75df4b5a299ad0> /opt/local/lib/libiconv.2.dylib
  0x26e000 -   0x398fe7 +libcrypto.1.0.0.dylib ??? (???)
<84a173ed04723f87b43fc6a5bccba7df>
/opt/local/lib/libcrypto.1.0.0.dylib
  0x3f8000 -   0x43afeb +libssl.1.0.0.dylib ??? (???)
<d053cde8a9ea10bbe9af6e3436a112f9> /opt/local/lib/libssl.1.0.0.dylib
0x8fe00000 - 0x8fe2db43  dyld 97.1 (???)
<458eed38a009e5658a79579e7bc26603> /usr/lib/dyld
0x900b4000 - 0x9021bff3  libSystem.B.dylib ??? (???)
<c8f52e158bf540cc000146ca8a705958> /usr/lib/libSystem.B.dylib
0x911e7000 - 0x911eefe9  libgcc_s.1.dylib ??? (???)
<a9ab135a5f81f6e345527df87f51bfc9> /usr/lib/libgcc_s.1.dylib
0x964b8000 - 0x964bcfff  libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
Next: Jakub Narebski
Message 1 of 5 in “Reproducible crash in git merge”
  1. David GilmanMar 27, 2011
  2. Jakub NarebskiMar 27, 2011
  3. Junio C HamanoMar 27, 2011
  4. Jakub NarebskiMar 29, 2011
  5. David GilmanMar 27, 2011

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.