See previous discussion: http://www.cygwin.com/ml/cygwin/2009-08/msg00362.html
The problem is that rxvt takes ~10 seconds to open if another instance is already running. Deleting /var/run/utmp solves the problem. I am running as an administrator. Unfortunately, it seems to have fixed itself, but I did capture an strace and I hope that it is helpful. With an existing /var/run/utmp and another rxvt already open, rxvt seems to enter a loop: 127019 263173 [main] rxvt 2444 nanosleep: nanosleep (15) 12198 275371 [main] rxvt 2444 nanosleep: 0 = nanosleep (15, 0) 65 275436 [main] rxvt 2444 fhandler_base::lseek: lseek (/var/run/utmp, 0, 2) 76 275512 [main] rxvt 2444 fhandler_base::lseek: setting file pointer to 0 (high), 0 (low) 37 275549 [main] rxvt 2444 lseek64: 308 = lseek (7, 0, 2) 29 275578 [main] rxvt 2444 seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.5.25-15/winsup/cygwin/fhandler_disk_file.cc:1327 windows error 307 23 275601 [main] rxvt 2444 geterrno_from_win_error: unknown windows error 307, setting errno to 13 19 275620 [main] rxvt 2444 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 13 15 275635 [main] rxvt 2444 fcntl_worker: -1 = fcntl (7, 9, 0x22CA20) 17 275652 [main] rxvt 2444 sig_send: sendsig 0x1A8, pid 2444, signal -34, its_me 1 21 275673 [main] rxvt 2444 sig_send: wakeup 0x270 27 275700 [main] rxvt 2444 sig_send: Waiting for pack.wakeup 0x270 18 275718 [sig] rxvt 2444 wait_sig: signalling pack.wakeup 0x270 24 275742 [main] rxvt 2444 sig_send: returning 0x0 from sending signal -34 That happens 1000 times, and then: 19 15844246 [main] rxvt 2444 nanosleep: nanosleep (15) 15287 15859533 [main] rxvt 2444 nanosleep: 0 = nanosleep (15, 0) 45 15859578 [main] rxvt 2444 fhandler_base::lseek: lseek (/var/run/utmp, 0, 2) 39 15859617 [main] rxvt 2444 fhandler_base::lseek: setting file pointer to 0 (high), 0 (low) 24 15859641 [main] rxvt 2444 lseek64: 308 = lseek (7, 0, 2) 21 15859662 [main] rxvt 2444 seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.5.25-15/winsup/cygwin/fhandler_disk_file.cc:1327 windows error 307 18 15859680 [main] rxvt 2444 geterrno_from_win_error: unknown windows error 307, setting errno to 13 17 15859697 [main] rxvt 2444 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):310 val 13 20 15859717 [main] rxvt 2444 fcntl_worker: -1 = fcntl (7, 9, 0x22CA20) 19 15859736 [main] rxvt 2444 close: close (7) 17 15859753 [main] rxvt 2444 fhandler_base::close: closing '/var/run/utmp' handle 0x258 33 15859786 [main] rxvt 2444 close: 0 = close (7) Full strace at http://drop.io/crko18m . -- Jeremy Hetzler CYGWIN_NT-6.1 Jeremy 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
cygcheck.out
Description: Binary data
-- 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