{"thread":{"id":"37799","subject":"[BUG]","startedAt":"2014-10-24T15:42:17Z","lastAt":"2014-10-24T15:42:17Z","messageCount":1,"participants":["Lyle Ziegelmiller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"251016","messageId":"SNT153-DS18781DF19244300BBD9668F6930@phx.gbl","threadId":"37799","inReplyTo":null,"subject":"[BUG]","fromName":"Lyle Ziegelmiller","fromEmail":"lyle_z@hotmail.com","sentAt":"2014-10-24T15:42:17Z","receivedAt":"2014-10-24T15:42:17Z","isPatch":false,"sender":{"key":"lyle_z@hotmail.com","avatar":null},"body":"Hello\n\nI've been attempting to use Cygwin's Git version 2.1.1 to manage pictures on \nmy 32-bit PC and my 64-bit laptop, both running Windows 7. I downloaded the \ncorrect 32/64-bit version of Cygwin on both machines. In my pictures folder \non my PC, I created a git repository and did an \"git add .\", etc., and then \ncreated a bare repository which I then attempted to clone on my laptop. It \ncloned, but did not include all the pictures. I redid the \"git add .\", \ncommit, and push on my PC, and then redid the pull on my laptop, but it \nstill was missing some pictures. Per advice from the internet, I then did a \n\"git reset --hard FETCH_HEAD\" on my laptop, and that is what caused the \nSegmentation fault (core dumped)4007). I repeated all of my steps, and the \nsegmentation fault happened again each time, so I don't think it was a \nfluke.\n\nHere's the git.exe.stackdump output:\n\nException: STATUS_ACCESS_VIOLATION at rip=003FD3C8362\nrax=0000000000000048 rbx=00000000FFFE0000 rcx=000006F0737BF9C2\nrdx=0000000000000007 rsi=0000000000000027 rdi=000006F0D8BB6ED0\nr8 =000006F0737BFFFE r9 =0000000000000001 r10=00000006001F0F70\nr11=00000006001F0A20 r12=000006F0737C0001 r13=000006F0737BF9C5\nr14=0000000000225370 r15=000006F0737B030F\nrbp=00000006001F18C8 rsp=0000000000225170\nprogram=C:\\cygwin64\\bin\\git.exe, pid 3100, thread main\ncs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B\nStack trace:\nFrame Function Args\n006001F18C8 003FD3C8362 (00040000000, 00000225370, 00000001BF0, 006001F0A94)\n006001F0AA8 003FD3C9E8C (0010049F048, 0041E6FAEC9, 00000225370, 0041E6FAEC9)\n00000000000 0010049F35A (00000000020, 00000225384, 000000D0401, 003EC9D3E1B)\n00000225510 001004A42FC (001FFFFFFFF, 00000000002, 001800C614E, 00600063121)\n00000000001 001004A5929 (001800434AD, 000000E0000, 6F0737C0000, 0041E6FAEC5)\n00000225DC4 001004A50C5 (000801283E5, 000000080E0, 000000080E0, 0060019F464)\n006002BCB08 001004A519E (00000000000, 00000000000, 6F0737C0010, 00000000000)\n006002BCB08 001004A62A3 (001005286A0, 00000225DC8, 00000225D20, 00000225D20)\n001005286A0 001004DC00A (00600266690, 00000000000, 00600266690, 00000000000)\n001005286A0 001004DC697 (00000225F10, 00000000000, 00300000000, 00300000000)\n0060025F320 001004DC7F2 (006000286D8, 000000001FF, 001005AFDF0, 001802BFC80)\n0060025F320 001004AA198 (00180175907, 00000000000, 0018016E756, 0006E1C32D0)\n0060019F420 001004AA670 (00180076C02, 00200000000, 00000001215, \nF4F5ACCFAEC71FDC)\n0060019F420 001004E311E (0000022A520, 0060006D3C0, 00000000000, 0000022A200)\n0000022A4C0 00100462FC4 (00000000000, 00000000003, 00000000000, 0000022AB30)\n001802E3BF0 001004639BD (001800C0E53, 00000000000, 00000000000, 00000000000)\nEnd of stack trace (more stack frames may be present)\n\nI tried debugging it with gdb, but without the symbol table, I don't think \nit will help much:\n\n$ gdb git\nGNU gdb (GDB) 7.8\nCopyright (C) 2014 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\nThis GDB was configured as \"x86_64-pc-cygwin\".\nType \"show configuration\" for configuration details.\nFor bug reporting instructions, please see:\nhttp://www.gnu.org/software/gdb/bugs/.\nFind the GDB manual and other documentation resources online \nat:http://www.gnu.org/software/gdb/documentation/.\nFor help, type \"help\".\nType \"apropos word\" to search for commands related to \"word\"...\nReading symbols from git...(no debugging symbols found)...done.\n(gdb) run reset --hard FETCH_HEAD\nStarting program: /usr/bin/git reset --hard FETCH_HEAD\n[New Thread 3860.0x1870]\n[New Thread 3860.0x16e4]\nfatal: Unable to create '/cygdrive/c/Users/lylez/pictures/.git/index.lock': \nFile exists.\nIf no other git process is currently running, this probably means a\ngit process crashed in this repository earlier. Make sure no other git\nprocess is running and remove the file manually to continue.\n[Inferior 1 (process 3860) exited with code 0200]\n\nI deleted index.log, and tried again:\n\n(gdb) run reset --hard FETCH_HEAD\nStarting program: /usr/bin/git reset --hard FETCH_HEAD\n[New Thread 5272.0x894]\n[New Thread 5272.0xc38]\n[New Thread 5272.0x1ba8]\nChecking out files: 36% (5070/14007)\nProgram received signal SIGSEGV, Segmentation fault.\n0x00000003fd3c836a in inflateBackEnd () from /usr/bin/cygz.dll\n(gdb) backtrace\n#0 0x00000003fd3c836a in inflateBackEnd () from /usr/bin/cygz.dll\n#1 0x00000003fd3c9e8c in inflate () from /usr/bin/cygz.dll\n#2 0x000000010049f35a in ?? ()\n#3 0x00000001004a42fc in ?? ()\n#4 0x00000001004a5929 in ?? ()\n#5 0x00000001004a50c5 in ?? ()\n#6 0x00000001004a519e in ?? ()\n#7 0x00000001004a62a3 in ?? ()\n#8 0x00000001004dc00a in ?? ()\n#9 0x00000001004dc697 in ?? ()\n#10 0x00000001004dc7f2 in ?? ()\n#11 0x00000001004aa198 in ?? ()\n#12 0x00000001004aa670 in ?? ()\n#13 0x00000001004e311e in ?? ()\n#14 0x0000000100462fc4 in ?? ()\n#15 0x00000001004639bd in ?? ()\n#16 0x0000000100401a33 in ?? ()\n#17 0x0000000100521301 in ?? ()\n#18 0x00000001800482e1 in _cygwin_exit_return () from /usr/bin/cygwin1.dll\n#19 0x000000018004619b in _cygtls::call2(unsigned int ()(void, void*), \nvoid*, void*) ()\nfrom /usr/bin/cygwin1.dll\n#20 0x00000001800462f4 in _cygtls::call(unsigned int ()(void, void*), void*) \n() from /usr/bin/cygwin1.dll\n#21 0x00000001005200b1 in ?? ()\n---Type to continue, or q to quit---\n#22 0x0000000100401010 in ?? ()\n#23 0x0000000077b259ed in KERNEL32!BaseThreadInitThunk () from \n/cygdrive/c/Windows/system32/kernel32.dll\n#24 0x0000000077c5c541 in ntdll!RtlUserThreadStart () from \n/cygdrive/c/Windows/SYSTEM32/ntdll.dll\n#25 0x0000000000000000 in ?? ()\nBacktrace stopped: previous frame inner to this frame (corrupt stack?)\n(gdb) frame 0\n#0 0x00000003fd3c836a in inflateBackEnd () from /usr/bin/cygz.dll\n(gdb)\n\nAlso, commits are in some cases taking in excess of 20 minutes, both at home \nwith my pictures folder, also at work with a large repository. Surely \nsomething can be done about this.\n\nthanks\n\n\nLyle\n"}]}