Skip to content
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

Cygwin warning: Couldn't compute FAST_CWD pointer. #1029

Closed
dumbledad opened this issue Jan 10, 2017 · 14 comments
Closed

Cygwin warning: Couldn't compute FAST_CWD pointer. #1029

dumbledad opened this issue Jan 10, 2017 · 14 comments
Milestone

Comments

@dumbledad
Copy link

I'm running 2.11.0.windows.1 64bit, installed with the defaults (apart from line endings, which I leave untouched).

I’m getting a Cygwin warning thrown twice for typical commands. For example:

timregan@timreganxps15 MINGW64 ~/Source/Zanzibar/Software (Task106-SQL)
$ git push --force
Cygwin WARNING:
Couldn't compute FAST_CWD pointer. This typically occurs if you're using
an older Cygwin version on a newer Windows. Please update to the latest
available Cygwin version from https://cygwin.com/. If the problem persists,
please see https://cygwin.com/problems.html

Cygwin WARNING:
Couldn't compute FAST_CWD pointer. This typically occurs if you're using
an older Cygwin version on a newer Windows. Please update to the latest
available Cygwin version from https://cygwin.com/. If the problem persists,
please see https://cygwin.com/problems.html

Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 1.12 KiB | 0 bytes/s, done.
Total 6 (delta 1), reused 4 (delta 0)
remote: Analyzing objects... (6/6) (501 ms)
remote: Storing packfile... done (85 ms)
remote: Storing index... done (119 ms)
To https://playco.visualstudio.com/Zanzibar/_git/Software

  • d060e6c...9853145 Task106-SQL -> Task106-SQL (forced update)

I get the same error in Git bash, where the Cygwin version is 2.6.0(0.304/5/3), and in Cygwin, where the version is 2.6.1(0.305/5/3).

This may not be a Git nor Cygwin problem but a Windows' problem since I am on a pre-release version of Windows 10 (15007.rs_prerelease.170107-1846) but I thought you’d want it reported anyway.

@whoisj
Copy link

whoisj commented Jan 10, 2017

Thanks @dumbledad, we've seen this issue too and I believe @dscho is already looking at a potential fix.

@NullSoldier
Copy link

Thanks, I'm running into it as well.
I wish Github had a better way to say I need this besides reactions.

@yyjdelete
Copy link

@dscho
Copy link
Member

dscho commented Jan 12, 2017

Yes, and the patch was even accepted into Cygwin already.

I hope to be able to publish another prerelease tomorrow that will include the fix.

@dscho
Copy link
Member

dscho commented Jan 13, 2017

As pointed out earlier, this has been fixed, and the brand-new v2.11.0(2) comes with the fix.

@dscho dscho closed this as completed Jan 13, 2017
@dscho dscho added this to the v2.11.1 milestone Jan 13, 2017
@junyuanz1
Copy link

junyuanz1 commented May 18, 2021

i am running into this problem on the latest windows machine with preview enabled:

Installed RAM	10.0 GB
Device ID	18707EA1-3ABA-4FAF-9DC4-B0AFD71C9DB8
Product ID	00330-80000-00000-AA567
System type	64-bit operating system, ARM-based processor
Pen and touch	No pen or touch input is available for this display


Edition	Windows 10 Pro
Version	Dev
Installed on	‎5/‎18/‎2021
OS build	21354.1
Experience	Windows 10 Feature Experience Pack 321.7601.0.3

i am using the vhds from https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewARM64

@dscho
Copy link
Member

dscho commented May 18, 2021

i am running into this problem on the latest windows machine with preview enabled:

Installed RAM	10.0 GB
Device ID	18707EA1-3ABA-4FAF-9DC4-B0AFD71C9DB8
Product ID	00330-80000-00000-AA567
System type	64-bit operating system, ARM-based processor
Pen and touch	No pen or touch input is available for this display


Edition	Windows 10 Pro
Version	Dev
Installed on	‎5/‎18/‎2021
OS build	21354.1
Experience	Windows 10 Feature Experience Pack 321.7601.0.3

i am using the vhds from https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewARM64

@junyuan-z Feel free to try extending git-for-windows/msys2-runtime@5fe6d81 even further (if you open a PR, it will build the MSYS2 runtime as build artifact so you can test).

@dscho
Copy link
Member

dscho commented May 19, 2021

For completeness: the PR is here: git-for-windows/msys2-runtime#31

@dscho
Copy link
Member

dscho commented May 21, 2021

System type 64-bit operating system, ARM-based processor

@junyuan-z I just saw that there was a specific bug fix for ARM64: #3231

Could you try cherry-picking both of those commits and see whether it works for you, then?

@junyuanz1
Copy link

OK, i have some time today. I will try this today.

@junyuanz1
Copy link

junyuanz1 commented May 21, 2021

@dscho i got a build ready just wondering how can i test this properly? should i just drop the usr folder into my git installer directory?

@dscho
Copy link
Member

dscho commented May 21, 2021

I'd just replace the msys-2.0.dll file in usr\bin...

@junyuanz1
Copy link

hmm, i can't reproduce this issue on my local machine anymore. the git install i am using is 2.31.1.1. Is there a new release in the last a few days?

@dscho
Copy link
Member

dscho commented May 22, 2021

No... The MSYS2 runtime has been unchanged in the Git for Windows project for quite a while now.

Unless you're actually following MSYS2's updates? They indeed took that fix.

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

6 participants