X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Mail-Handler: MailHop Outbound by DynDNS X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+BV83mrd1zYxz7bzVImcL6 Date: Mon, 14 May 2012 18:44:35 -0400 From: Christopher Faylor To: cygwin , Ken Brown Subject: Re: strace crashes when given the --pid option Message-ID: <20120514224435.GA23016@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin , Ken Brown References: <4FB16927 DOT 8050609 AT cornell DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FB16927.8050609@cornell.edu> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mon, May 14, 2012 at 04:20:55PM -0400, Ken Brown wrote: >In a Cygwin terminal: > >$ strace --version >strace (cygwin) 1.7.15 >System Trace >Copyright (C) 2000 - 2012 Red Hat, Inc. >This is free software; see the source for copying conditions. There is NO >warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > >$ cat > >In a second Cygwin terminal: > >$ ps | grep cat >I 4036 5820 4036 3660 pty0 1001 16:18:07 /usr/bin/cat > >$ strace --pid=4036 >Segmentation fault Should be fixed in the next snapshot. This is a cygwin DLL error so you only need to update the DLL, not strace.exe itself. http://cygwin.com/snapshots/ -- 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