Mail Archives: cygwin/2003/03/21/15:15:40
This relates to a bug in my copy of cygwin, which jams
when the PID goes over about 36800. With a script,
this can easily happen in less than 10 minutes, like
during a build.
How high can your PID go before you jam cygwin? You
will have to reboot to use cygwin after jamming it.
Please run this script until your cygwin jams, and
report the highest PID found:
#! /bin/sh
i=1 # 1 Infinite Loop a script called "crashme"
while test $i != 0
do
echo "$i"
/usr/bin/ps -afl | grep PID # header row
/usr/bin/ps -afl | grep ps #PID value
i=`expr $i + 1`
done
Why do I care to jam cygwin? Actually, I am
incompetent to stop it, so I would like some help in
preparing a bug report.
I have a Dell laptop running Win2000, and updated
cygwin yesterday. My related posts:
http://cygwin.com/ml/cygwin/2003-03/msg01350.html
http://cygwin.com/ml/cygwin/2003-03/msg01393.html
Here is when it crashes for me:
(You can exit from the script with ^C occasionally
when you am getting close... then run it some more. A
rest break does not fix the problem in my
experience...)
$ ./crashme
1
UID PID PPID TTY STIME COMMAND
WESTMWJ 2936 2916 con 14:55:02 /usr/bin/ps
2
UID PID PPID TTY STIME COMMAND
WESTMWJ 2980 2916 con 14:55:03 /usr/bin/ps
3
UID PID PPID TTY STIME COMMAND
WESTMWJ 3016 2916 con 14:55:03 /usr/bin/ps
4
... about 8 minutes pass...
930
UID PID PPID TTY STIME COMMAND
WESTMWJ 36768 2948 con 15:03:14 /usr/bin/ps
931
UID PID PPID TTY STIME COMMAND
WESTMWJ 36788 2948 con 15:03:15 /usr/bin/ps
932
2404 [main] ps 36848 winpids::enumNT: error
0xC0000005 reading system process
information
UID PID PPID TTY STIME COMMAND
2461 [main] ps 36868 winpids::enumNT: error
0xC0000005 reading system process
information
933
2921 [main] ps 36824 winpids::enumNT: error
0xC0000005 reading system process
information
UID PID PPID TTY STIME COMMAND
2643 [main] ps 36904 winpids::enumNT: error
0xC0000005 reading system process
information
934
2627 [main] ps 36796 winpids::enumNT: error
0xC0000005 reading system process
information
UID PID PPID TTY STIME COMMAND
2684 [main] ps 36940 winpids::enumNT: error
0xC0000005 reading system process
information
935
2179 [main] ps 36892 winpids::enumNT: error
0xC0000005 reading system process
information
./crashme: grep: permission denied
2562 [main] ps 36932 winpids::enumNT: error
0xC0000005 reading system process
information
./crashme: grep: permission denied
936
2569 [main] ps 36980 winpids::enumNT: error
0xC0000005 reading system process
information
./crashme: grep: permission denied
./crashme: /usr/bin/ps: permission denied
937
./crashme: /usr/bin/ps: permission denied
./crashme: /usr/bin/ps: permission denied
938
./crashme: /usr/bin/ps: permission denied
./crashme: Cannot fork: Permission denied
$
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.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 -