This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Another process creation bug


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@yahoo.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]