Skip to content

Smudge error: The pipe has been ended on 32-bit system #4352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tommyvct opened this issue Dec 28, 2020 · 1 comment
Closed

Smudge error: The pipe has been ended on 32-bit system #4352

tommyvct opened this issue Dec 28, 2020 · 1 comment

Comments

@tommyvct
Copy link

tommyvct commented Dec 28, 2020

Describe the bug
Smudge error: Error reading from media file: write /dev/stdout: The pipe has been ended.: write /dev/stdout: The pipe has been ended.
This behaviour is consistent on Windows 32-bit binaries, regardless of main architecture.

To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/walbourn/directxtexmedia.git
The following combinations give this result:

  • Windows ARM64 + ARM 32-bit git-lfs
  • Windows ARM64 + 386 git-lfs
  • Windows x64 + 386 git-lfs

image

Expected behavior
Windows x64 + x64 git-lfs
image

System environment

  1. Windows 10 20H2 x64 running 386 git-lfs.exe binary that comes with the latest Git for Windows.
  2. Windows 10 20H2 ARM64 running 386 git-lfs.exe binary that comes with the latest Git for Windows, AND self-compiled 2.13.1 ARM 32-bit binary (compiled on Surface Pro X SQ1 using Ubuntu WSL2, using official Go compiler for Linux ARM64, with GOOS=windows and GOARCH=arm environment variable set).

Output of git lfs env

  • Windows x64 + 386 git-lfs
git-lfs/2.12.1 (GitHub; windows 386; go 1.14.10; git 85b28e06)
git version 2.29.2.windows.3

Error reading git config: error running C:\Program Files (x86)\Git\mingw32\libexec\git-core\git.exe 'rev-parse' '--is-bare-repository': 'fatal: not a git repository (or any of the parent directories): .git' 'exit status 128'
LocalWorkingDir=
LocalGitDir=
LocalGitStorageDir=
LocalMediaDir=lfs\objects
LocalReferenceDirs=
TempDir=lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_EXEC_PATH=C:/Program Files (x86)/Git/mingw32/libexec/git-core
git config filter.lfs.process = ""
git config filter.lfs.smudge = ""
git config filter.lfs.clean = ""
  • Windows ARM64 + 386 git-lfs
git-lfs/2.12.1 (GitHub; windows 386; go 1.14.10; git 85b28e06)
git version 2.29.2.windows.3

Error reading git config: error running C:\Program Files (x86)\Git\mingw32\libexec\git-core\git.exe 'rev-parse' '--is-bare-repository': 'fatal: not a git repository (or any of the parent directories): .git' 'exit status 128'
LocalWorkingDir=
LocalGitDir=
LocalGitStorageDir=
LocalMediaDir=lfs\objects
LocalReferenceDirs=
TempDir=lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_EXEC_PATH=C:/Program Files (x86)/Git/mingw32/libexec/git-core
git config filter.lfs.process = ""
git config filter.lfs.smudge = ""
git config filter.lfs.clean = ""
  • Windows ARM64 + ARM 32-bit git-lfs
git-lfs/2.13.1 (GitHub; windows arm; go 1.15.6)
git version 2.29.2.windows.3

Error reading git config: error running C:\Program Files (x86)\Git\mingw32\libexec\git-core\git.exe 'rev-parse' '--is-bare-repository': 'fatal: not a git repository (or any of the parent directories): .git' 'exit status 128'
LocalWorkingDir=
LocalGitDir=
LocalGitStorageDir=
LocalMediaDir=lfs\objects
LocalReferenceDirs=
TempDir=lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_EXEC_PATH=C:/Program Files (x86)/Git/mingw32/libexec/git-core
git config filter.lfs.process = ""
git config filter.lfs.smudge = ""
git config filter.lfs.clean = ""

Additional context
git-for-windows/git#2346 (comment)
x64+386.log
arm64+386.log
arm64+arm.log
arm binary

@bk2204
Copy link
Member

bk2204 commented Jan 4, 2021

Hey,

I think your problem is the one outlined in #4353: that you're running out of memory using 32-bit binaries. Since this is being addressed there by us hopefully providing an ARM64 binary, I'm going to close this in favor of that issue.

@bk2204 bk2204 closed this as completed Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants