Skip to content

Git log --graph -u hangs on version 2.46.2 #5185

@bbronisz

Description

@bbronisz
  • 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?
git version 2.46.2.windows.1
cpu: x86_64
built from commit: 1e20af0e809e08cca5714727dfa0fb50c0c4664d
sizeof-long: 4
sizeof-size_t: 8
shell-path: D:/git-sdk-64-build-installers/usr/bin/sh
feature: fsmonitor--daemon
libcurl: 8.10.1
OpenSSL: OpenSSL 3.2.3 3 Sep 2024
zlib: 1.3.1
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Microsoft Windows [Version 10.0.22631.4169]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
Editor Option: VIM
Custom Editor Path:
Default Branch Option:
Path Option: Cmd
SSH Option: ExternalOpenSSH
Tortoise Option: false
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: ConHost
Git Pull Behavior Option: Merge
Use Credential Manager: Enabled
Performance Tweaks FSCache: Enabled
Enable Symlinks: Enabled
Enable Pseudo Console Support: Disabled
Enable FSMonitor: Disabled
  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

N/A

Details

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

Powershell-Core

git log --graph -u -L 71,71:FileName
  • What did you expect to occur after running these commands?

The standard git log output with information about commits and changes.

  • What actually happened instead?

Git prints almost all the output and hangs. Doesn't respond to anything. Only kill from Task manager helps.

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

N/A

Additionally I've checked on Ubuntu installed on WSL2 and there is this error in the output:

free(): double free detected in tcache 2
[1]    185698 IOT instruction  git log --graph -u -L 15,15:gulpfile.js > output.txt

It's on different repository.
It started happening on 2.46 so I've upgraded to 2.46.2 and it is still there.

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