Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <003e01c28b54$afe83660$02f07986@cypher> From: "Jake D. Stern" To: Subject: nice subject Date: Wed, 13 Nov 2002 12:38:56 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) [This is a bug report, I'm following cygwin reporting instructions by posting here. The subject line has been changed so as to not be refused. Original subject line: "xterm consumes 100% cpu when first XWin action is to close xterm."] What happens: boot winxp, start cygwin, run startxwin.bat, and XWin starts normally. If the first action is anything other than to close the xterm, for example, open the desktop menu, then everything will run fine. However, if the first action is to close the xterm, either by typing 'exit' or by clicking on the button in the window bar, the xterm process will consume 100% of my cpu (according to winxp task manager, assuming that was opened previously, because it will take forever to open after.) Interestingly, after killing the zombie xterm and window manager processes in winxp task manager and restart xwin, I can close xterm either by typing exit or clicking on the button in the window bar first and everything will run fine. So, it is only the first time after rebooting that this happens. I've tried this with wmaker, twm and fvwm2 window managers, and the problem persists except for the window manager that forces me to click to place the xterm, because that forces a first action other than to close the xterm. As this is a very strange and unlikely to be stumbled upon, I thought you'd want to know about it. Config follows. ===== Hardware: Celeron 500, 256M RAM, ASUS CUBX, IBM DPTA-373420, S3 Savage4 32 M, Adaptec 2940 UW, IBM DCAS-34330, (all running reliably) ... Software: Recent, stable, clean, licensed install of winXP Pro with .NET framework and latest service packs, running very reliably on 8G partition of the 34G IDE drive, Debian and DOS are on the 4G SCSI hard drive. Cygwin: fresh install on Nov 10, 2002. Modified the environment variables slightly to get a prompt I like and the startxwin.bat file to start the window manager I like, with only one open xterm, and my xterm preferences. $ cygcheck -s Cygwin Win95/NT Configuration Diagnostics Current System Time: Wed Nov 13 10:18:28 2002 Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 Path: C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Program Files\Common Files\Adaptec Shared\System c:\Program Files\Microsoft SQL Server\80\Tools\Binn\ c:\Program Files\SSH Communications Security\SSH Secure Shell C:\cygwin\usr\X11R6\bin SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `C:\cygwin\home\Jake' MAKE_MODE = `unix' PWD = `/home/Jake' USER = `Jake' Use `-r' to scan registry a: fd N/A N/A c: hd NTFS 8158Mb 74% CP CS UN PA FC XP d: hd NTFS 24466Mb 48% CP CS UN PA FC STORAGE e: hd FAT 133Mb 32% CP UN DOS f: hd FAT32 2090Mb 17% CP UN SHARE g: hd NTFS 7Mb 99% CP CS UN PA FC End h: cd N/A N/A C:\cygwin / system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive user binmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Not Found: gdb Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\sh.exe 58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll 643k 2002/11/09 C:\cygwin\bin\cygcrypto.dll 475k 2002/10/11 C:\cygwin\bin\cygcurl-2.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll 929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll 59k 2002/09/20 C:\cygwin\bin\cygkpathsea-3-3-7.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 40k 2001/11/21 C:\cygwin\bin\cygpcre.dll 39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll 175k 2002/07/22 C:\cygwin\bin\cygpng10.dll 179k 2002/07/22 C:\cygwin\bin\cygpng12.dll 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll 127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll 66k 2001/11/20 C:\cygwin\bin\cygregex.dll 169k 2002/11/09 C:\cygwin\bin\cygssl.dll 253k 2002/02/10 C:\cygwin\bin\cygtiff3.dll 50k 2002/03/12 C:\cygwin\bin\cygz.dll 906k 2002/11/07 C:\cygwin\bin\cygwin1.dll Cygwin DLL version info: DLL version: 1.3.15 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 63 Shared data: 3 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Thu Nov 7 13:57:47 EST 2002 CVS tag: cygwin-1-3-15-1 Shared id: cygwin1S3 41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll Cygwin Package Information Package Version WindowMaker 0.80.0-2 XFree86-base 4.2.0-1 XFree86-bin 4.2.0-2 XFree86-doc 4.2.0-1 XFree86-etc 4.2.0-1 XFree86-f100 4.2.0-2 XFree86-fcyr 4.2.0-2 XFree86-fenc 4.2.0-2 XFree86-fnts 4.2.0-2 XFree86-fscl 4.2.0-2 XFree86-fsrv 4.2.0-1 XFree86-html 4.2.0-1 XFree86-jdoc 4.2.0-1 XFree86-lib 4.2.0-3 XFree86-man 4.2.0-1 XFree86-nest 4.2.0-1 XFree86-prog 4.2.0-1 XFree86-prt 4.2.0-1 XFree86-ps 4.2.0-1 XFree86-startup-scripts4.2.0-3 XFree86-vfb 4.2.0-1 XFree86-xserv 4.2.0-15 Xaw3d 1.5-1 _update-info-dir 00086-1 ash 20020731-1 base-files 1.0-1 base-passwd 1.0-1 bash 2.05b-7 binutils 20021107-2 bison 1.75-1 byacc 1.9-1 bzip2 1.0.2-2 cgoban 1.9.12-1 clear 1.0-1 cpio 2.4.2 crypt 1.0-1 curl 7.10.1-1 cygrunsrv 0.95-1 cygutils 1.1.2-1 cygwin 1.3.15-2 cygwin-doc 1.2-1 diff 1.0-1 diffutils 2.8.1-1 ed 0.2-1 enscript 1.6.3-3 file 3.37-1 fileutils 4.1-1 findutils 4.1.7-4 flex 2.5.4-2 fvwm 2.4.7-2 gawk 3.1.1-5 gcc 3.2-2 gcc-mingw 3.2-20020817-1 gdbm 1.8.0-4 gettext 0.11.5-1 ghostscript 7.05-2 ghostscript-base 7.05-2 ghostscript-x11 7.05-2 gnugo 3.2-1 grep 2.5-1 groff 1.17.2-1 gzip 1.3.3-4 jpeg 6b-7 keychain 1.9-1 less 374-1 lesstif 0.93.18-3 libPropList 0.10.1-3 libbz2_1 1.0.2-2 libiconv2 1.8-2 libintl 0.10.38-3 libintl1 0.10.40-1 libintl2 0.11.5-1 libkpathsea3 20020911-1 libncurses5 5.2-1 libncurses6 5.2-8 libpng10 1.0.14-2 libpng12 1.2.4-2 libpopt0 1.6.4-4 libreadline4 4.1-2 libreadline5 4.3-2 login 1.5-1 make 3.79.1-7 man 1.5g-2 mc 4.5.55-1 mingw-runtime 2.2-1 mod_ssl 2.8.8-1.3.24-1 more 2.11o-1 nano 1.1.10-1 ncurses 5.2-8 newlib-man 20020801 openbox 0.99.1-3 openssh 3.5p1-2 openssl 0.9.6g-2 pcre 3.7-1 perl 5.6.1-2 procps 010801-2 rcs 5.7-3 readline 4.3-2 regex 4.4-2 rsync 2.5.5-1 sed 4.0.1-1 sh-utils 2.0-2 shutdown 1.2-2 tar 1.13.25-1 tcp_wrappers 7.6-1 termcap 20020930-1 terminfo 5.2-3 tetex 20020911-1 tetex-base 20020911-1 tetex-bin 20020911-1 tetex-doc 20020911-1 tetex-tiny 20020911-1 tetex-x11 20020911-1 texinfo 4.2-4 textutils 2.0.21-1 tiff 3.5.7-1 time 1.7-1 vim 6.1-2 w32api 2.0-1 which 1.5-1 whois 4.5.17-1 x2x 1.27-2 zlib 1.1.4-1 Use -h to see help about each section -- 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/