This is the mail archive of the cygwin 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] |
Other format: | [Raw text] |
I've started this p4d process: xp-sp3$ ps PID PPID PGID WINPID TTY UID STIME COMMAND 2668 1 3388 924 pty0 1003 15:40:14 /cygdrive/c/Program Files/Perforce/Server/p4d 4048 760 4048 3456 pty0 1003 15:48:33 /usr/bin/ps 760 220 760 632 pty0 1003 13:44:59 /usr/bin/bash It's a Windows executable, not cygwin. I'm trying to kill it. All of these attempts do not kill the process, and themselves hang, blocking ctrl-c: (bash)$ kill 2668 $ pkill 2668 $ pgrep 2668 I can terminate them in Windows Task Manager, with "End Process" button. This approach hangs, but is ctrl-c killable: $ /bin/kill 2668 I tried with "-f", and various signals. No difference, except -0 returns immediately as you'd hope. The last few lines of strace before hanging are: ... 1678 59114 [main] kill 744 kill0: kill (2668, 15) 150 59264 [main] kill 744 open_shared: name cygpid.2668, n 2668, shared 0x700000 (wanted 0x0), h 0x5E8, *m 6 76206 135470 [main] kill 744 sig_send: sendsig 0x71C, pid 2668, signal 15, its_me 0 This used to work, at least good-old bash kill did. I either updated p4d or cygwin itself in the last two months, or both, and now no luck. I can kill p4d with Task Manager. I would be happy to have another way to kill the task. Thanks for any advice, -- Pete
Attachment:
cygcheck.out
Description: Text document
-- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |