Mail Archives: cygwin/2000/04/25/07:34:30
I've been using the Z-Shell ZSH with Cygwin for quite a while, but it now
hangs with the new Cygwin net release. I managed to isolate the problem to
the "sigsuspend()" call by extracting the sigsuspend test from the
"./configure" script and trying to run the test code as a stand-alone
program. It hangs. I then reran the test code under the "strace" program
and the program exited normally.
According to the CYGWIN mail archives, this problem has been around since at
least 1997, but I didn't see any resolution to the problem.
The test code I clipped from "./configure" is:
----------------------------------------------------
#include <signal.h>
#include <unistd.h>
int child=0;
void handler(
int sig
)
{
if(sig==SIGCHLD) {
child=1;
}
}
int
main(
int argc,
char * argv[]
)
{
struct sigaction act;
sigset_t set;
int pid;
int ret;
act.sa_handler = &handler;
sigfillset(&act.sa_mask);
act.sa_flags = 0;
sigaction(SIGCHLD, &act, 0);
sigfillset(&set);
sigprocmask(SIG_SETMASK, &set, 0);
pid=fork();
if( pid == -1 ) {
return( 1 );
}
if( pid==0 ) {
/* I am the child */
return( 0 );
}
if( pid > 0 ) {
/* I am the parent */
sigemptyset( &set );
ret = sigsuspend( &set );
exit( child == 0 );
}
}
----------------------------------------------------
The output of the stand-alone execution, under the strace(1) program is:
**********************************************
Program name: D:\CYGWIN\USR\LOCAL\SRC\ZSH\FOO\FOO.EXE
App version: 1001.0, api: 0.17
DLL version: 1001.0, api: 0.17
DLL build: 2000-03-01 00:15:19
OS version: Windows 95-4.0
Date/Time: 2000-04-24 15:24:57
**********************************************
1679 5693 [main] FOO 13711 environ_init: !C:=C:\tmp
743 6436 [main] FOO 13711 environ_init:
!D:=D:\cygwin\tmp\zsh-3.1.7-pre-1
743 7179 [main] FOO 13711 environ_init: BLASTER=A220 I7 D1 T2
740 7919 [main] FOO 13711 environ_init:
CLASSPATH=C:\jdk1.2.2\jre\lib\ext\QTJava.zip;
755 8674 [main] FOO 13711 environ_init: CMDLINE=WIN
884 9558 [main] FOO 13711 environ_init: COLORFGBG=default;default
744 10302 [main] FOO 13711 environ_init: COLORTERM=rxvt
748 11050 [main] FOO 13711 environ_init: COMSPEC=C:\COMMAND.COM
881 11931 [main] FOO 13711 environ_init:
CVSROOT=:pserver:anonymous AT cvs DOT zsh DOT sourceforge DOT net:/cvsroot/zsh
748 12679 [main] FOO 13711 environ_init: CYGWIN32=notty binmode notitle
760 13439 [main] FOO 13711 parse_options: tty 1
811 14250 [main] FOO 13711 parse_options: binmode 65536
738 14988 [main] FOO 13711 parse_options: title 0
735 15723 [main] FOO 13711 parse_options: returning
384 16107 [main] FOO 13711 environ_init: CYGWIN=notty binmode notitle
738 16845 [main] FOO 13711 environ_init: DISPLAY=treynolds:0.0
736 17581 [main] FOO 13711 environ_init: EDITOR=vi
753 18334 [main] FOO 13711 environ_init: FCEDIT=vi -u ~/.vimrc-sh
866 19200 [main] FOO 13711 environ_init: FPHONE_TCL_LIB=C:\Program
Files\tcl\lib\tcl8.0
747 19947 [main] FOO 13711 environ_init:
GGI_CONFDIR=d:/cygwin/usr/local/etc/ggi
737 20684 [main] FOO 13711 environ_init: GGI_DEBUG=0
949 21633 [main] FOO 13711 environ_init: GGI_DEFMODE=1024x768[GT_32BIT]
779 22412 [main] FOO 13711 getwinenv: can't set native for HOME= since
no environ yet
736 23148 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (c:\export\treynolds, no-keep-rel)
402 23550 [main] FOO 13711 normalize_win32_path: c:\export\treynolds =
normalize_win32_path (c:\export\treynolds)
403 23953 [main] FOO 13711 mount_info::conv_to_posix_path:
/c/export/treynolds = conv_to_posix_path (c:\export\treynolds)
10357 34310 [main] FOO 13711 win_env::add_cache: posix /c/export/treynolds
438 34748 [main] FOO 13711 win_env::add_cache: native
HOME=c:\export\treynolds
387 35135 [main] FOO 13711 posify: env var converted to
HOME=/c/export/treynolds
741 35876 [main] FOO 13711 environ_init: HOME=/c/export/treynolds
740 36616 [main] FOO 13711 environ_init: HOSTNAME=TREYNOLDS
747 37363 [main] FOO 13711 environ_init: HOSTTYPE=i586
742 38105 [main] FOO 13711 environ_init: LESSCHARSET=latin1
741 38846 [main] FOO 13711 environ_init: MACHTYPE=i586-pc-cygwin32
753 39599 [main] FOO 13711 environ_init: MAKE_MODE=unix
743 40342 [main] FOO 13711 environ_init:
MANPATH=/usr/man:/usr/local/man:/usr/X11R6.4/man
750 41092 [main] FOO 13711 environ_init: OLDPWD=/usr/local/src/zsh
746 41838 [main] FOO 13711 environ_init: OSTYPE=cygwin32
747 42585 [main] FOO 13711 getwinenv: can't set native for PATH= since
no environ yet
1028 43613 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (d:\cygwin\lbin, keep-rel)
409 44022 [main] FOO 13711 normalize_win32_path: d:\cygwin\lbin =
normalize_win32_path (d:\cygwin\lbin)
410 44432 [main] FOO 13711 mount_info::conv_to_posix_path: /lbin =
conv_to_posix_path (d:\cygwin\lbin)
398 44830 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (d:\cygwin\usr\local\bin, keep-rel)
398 45228 [main] FOO 13711 normalize_win32_path: d:\cygwin\usr\local\bin
= normalize_win32_path (d:\cygwin\usr\local\bin)
409 45637 [main] FOO 13711 mount_info::conv_to_posix_path:
/usr/local/bin = conv_to_posix_path (d:\cygwin\usr\local\bin)
414 46051 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (d:\cygwin\bin, keep-rel)
640 46691 [main] FOO 13711 normalize_win32_path: d:\cygwin\bin =
normalize_win32_path (d:\cygwin\bin)
764 47455 [main] FOO 13711 mount_info::conv_to_posix_path: /usr/bin =
conv_to_posix_path (d:\cygwin\bin)
394 47849 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (c:\PROGRA~1\TCL\BIN, keep-rel)
23943 71792 [main] FOO 13711 normalize_win32_path: c:\PROGRA~1\TCL\BIN =
normalize_win32_path (c:\PROGRA~1\TCL\BIN)
1494 73286 [main] FOO 13711 mount_info::conv_to_posix_path:
/c/PROGRA~1/TCL/BIN = conv_to_posix_path (c:\PROGRA~1\TCL\BIN)
896 74182 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (d:\cygwin\bin, keep-rel)
738 74920 [main] FOO 13711 normalize_win32_path: d:\cygwin\bin =
normalize_win32_path (d:\cygwin\bin)
1201 76121 [main] FOO 13711 mount_info::conv_to_posix_path: /usr/bin =
conv_to_posix_path (d:\cygwin\bin)
846 76967 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (d:\cygwin\USR\LOCAL\BIN, keep-rel)
734 77701 [main] FOO 13711 normalize_win32_path: d:\cygwin\USR\LOCAL\BIN
= normalize_win32_path (d:\cygwin\USR\LOCAL\BIN)
1202 78903 [main] FOO 13711 mount_info::conv_to_posix_path:
/USR/LOCAL/BIN = conv_to_posix_path (d:\cygwin\USR\LOCAL\BIN)
11951 90854 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (c:\WINDOWS, keep-rel)
1183 92037 [main] FOO 13711 normalize_win32_path: c:\WINDOWS =
normalize_win32_path (c:\WINDOWS)
399 92436 [main] FOO 13711 mount_info::conv_to_posix_path: /c/WINDOWS =
conv_to_posix_path (c:\WINDOWS)
399 92835 [main] FOO 13711 mount_info::conv_to_posix_path:
conv_to_posix_path (c:\WINDOWS\COMMAND, keep-rel)
1237 94072 [main] FOO 13711 normalize_win32_path: c:\WINDOWS\COMMAND =
normalize_win32_path (c:\WINDOWS\COMMAND)
787 94859 [main] FOO 13711 mount_info::conv_to_posix_path:
/c/WINDOWS/COMMAND = conv_to_posix_path (c:\WINDOWS\COMMAND)
2246 97105 [main] FOO 13711 win_env::add_cache: posix
/lbin:/usr/local/bin:/usr/bin:/c/PROGRA~1/TCL/BIN:/usr/bin:/USR/LOCAL/BIN:/c
/WINDOWS:/c/WINDOWS/COMMAND
803 97908 [main] FOO 13711 win_env::add_cache: native
PATH=d:\cygwin\lbin;d:\cygwin\usr\local\bin;d:\cygwin\bin;c:\PROGRA~1\TCL\BI
N;d:\cygwin\bin;d:\cygwin\USR\LOCAL\BIN;c:\WINDOWS;c:\WINDOWS\COMMAND
758 98666 [main] FOO 13711 posify: env var converted to
PATH=/lbin:/usr/local/bin:/usr/bin:/c/PROGRA~1/TCL/BIN:/usr/bin:/USR/LOCAL/B
IN:/c/WINDOWS:/c/WINDOWS/COMMAND
1567 100233 [main] FOO 13711 environ_init:
PATH=/lbin:/usr/local/bin:/usr/bin:/c/PROGRA~1/TCL/BIN:/usr/bin:/USR/LOCAL/B
IN:/c/WINDOWS:/c/WINDOWS/COMMAND
1771 102004 [main] FOO 13711 environ_init: PROMPT=$p$g
742 102746 [main] FOO 13711 environ_init: PS1=treynolds(\!):
1924 104670 [main] FOO 13711 environ_init: PWD=/usr/local/src/zsh/foo
1152 105822 [main] FOO 13711 environ_init:
QTJAVA=C:\jdk1.2.2\jre\lib\ext\QTJava.zip
1922 107744 [main] FOO 13711 environ_init: SHELL=/bin/bash
1088 108832 [main] FOO 13711 environ_init: SHLVL=1
1956 110788 [main] FOO 13711 environ_init: SNDSCAPE=C:\WINDOWS
2177 112965 [main] FOO 13711 environ_init: TEMP=C:\WINDOWS\TEMP
1472 114437 [main] FOO 13711 environ_init: TERM=rxvt
1533 115970 [main] FOO 13711 environ_init: TMP=/tmp
1528 117498 [main] FOO 13711 environ_init: TMPDIR=/tmp
1529 119027 [main] FOO 13711 environ_init: TZ=CST6CDT
1459 120486 [main] FOO 13711 environ_init: USER=treynolds
1810 122296 [main] FOO 13711 environ_init: VIM=c:/usr/local/share/vim
1466 123762 [main] FOO 13711 environ_init: WINBOOTDIR=C:\WINDOWS
1931 125693 [main] FOO 13711 environ_init: WINDIR=C:\WINDOWS
1085 126778 [main] FOO 13711 environ_init: WINDOWID=72879952
1915 128693 [main] FOO 13711 environ_init: _=/usr/bin/strace
2957 131650 [main] FOO 13711 pinfo_init: pid 13711, pgid 13711
4057 135707 [main] FOO 13711 hinfo::extend: size 32, fds 0x4570AA8
2091 137798 [main] FOO 13711 sigproc_init: process/signal handling
enabled(1)
2963 140761 [main] FOO 13711 hinfo::build_fhandler: {stdin} - cb 64, fd 0,
fh 0x4570B30
418 141179 [main] FOO 13711 fhandler_base::set_io_handle: set handle to
0x3C
406 141585 [main] FOO 13711 fhandler_base::init: created new
fhandler_base for handle 0x3C
423 142008 [main] FOO 13711 hinfo::init_std_file_from_handle: fd 0,
handle 0x3C
836 142844 [main] FOO 13711 hinfo::build_fhandler: some disk file - cb
64, fd 1, fh 0x4570C18
831 143675 [main] FOO 13711 fhandler_base::set_io_handle: set handle to
0x98
417 144092 [main] FOO 13711 fhandler_base::init: created new
fhandler_base for handle 0x98
409 144501 [main] FOO 13711 hinfo::init_std_file_from_handle: fd 1,
handle 0x98
1478 145979 [main] FOO 13711 hinfo::build_fhandler: {stderr} - cb 64, fd
2, fh 0x4570D00
398 146377 [main] FOO 13711 fhandler_base::set_io_handle: set handle to
0x88
397 146774 [main] FOO 13711 fhandler_base::init: created new
fhandler_base for handle 0x88
464 147238 [main] FOO 13711 hinfo::init_std_file_from_handle: fd 2,
handle 0x88
757 147995 [main] FOO 13711 build_argv: argv[0] = './foo'
392 148387 [main] FOO 13711 build_argv: argv[1] = '(null)'
394 148781 [main] FOO 13711 DllList::initAll: call to DllList::initAll
394 149175 [main] FOO 13711 dll_crt0_1: user_data->main 0x401058
18560 167735 [sig] FOO 13711 wait_sig: sigcatch_nonmain 0x5C
575 168310 [sig] FOO 13711 wait_sig: Ready. dwProcessid -1422163
476 168786 [main] FOO 13711 sig_send: pid 13711, signal -2, its_me 1
431 169217 [main] FOO 13711 sig_send: Waiting for thiscomplete 0x90
82 169299 [sig] FOO 13711 wait_sig: awake
964 170263 [sig] FOO 13711 wait_sig: processing signal -2
584 170847 [sig] FOO 13711 wait_sig: looping
433 171280 [main] FOO 13711 sig_send: returning 0 from sending signal -2
405 171685 [main] FOO 13711 internal_getlogin: myself->psid = NULL
554 172239 [main] FOO 13711 internal_getlogin: Cygwins Username:
treynolds
432 172671 [main] FOO 13711 _open: open (/etc/passwd, 0x0)
42214 214885 [main] FOO 13711 hinfo::build_fhandler: some disk file - cb
64, fd 3, fh 0x4570FB8
843 215728 [main] FOO 13711 fhandler_disk_file::open: (/etc/passwd, 0x0)
747 216475 [main] FOO 13711 mount_info::conv_to_win32_path:
conv_to_win32_path (/etc/passwd)
410 216885 [main] FOO 13711 normalize_posix_path: /etc/passwd =
normalize_posix_path (/etc/passwd)
1237 218122 [main] FOO 13711 mount_info::conv_to_win32_path:
d:\cygwin\etc\passwd(rel), d:\cygwin\etc\passwd(abs) 0x2(flags) =
conv_to_win32_path (/etc/passwd)
1236 219358 [main] FOO 13711 symlink_check_one: 0 = symlink_check_one
(d:\cygwin\etc\passwd, 0x253F45D, 260) (0x2)
2580 221938 [main] FOO 13711 fhandler_base::open: (d:\cygwin\etc\passwd,
0x0)
1242 223180 [main] FOO 13711 fhandler_base::open: 56 = CreateFileA
(d:\cygwin\etc\passwd, 0x80000000, 0x3, 0x61085940, 0x3, 0x80, 0)
782 223962 [main] FOO 13711 fhandler_base::set_io_handle: set handle to
0x38
400 224362 [main] FOO 13711 fhandler_base::open: filemode set to binary
452 224814 [main] FOO 13711 fhandler_base::open: 1 = fhandler_base::open
(d:\cygwin\etc\passwd, 0x0)
1340 226154 [main] FOO 13711 fhandler_disk_file::open: 1 =
fhandler_disk_file::open (d:\cygwin\etc\passwd, 0x0)
1861 228015 [main] FOO 13711 _open: 3 = open (/etc/passwd, 0x0)
4541 232556 [main] FOO 13711 fhandler_disk_file::fstat: 1 =
GetFileInformationByHandle (d:\cygwin\etc\passwd, 56)
487 233043 [main] FOO 13711 fhandler_disk_file::fstat: 0 = fstat (,
0x253F7D8) st_atime=3903D4D0 st_size=139, st_mode=0x81A4, st_ino=306782117,
sizeof=64
424 233467 [main] FOO 13711 _fstat: 0 = fstat (3, 253F7D8)
1816 235283 [main] FOO 13711 set_sig_errno: errno 0
404 235687 [main] FOO 13711 _read: read (3, 0x45710D0, 1024)
398 236085 [main] FOO 13711 _read: non-interruptible read
1816 237901 [main] FOO 13711 read_handler: 139 = read (3</etc/passwd>,
0x45710D0, 1024)
3163 241064 [main] FOO 13711 set_sig_errno: errno 0
383 241447 [main] FOO 13711 _read: read (3, 0x45710D0, 1024)
396 241843 [main] FOO 13711 _read: non-interruptible read
1798 243641 [main] FOO 13711 read_handler: 0 = read (3</etc/passwd>,
0x45710D0, 1024)
533 244174 [main] FOO 13711 _close: close (3)
2473 246647 [main] FOO 13711 fhandler_base::close: handle 0x38
4185 250832 [main] FOO 13711 _close: 0 = close (3)
415 251247 [main] FOO 13711 _open: open (/etc/group, 0x0)
6924 258171 [main] FOO 13711 hinfo::build_fhandler: some disk file - cb
64, fd 3, fh 0x4570FB8
400 258571 [main] FOO 13711 fhandler_disk_file::open: (/etc/group, 0x0)
393 258964 [main] FOO 13711 mount_info::conv_to_win32_path:
conv_to_win32_path (/etc/group)
406 259370 [main] FOO 13711 normalize_posix_path: /etc/group =
normalize_posix_path (/etc/group)
411 259781 [main] FOO 13711 mount_info::conv_to_win32_path:
d:\cygwin\etc\group(rel), d:\cygwin\etc\group(abs) 0x2(flags) =
conv_to_win32_path (/etc/group)
899 260680 [main] FOO 13711 symlink_check_one: GetFileAttributesA
(d:\cygwin\etc\group) failed
479 261159 [main] FOO 13711 ../../../../src/winsup/cygwin/path.cc:2134
seterrno: 2 (FILE_NOT_FOUND) -> 2
555 261714 [main] FOO 13711 symlink_check_one: 0 = symlink_check_one
(d:\cygwin\etc\group, 0x253F72D, 260) (0x2)
616 262330 [main] FOO 13711 symlink_check_one: 0 = symlink_check_one
(d:\cygwin\etc, 0x253F72D, 260) (0xBFF789D1)
1316 263646 [main] FOO 13711 fhandler_base::open: (d:\cygwin\etc\group,
0x0)
706 264352 [main] FOO 13711 fhandler_base::open: -1 = CreateFileA
(d:\cygwin\etc\group, 0x80000000, 0x3, 0x61085940, 0x3, 0x80, 0)
426 264778 [main] FOO 13711 ../../../../src/winsup/cygwin/fhandler.cc:369
seterrno: 2 (FILE_NOT_FOUND) -> 2
405 265183 [main] FOO 13711 fhandler_base::open: 0 = fhandler_base::open
(d:\cygwin\etc\group, 0x0)
396 265579 [main] FOO 13711 fhandler_disk_file::open: 0 =
fhandler_disk_file::open (d:\cygwin\etc\group, 0x0)
3515 269094 [main] FOO 13711 _open: -1 = open (/etc/group, 0x0)
389 269483 [main] FOO 13711 read_etc_group: Emulating /etc/group
411 269894 [main] FOO 13711 read_etc_group: Failed to get local admins
group name. Win32 error 120
1439 271333 [main] FOO 13711 set_process_mask: old mask = 0, new mask =
FFFAFEFF
399 271732 [main] FOO 13711 sig_dispatch_pending: pending_signals 0
386 272118 [main] FOO 13711 sig_dispatch_pending: no need to wake
anything up
504 272622 [main] FOO 13711 fork: entering
406 273028 [main] FOO 13711 lpfu: timeout -1, pinfo_mutex 0x24
403 273431 [main] FOO 13711 pinfo_list::allocate_pid: found empty slot 16
for pid 13712
392 273823 [main] FOO 13711 unlock_pinfo: handle 36
417 274240 [main] FOO 13711 pinfo_list::allocate_pid: pid 13712, state 1
401 274641 [main] FOO 13711 fork: parent pid 13711, child pid 13712
1692 276333 [main] FOO 13711 subproc_init: started wait_subproc thread
0xA4
449 276782 [main] FOO 13711 fork: about to call setjmp
1259 278041 [main] FOO 13711 stack_base: bottom 0x2540000, top 0x530000,
stack 0x253EBE8, size 5144, reserve 33619968
591 278632 [main] FOO 13711 fork: CreateProcessA
(D:\CYGWIN\USR\LOCAL\SRC\ZSH\FOO\FOO.EXE,
D:\CYGWIN\USR\LOCAL\SRC\ZSH\FOO\FOO.EXE,0,0,1,20, 0,0,0x253EC7C,0x253FCCC)
68284 346916 [proc] FOO 13711 wait_subproc: starting
40007 386923 [main] FOO 13711 sync_with_child: waiting for child. reason:
waiting for longjmp
615 387538 [main] FOO 13711 sync_with_child: child signalled me
409 387947 [main] FOO 13711 sync_with_child: suspend count 0
400 388347 [main] FOO 13711 fork: child is alive (but stopped)
524 388871 [main] FOO 13711 fork_copy: child handle 0xAC, low 0x402000,
high 0x402018, res 1
526 389397 [main] FOO 13711 fork_copy: child handle 0xAC, low 0x403000,
high 0x4030C0, res 1
1200 390597 [main] FOO 13711 fork_copy: child handle 0xAC, low 0x4570000,
high 0x4574000, res 1
682 391279 [main] FOO 13711 fork_copy: child handle 0xAC, low 0x253EC14,
high 0x2540000, res 1
1268 392547 [main] FOO 13711 fork_copy: child handle 0xAC, low 0x61079000,
high 0x6107C4D4, res 1
1366 393913 [main] FOO 13711 fork_copy: child handle 0xAC, low 0x61087000,
high 0x6108D534, res 1
421 394334 [main] FOO 13711 fork_copy: done
418 394752 [main] FOO 13711 proc_subproc: args: 1, -2082921720
424 395176 [main] FOO 13711 proc_subproc: added pid 13712 to wait list,
slot 0, winpid 0xFFEABBCD, handle 0xAC
424 395600 [main] FOO 13711 proc_subproc: returning 1
421 396021 [proc] FOO 13711 wait_subproc: looping
96 396117 [main] FOO 13711 resume_child: here
1111 397228 [main] FOO 13711 resume_child: rc 1
5419 402647 [main] FOO 13711 sync_with_child: waiting for child. reason:
child loading dlls
524 403171 [main] FOO 13711 sync_with_child: child signalled me
458 403629 [main] FOO 13711 fork: 13712 = fork()
410 404039 [main] FOO 13711 set_process_mask: old mask = FFFAFEFF, new
mask = 0
408 404447 [main] FOO 13711 sig_dispatch_pending: pending_signals 0
397 404844 [main] FOO 13711 sig_dispatch_pending: no need to wake
anything up
400 405244 [main] FOO 13711 handle_sigsuspend: old mask FFFAFEFF, new
mask 0
39820 445064 [proc] FOO 13711 proc_subproc: args: 3, 0
1003 446067 [proc] FOO 13711 proc_subproc: pid 13712[0] terminated, handle
0xAC, nchildren 1, nzombies 0
502 446569 [proc] FOO 13711 remove_child: removing [0], pid 13712, handle
0xAC, nchildren 1
476 447045 [proc] FOO 13711 sig_send: pid 13711, signal 20, its_me 1
435 447480 [proc] FOO 13711 sig_send: Not waiting for sigcomplete.
its_me 1 sig 20
91 447571 [sig] FOO 13711 wait_sig: awake
1260 448831 [sig] FOO 13711 wait_sig: processing signal 20
420 449251 [sig] FOO 13711 wait_sig: Got signal 20
403 449654 [sig] FOO 13711 sig_handle: signal 20
404 450058 [sig] FOO 13711 sig_handle: signal 20, about to call 0x401040
408 450466 [sig] FOO 13711 call_handler: suspending mainthread
410 450876 [sig] FOO 13711 call_handler: suspend said 0, Win32 error 6
455 451331 [sig] FOO 13711 interruptible: interruptible 0
8132 459463 [sig] FOO 13711 interruptible: interruptible 0
683 460146 [sig] FOO 13711 interruptible: interruptible 0
640 460786 [sig] FOO 13711 interruptible: interruptible 1
428 461214 [sig] FOO 13711 set_process_mask: old mask = 0, new mask =
FFFAFEFF
432 461646 [sig] FOO 13711 call_handler: armed signal_arrived 0x4C, res 0
417 462063 [sig] FOO 13711 proc_subproc: args: 4, 1
451 462514 [proc] FOO 13711 sig_send: returning 0 from sending signal 20
926 463440 [sig] FOO 13711 proc_subproc: clear waiting threads
415 463855 [sig] FOO 13711 proc_subproc: finished clearing
544 464399 [sig] FOO 13711 proc_subproc: returning 1
410 464809 [sig] FOO 13711 call_handler: returning 1
410 465219 [sig] FOO 13711 sig_handle: returning 1
432 465651 [sig] FOO 13711 wait_sig: looping
446 466097 [proc] FOO 13711 proc_subproc: returning 0
404 466501 [proc] FOO 13711 wait_subproc: looping
446 466947 [main] FOO 13711 set_sig_errno: errno 4
410 467357 [main] FOO 13711 reset_signal_arrived: reset signal_arrived
405 467762 [main] FOO 13711 set_process_mask: old mask = FFFAFEFF, new
mask = FFFAFEFF
460 468222 [main] FOO 13711 do_exit: do_exit (0)
407 468629 [main] FOO 13711 void: 0x401040 = signal (20, 0x1)
560 469189 [main] FOO 13711 void: 0x0 = signal (1, 0x1)
399 469588 [main] FOO 13711 void: 0x0 = signal (2, 0x1)
394 469982 [main] FOO 13711 void: 0x0 = signal (3, 0x1)
1812 471794 [main] FOO 13711 _close: close (0)
2794 474588 [main] FOO 13711 fhandler_base::close: handle 0x3C
3654 478242 [main] FOO 13711 _close: 0 = close (0)
1829 480071 [main] FOO 13711 _close: close (1)
2538 482609 [main] FOO 13711 fhandler_base::close: handle 0x98
3436 486045 [main] FOO 13711 _close: 0 = close (1)
1818 487863 [main] FOO 13711 _close: close (2)
2608 490471 [main] FOO 13711 fhandler_base::close: handle 0x88
3883 494354 [main] FOO 13711 _close: 0 = close (2)
133243 627597 [main] FOO 13711 proc_terminate: nchildren 0, nzombies 1
771 628368 [proc] FOO 13711 wait_subproc: looping
455 628823 [proc] FOO 13711 wait_subproc: done
4361 633184 [main] FOO 13711 proc_subproc: args: 4, 1
603 633787 [main] FOO 13711 proc_subproc: clear waiting threads
401 634188 [main] FOO 13711 proc_subproc: finished clearing
398 634586 [main] FOO 13711 proc_subproc: returning 1
393 634979 [main] FOO 13711 lpfu: timeout -1, pinfo_mutex 0x24
564 635543 [main] FOO 13711 unlock_pinfo: handle 36
439 635982 [main] FOO 13711 proc_terminate: leaving
391 636373 [main] FOO 13711 sigproc_terminate: entering
394 636767 [main] FOO 13711 sigproc_terminate: done
400 637167 [main] FOO 13711 do_exit: 13711 == pgrp 13711, send
SIG{HUP,CONT} to stopped children
403 637570 [main] FOO 13711 kill_pgrp: pid 13711, sig -1
416 637986 [main] FOO 13711 proc_exists: checking for existence of pid
13706, window pid -1435655
691 638677 [main] FOO 13711 proc_exists: it exists, 0x38
419 639096 [main] FOO 13711 proc_exists: checking for existence of pid
13707, window pid -1440995
403 639499 [main] FOO 13711 proc_exists: it exists, 0x38
413 639912 [main] FOO 13711 proc_exists: checking for existence of pid
13709, window pid -1440003
411 640323 [main] FOO 13711 proc_exists: it exists, 0x38
412 640735 [main] FOO 13711 proc_exists: checking for existence of pid
13710, window pid -1563127
405 641140 [main] FOO 13711 proc_exists: it exists, 0x38
419 641559 [main] FOO 13711 proc_exists: checking for existence of pid
5539, window pid -1589399
408 641967 [main] FOO 13711 proc_exists: it exists, 0x38
415 642382 [main] FOO 13711 proc_exists: checking for existence of pid
5542, window pid -1602407
411 642793 [main] FOO 13711 proc_exists: it exists, 0x38
416 643209 [main] FOO 13711 proc_exists: checking for existence of pid
13483, window pid -1563471
405 643614 [main] FOO 13711 proc_exists: it exists, 0x38
421 644035 [main] FOO 13711 proc_exists: checking for existence of pid
12987, window pid -1569631
406 644441 [main] FOO 13711 proc_exists: it exists, 0x38
414 644855 [main] FOO 13711 proc_exists: checking for existence of pid
12988, window pid -1498687
411 645266 [main] FOO 13711 proc_exists: it exists, 0x38
426 645692 [main] FOO 13711 proc_exists: checking for existence of pid
6623, window pid -1550943
436 646128 [main] FOO 13711 proc_exists: it exists, 0x38
415 646543 [main] FOO 13711 proc_exists: checking for existence of pid
6624, window pid -1559047
462 647005 [main] FOO 13711 proc_exists: it exists, 0x38
431 647436 [main] FOO 13711 proc_exists: checking for existence of pid
1000, window pid -1766735
410 647846 [main] FOO 13711 proc_exists: it exists, 0x38
667 648513 [main] FOO 13711 proc_exists: checking for existence of pid
1001, window pid -1810095
410 648923 [main] FOO 13711 proc_exists: it exists, 0x38
418 649341 [main] FOO 13711 proc_exists: checking for existence of pid
9078, window pid -1619567
406 649747 [main] FOO 13711 proc_exists: it exists, 0x38
415 650162 [main] FOO 13711 proc_exists: checking for existence of pid
9079, window pid -1529819
406 650568 [main] FOO 13711 proc_exists: it exists, 0x38
418 650986 [main] FOO 13711 proc_exists: checking for existence of pid
9080, window pid -1580899
406 651392 [main] FOO 13711 proc_exists: it exists, 0x38
416 651808 [main] FOO 13711 proc_exists: checking for existence of pid
13693, window pid -1537775
406 652214 [main] FOO 13711 proc_exists: it exists, 0x38
415 652629 [main] FOO 13711 kill_pgrp: -1 = kill (13711, -1)
414 653043 [main] FOO 13711 __to_clock_t: dwHighDateTime 0, dwLowDateTime
0
397 653440 [main] FOO 13711 __to_clock_t: total 00000000 00000000
405 653845 [main] FOO 13711 __to_clock_t: dwHighDateTime 0, dwLowDateTime
0
397 654242 [main] FOO 13711 __to_clock_t: total 00000000 00000000
411 654653 [main] FOO 13711 my_parent_is_alive: No parent_alive mutex
408 655061 [main] FOO 13711 do_exit: calling ExitProcess 0
----------------------------------------------------
And, lastly, the "cygcheck" program output is:
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Mon Apr 24 15:20:23 2000
Win95 Ver 4.0 build 67306684 B
Path: /lbin
/usr/local/bin
/usr/bin
/c/PROGRA~1/TCL/BIN
/usr/bin
/USR/LOCAL/BIN
/c/WINDOWS
/c/WINDOWS/COMMAND
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
CYGWIN32 = `notty binmode notitle'
CYGWIN = `notty binmode notitle'
HOME = `/c/export/treynolds'
MAKE_MODE = `unix'
PWD = `/usr/local/src/zsh/foo'
USER = `treynolds'
!C: = `C:\tmp'
!D: = `D:\cygwin\tmp\zsh-3.1.7-pre-1'
BLASTER = `A220 I7 D1 T2 '
CLASSPATH = `C:\jdk1.2.2\jre\lib\ext\QTJava.zip;'
CMDLINE = `WIN'
COLORFGBG = `default;default'
COLORTERM = `rxvt'
COMSPEC = `C:\COMMAND.COM'
CVSROOT = `:pserver:anonymous AT cvs DOT zsh DOT sourceforge DOT net:/cvsroot/zsh'
DISPLAY = `treynolds:0.0'
EDITOR = `vi'
FCEDIT = `vi -u ~/.vimrc-sh'
FPHONE_TCL_LIB = `C:\Program Files\tcl\lib\tcl8.0'
GGI_CONFDIR = `d:/cygwin/usr/local/etc/ggi'
GGI_DEBUG = `0'
GGI_DEFMODE = `1024x768[GT_32BIT]'
HOSTNAME = `TREYNOLDS'
HOSTTYPE = `i586'
LESSCHARSET = `latin1'
MACHTYPE = `i586-pc-cygwin32'
MANPATH = `/usr/man:/usr/local/man:/usr/X11R6.4/man'
OLDPWD = `/usr/local/src/zsh'
OSTYPE = `cygwin32'
PROMPT = `$p$g'
PS1 = `treynolds(\!): '
QTJAVA = `C:\jdk1.2.2\jre\lib\ext\QTJava.zip'
SHELL = `/bin/bash'
SHLVL = `1'
SNDSCAPE = `C:\WINDOWS'
TEMP = `C:\WINDOWS\TEMP'
TERM = `rxvt'
TMP = `/tmp'
TMPDIR = `/tmp'
TZ = `CST6CDT'
VIM = `c:/usr/local/share/vim'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
WINDOWID = `72879952'
_ = `/usr/bin/cygcheck.exe'
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
er\Start Menu\&Programs\Cygnus Solutions
(default) = (unsupported type)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrd
er\Start Menu\&Programs\Cygnus Solutions\Menu
(default) = (unsupported type)
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00
(default) = `\l'
unix = `L:'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01
(default) = `t:'
unix = `/t'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02
(default) = `n:'
unix = `/n'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03
(default) = `l:'
unix = `/l'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04
(default) = `h:'
unix = `/h'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05
(default) = `g:'
unix = `/g'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06
(default) = `f:'
unix = `/f'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07
(default) = `e:'
unix = `/e'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08
(default) = `d:'
unix = `/d'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09
(default) = `c:\cygnus\cygwin-b20\H-i586-cygwin32\bin'
unix = `/bin'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A
(default) = `c:'
unix = `/'
fbinary = 0x00000001
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/t
(default) = `t:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/n
(default) = `n:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/h
(default) = `h:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/g
(default) = `g:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/f
(default) = `f:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/e
(default) = `e:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/d
(default) = `d:'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `d:\cygwin\bin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `d:\cygwin\lib'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `d:\cygwin'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c
(default) = `c:/'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/l
(default) = `l:/'
flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
a: fd N/A N/A
c: hd FAT32 6130Mb 63% CP UN BRUNNIS
d: hd FAT 2047Mb 90% CP UN GIGASHADOW
e: hd FAT32 2436Mb 20% CP UN DARKZONE
f: hd FAT 389Mb 30% CP UN VAULT
g: cd N/A N/A
h: net NTFS 2047Mb 47% CP CS UN PA FC Home
l: net NTFS 533Mb 83% CP PA ftp
n: net NTFS 2047Mb 0% CP CS UN PA FC NetData
t: net NTFS 2047Mb 0% CP CS UN PA FC
d:\cygwin\bin /usr/bin user binmode
d:\cygwin\lib /usr/lib user binmode
d:\cygwin / user binmode
c: /c user binmode
d: /d user binmode
e: /e user binmode
f: /f user binmode
g: /g user binmode
h: /h user binmode
l: /l user binmode
n: /n user binmode
t: /t user binmode
Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: d:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\cygwin\bin\sh.exe
587k 2000/03/01 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2000/2/29 23:15
115k 1999/09/14 d:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=1999/9/13 21:46
63k 1999/09/14 d:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=1999/9/13 21:47
474k 1999/09/14 d:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=1999/9/13 21:31
19k 1999/09/14 d:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
24k 1999/09/14 d:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=1999/9/13 21:31
768k 1999/09/14 d:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=1999/9/13 21:36
Use -h to see help about each section
----------------------------------------------------
Any takers?
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -