"Couldn't compute FAST_CWD pointer"

Sam Adams samad@microsoft.com
Fri Jun 16 19:07:13 GMT 2023


I started seeing this error with more recent builds of Windows, so I went to the Cygwin site and ran the latest installer to get the most recent binaries.  I've had to do this periodically in the past 15 years, and fresh binaries have resolved my issues in the past.  This time, the error persisted.  A quick search seems to point to different versions of GCC used to compile Cygwin might have compatibility issues with different versions of Windows.  I'd like to help get this resolved if I can.

Thanks,
Sam

Error:
g:\os2\src\onecore\base\devices\association>ls
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

Mbs                        SourcesCop_nonfatal.err       buildchk.metadata    buildfre.exec.json   client     samples

So, I have a recent build of Windows.  It seems like this issue popped up like a week or two ago, so it probably started 5-10 build numbers ago.
0:000> vertarget
Windows 10 Version 25888 MP (28 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 25888.1000.amd64fre.rs_dplat.230614-1400
Build layer: DesktopEditions -> 25888.1000.amd64fre.rs_dplat.230614-1400
Build layer: OnecoreUAP -> 25888.1000.amd64fre.rs_dplat.230614-1400
Build layer: ShellCommon -> 25888.1000.amd64fre.rs_dplat.230614-1400
Build layer: OSClient   -> 25888.1000.amd64fre.rs_dplat.230614-1400
Debug session time: Fri Jun 16 12:02:33.676 2023 (UTC - 7:00)
System Uptime: 0 days 8:43:16.926
Process Uptime: 0 days 0:13:15.247
  Kernel time: 0 days 0:00:00.015
  User time: 0 days 0:00:00.000

This is after I got the most recent version of Cygwin from the installer, it looks like version 3.4.6 built on Feb 14 2023.


0:000> lmDvmcygwin1

Browse full module list

start             end                 module name

00007ff9`03810000 00007ff9`03b12000   cygwin1    (deferred)

    Image path: g:\bin\cygwin1.dll

    Image name: cygwin1.dll

    Browse all global symbols  functions  data

    Timestamp:        Tue Feb 14 05:25:13 2023 (63EB8BB9)

    CheckSum:         002D984A

    ImageSize:        00302000

    File version:     3003.3.0.0

    Product version:  3003.3.0.0

    File flags:       0 (Mask 3F)

    File OS:          4 Unknown Win32

    File type:        2.0 Dll

    File date:        00000000.00000000

    Translations:     0409.04b0

    Information from resource tables:

        CompanyName:      Red Hat

        ProductName:      Cygwin

        InternalName:     cygwin1.dll

        OriginalFilename: cygwin1.dll

        ProductVersion:   3.4.6

        FileVersion:      3.4.6

        FileDescription:  Cygwin POSIX Emulation DLL

        LegalCopyright:   Copyright (c) Cygwin Authors 1996-2023



More information about the Cygwin mailing list