delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/10/04:37:31

X-Spam-Check-By: sourceware.org
Date: Thu, 10 Aug 2006 10:37:23 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: crashes with various programs
Message-ID: <20060810083723.GH20467@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20060808042132 DOT GA5396 AT ingber DOT com> <20060808042413 DOT GA28235 AT trixie DOT casa DOT cgf DOT cx> <821wrrd4zj DOT fsf AT vzell-de DOT de DOT oracle DOT com> <20060808155457 DOT GP8152 AT calimero DOT vinschen DOT de> <821wrpc7uv DOT fsf AT vzell-de DOT de DOT oracle DOT com>
Mime-Version: 1.0
In-Reply-To: <821wrpc7uv.fsf@vzell-de.de.oracle.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 Aug 10 10:28, Dr. Volker Zell wrote:
> >>>>> Corinna Vinschen writes:
> 
>     > I've uploaded a new psmisc-21.5-3 package.  When the package hits the
>     > mirrors, can you test if pstree from 21.5-3 still crashes in that
>     > situation?  I think I found a bug which could be the cause for the SEGV,
>     > but I couldn't reproduce it so far.  The potential bug should be fixed
>     > in psmisc-21.5-3, nevertheless.
> 
> The new pstree version seems to work. What was the problem ?

     c = strrchr (filename, '/'); <-- c gets NULL if process is defunct
     sscanf (c, "%15c", tgt);     <-- Boom


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