link.exe: Error 177

Gisle Vanem 1 Reputation point
2021-10-14T08:03:52.187+00:00

I've been using Process Explorer for many years.

My only annoyance with it is that it does not close the .pdb-handle for the associated program.
Steps to reproduce while creating programs (my case just now):

  • Inspect the threads of a running diff.exe (GNU-diff).
  • Do a rebuild of diff.exe.
  • Linker complains with:
    LINK : fatal error LNK1201: error writing to program database 'F:\MingW32\src\gnu\GNU-diff\src\diff.pdb';
    check for insufficient disk space, invalid path, or insufficient privilege
    • I have to exit procexp.exe to resolve this before trying a make diff.exe again.

Anybody else have this issue?

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,090 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan C 1 Reputation point
    2022-05-25T04:47:41.863+00:00

    Yes, I frequently experience this issue too. I wrote up my own report of this bug here: https://learn.microsoft.com/en-us/answers/questions/863049/bug-report-pdb-file-handle-leaked-if-process-ends.html

    0 comments No comments