delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/12/06:47:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20011012104710.8643.qmail@web11504.mail.yahoo.com>
Date: Fri, 12 Oct 2001 03:47:10 -0700 (PDT)
From: Robert Legros <robert_legros AT yahoo DOT com>
Subject: Another process creation bug
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hi,

I think I found another process creation bug. When a
process is created, it may happen that it is created
twice in the process list.

For example, type the following command :
    ps -W | less

You may sometimes (not always) get such a result :
      PID    PPID    PGID     WINPID  TTY  UID   
STIME COMMAND
     1372       1    1372       1372  con 1001
12:23:38 /usr/bin/bash
     1232    1372    1064       1232  con 1001
12:24:05 /usr/bin/less
     1064    1372    1064        972  con 1001
12:24:05 /usr/bin/ps
     1340       0       0       1340    ?    0
12:24:05 *** unknown ***

The Windows Task Manager gives the following
information :
    - bash.exe is Windows process 1372
    - less.exe is Windows process 1340
    - ps.exe has already died

So there are two slots for 'less.exe' in the process
list, one with 1340 as WINPID but no Cygwin process
information, the other with 1232 as WINPID and all the
information.

The OS used is Windows 2000; the Cygwin version used
are 1.3.3-2 as well as snapshot 20011005 (the one
where the previous process creation bug was solved).

Best Regards,


=====
Robert Legros
south Brussels, Belgium
robert_legros AT yahoo DOT com

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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