public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 20120523: bug in fork/exec
@ 2012-05-25  9:38 Yaakov (Cygwin/X)
  2012-05-25  9:42 ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Yaakov (Cygwin/X) @ 2012-05-25  9:38 UTC (permalink / raw)
  To: cygwin

With the 20120523 snapshot, if a process attempts to fork/exec another 
program which depends on a DLL which is missing, the PID created by 
fork() spins:

* in taskmgr, the forked process is listed as an instance of the program 
which called fork() (as usual);

* this PID ties up one CPU core (e.g. 25% CPU usage on a quad-core machine);

* in ps(1), the same PID is displayed as the program which was attempted 
to be execed;

* /bin/kill does not work on this PID, even with -f.

This is on Win7 x64.


Yaakov

--
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] 6+ messages in thread

end of thread, other threads:[~2012-06-04  0:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-25  9:38 20120523: bug in fork/exec Yaakov (Cygwin/X)
2012-05-25  9:42 ` Corinna Vinschen
2012-05-25 20:30   ` Yaakov (Cygwin/X)
2012-05-29 12:18     ` Corinna Vinschen
2012-05-30 15:53       ` Corinna Vinschen
2012-06-04  0:30         ` Yaakov (Cygwin/X)

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