delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/25/14:08:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=mS5Wp6kDStz7v/578/gS5R5W1MGqMcNUBb2K7xfBWRaKHnSM8Lk65
ztn0Lj5vF3VqWEb6/2mIuR4+uhTmawb8l45OQX8jOxN23mnqweIZT12pTo9KS9vN
/KVSNbc8Q2gr+WhweJDA5N2sOK3/pqP/1/1Wq013B4sMVvspCXfXPA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=3jw49DxJ52S/g3dTMevZKZqcHic=; b=X8halysNxto0xCKIf49qXZY7qDmE
d9GLYtfNmnL91fzvEwdWbrigBhHJTKAwgyvO5R3qXWm873yJSG+MZ0KB7hxNgt6k
7kGtykWizhH9eV/zTHenmlQ+92+zWBUuyYWtww7UxZX+yYUn2pZQzFLYqi/cmGKk
TbjqXYFugGLD8DM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,TW_RG autolearn=no version=3.3.1
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1+D3mValXud9VWzMlcrvHU8
Date: Thu, 25 Jul 2013 14:08:28 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Process command lines for Cygwin processes no longer viewable in Windows task manager as of Cygwin 1.7.21
Message-ID: <20130725180828.GA791@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <51F08F9D DOT 6020606 AT coverity DOT com> <20130725082814 DOT GA5124 AT calimero DOT vinschen DOT de> <51F1265B DOT 1040704 AT cwilson DOT fastmail DOT fm> <51F133E4 DOT 6040506 AT coverity DOT com> <20130725151050 DOT GA6932 AT ednor DOT casa DOT cgf DOT cx> <20130725152135 DOT GA7761 AT ednor DOT casa DOT cgf DOT cx> <51F147C7 DOT 6050206 AT coverity DOT com> <20130725171856 DOT GB6019 AT ednor DOT casa DOT cgf DOT cx> <51F165FB DOT 60300 AT coverity DOT com>
MIME-Version: 1.0
In-Reply-To: <51F165FB.60300@coverity.com>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Thu, Jul 25, 2013 at 01:52:59PM -0400, Tom Honermann wrote:
>On 07/25/2013 01:18 PM, Christopher Faylor wrote:
>> On Thu, Jul 25, 2013 at 11:44:07AM -0400, Tom Honermann wrote:
>>> On 07/25/2013 11:21 AM, Christopher Faylor wrote:
>>>> On Thu, Jul 25, 2013 at 11:10:50AM -0400, Christopher Faylor wrote:
>>>>> It's not strace that's broken.  That's just a simple fix to the DLL.
>>>>
>>>> Actually, nevermind.  It's not a bug.
>>>
>>> Could you elaborate?  Prior to 1.7.21, strace provided the command line.
>>>   As of 1.7.21 it doesn't.  That looks like a regression to me.
>>
>> The output that you're looking at says "Here's the command line that is
>> being passed to CreateProcess".  Since there is now no command line the
>> strace output is correct.
>
>How does that make it not a regression?  The information used to be 
>provided, now it isn't.

You're reporting a problem "process command lines for Cygwin process no
longer viewable..." The problem occurs because a bug was fixed in cygwin
which erroneously caused those lines to be filled out.  The strace
output was previously reporting those lines being filled out.  Now it is
correctly reporting that the lines are not filled out.  It is accurate.

If you were relying on strace to show you the concatenated argv output
then you can't do that anymore for cygwin processes.  Sorry.  You'll
have to get that information from the "build_argv" lines in the execed
process.

>From a user's perspective, I don't care what the implementation is.

And from a developer's point of view when a user is trying to look at
strace output and not understanding it, then that indicates to me that
they don't understand the underlying code.  strace in cygwin is much
more detailed than strace on linux.  It is mainly intended as a
developer's tool for people who understand the code.  It contains names
of functions and variable names and hexadecimal output indicating
addresses.  You have to know what this all means.

cgf

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019