This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /proc file descriptor: Bad address
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 09 Sep 2011 05:35:06 +0100
- Subject: Re: /proc file descriptor: Bad address
- References: <4E68D648.3050308@gmail.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