public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* /proc file descriptor: Bad address
@ 2011-09-08 14:50 Marco atzeri
  2011-09-09  4:35 ` Dave Korn
  0 siblings, 1 reply; 2+ messages in thread
From: Marco atzeri @ 2011-09-08 14:50 UTC (permalink / raw)
  To: cygwin

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 ?

Regards
Marco

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /proc file descriptor: Bad address
  2011-09-08 14:50 /proc file descriptor: Bad address Marco atzeri
@ 2011-09-09  4:35 ` Dave Korn
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Korn @ 2011-09-09  4:35 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-09  4:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 14:50 /proc file descriptor: Bad address Marco atzeri
2011-09-09  4:35 ` Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).