Process command lines for Cygwin processes no longer viewable in Windows task manager as of Cygwin 1.7.21

Tom Honermann thonermann@coverity.com
Thu Jul 25 06:55:00 GMT 2013


It seems that process command lines for Cygwin processes are no longer 
viewable in Windows task manager, SysInternals Process Explorer, or 
other similar tools.  I suspect, but have not verified, that this change 
occurred with the Cygwin 1.7.21 release.  Process command lines do 
appear as expected for older Cygwin releases (at least 1.7.9-1.  Yes, I 
know that is ancient).

My suspicion that this started with 1.7.21 is based on Corinna's 
comments in http://cygwin.com/ml/cygwin/2013-07/msg00343.html and other 
anecdotal evidence of new problems occurring as of that release.

I know of at least one other (non-Cygwin) product that is affected by 
this issue because it relies on the ability to retrieve command lines 
for Cygwin processes using the (fairly common) technique of querying the 
Windows Process Environment Block (PEB) and Process Parameters block 
that is populated when a process is started.  The process parameters 
block includes the process command line and is populated based on the 
command line supplied to CreateProcess() - which Corinna's comments 
linked above suggest is now called without command line parameters.

Tom.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list