delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/13/05:04:25

X-Spam-Check-By: sourceware.org
Date: Tue, 13 Jun 2006 11:03:47 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: pstree -a gives SEGV
Message-ID: <20060613090347.GE16683@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <024a01c68e44$5c3a6910$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
In-Reply-To: <024a01c68e44$5c3a6910$a501a8c0@CAM.ARTIMI.COM>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Jun 12 18:19, Dave Korn wrote:
>     Hi all,
> 
>   Dunno about everyone else, but on my system "pstree -a" crashes with a SEGV
> everytime.  [...]

For some reason it doesn't happen on my machine, but that doesn't
invalidate your patch.  However, while testing this, I found that pstree
crashes for me all the time (no matter if and what option is used) when
running under a non-privileged account.  This is due to some unfortunate
behaviour of the Cygwin DLL in case of reading /proc virtual files from
non-privileged accounts.  I'm not going to change that for now.
instead I created a new version of pstree with another Cygwin specific
patch.  Yours will also be included.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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