delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/09/00:35:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_LR,TW_RW,TW_WX,TW_XR,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4E69977A.5090600@gmail.com>
Date: Fri, 09 Sep 2011 05:35:06 +0100
From: Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: /proc file descriptor: Bad address
References: <4E68D648 DOT 3050308 AT gmail DOT com>
In-Reply-To: <4E68D648.3050308@gmail.com>
X-IsSubscribed: yes
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

On 08/09/2011 15:50, Marco atzeri wrote:
> Just noted on latest cvs on XP-SP3:
> 
> $ ps ax
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>      5296    4768    5296       4648    0 1006 16:43:06 /usr/bin/ps
>      4768    3628    4768       2688    0 1006 16:43:02 /usr/bin/bash
>      3628       1    3628       3628    ? 1006 16:43:02 /usr/bin/mintty
> 
> 
> $ ls -l /proc/3628/fd
> ls: closing directory /proc/3628/fd: Bad address
> total 0
> lrwxrwxrwx 1 Marco Administrators 0 Sep  8 16:43 0 -> /dev/ptmx
> lrwxrwxrwx 1 Marco Administrators 0 Sep  8 16:43 1 -> /dev/windows
> 
> 
> is it just on my machine ?

  Doesn't reproduce for me on w2k-sp4:

> $ ps
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>      2788       1    2788       2788  con  500 05:10:21 /usr/bin/bash
>      1812    2788    1812       2144  con  500 05:17:39 /usr/bin/bash
> I    2732    2788    1812       3340  con  500 05:17:39 /usr/bin/tee
> I    1912       1    1912       1912  con  500 05:24:32 /usr/bin/bash
>      2968    1812    1812       2968  con  500 05:33:26 /usr/bin/bash
> I    3184    1812    1812       3048  con  500 05:33:26 /usr/bin/tee
>      2760       1    2760       2760    ?  500 05:33:30 /usr/bin/mintty
>      3364    2760    3364       2928    0  500 05:33:31 /usr/bin/bash
> O    3084    2968    1812       3216  con  500 05:33:32 /usr/bin/install
>      3460    3364    3460       3060    0  500 05:33:33 /usr/bin/ps
> 
> $ ls -la /proc/2760/fd
> total 0
> dr-xr-xr-x 2 DKAdmin None 0 Sep  9 05:33 .
> dr-xr-xr-x 3 DKAdmin None 0 Sep  9 05:33 ..
> lrwxrwxrwx 1 DKAdmin None 0 Sep  9 05:33 0 -> /dev/ptmx
> lrwxrwxrwx 1 DKAdmin None 0 Sep  9 05:33 1 -> /dev/windows
> 
> $



    cheers,
      DaveK


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