Skip to content

git gc crashes at 33% of counting objects #1839

Closed
@michalfita

Description

@michalfita
  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit? 64-bit 2.19.01
$ git --version --build-options

git version 2.19.0.windows.1
cpu: x86_64
built from commit: d96bb8bc6c636a8869140e860e72e7bdf64bd790
sizeof-long: 4
sizeof-size_t: 8
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 6.1.7601]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
# One of the following:
> type "C:\Program Files\Git\etc\install-options.txt"
> type "C:\Program Files (x86)\Git\etc\install-options.txt"
> type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt"
$ cat /etc/install-options.txt

Editor Option: Notepad++
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFCommitAsIs
Bash Terminal Option: ConHost
Performance Tweaks FSCache: Enabled
Use Credential Manager: Disabled
Enable Symlinks: Enabled
Enable Builtin Rebase: Disabled
Enable Builtin Stash: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

My repository doesn't use any symlinks. I'm forced to use McAfee antivirus solutions. I'm using poshgit.

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

PowerShell Core 6

> $PSVersionTable.PSVersion
Major  Minor  Patch  PreReleas BuildLabel
                     eLabel
-----  -----  -----  --------- ----------
6      0      4
> git gc
Enumerating objects: 490566, done.
error: failed to run repack887/490566)
  • What did you expect to occur after running these commands?

Finished garbage collection, especially as automated crashes either.

  • What actually happened instead?
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	git.exe
  Application Version:	2.19.0.1
  Application Timestamp:	5b980bc7
  Fault Module Name:	ntdll.dll
  Fault Module Version:	6.1.7601.24117
  Fault Module Timestamp:	5add228d
  Exception Code:	c0000005
  Exception Offset:	0000000000032964
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	2057
  Additional Information 1:	335e
  Additional Information 2:	335ee83054d6c615e4a7142c362e3dd4
  Additional Information 3:	5184
  Additional Information 4:	518485c5adbc52c624cc6890056919a6
  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

It's proprietary repository belonging to my company, so I can't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions