public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 1.5.11 win9x instability
       [not found] <1091198980.28802.ezmlm@cygwin.com>
@ 2004-07-31 14:46 ` Errol Smith
  0 siblings, 0 replies; only message in thread
From: Errol Smith @ 2004-07-31 14:46 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2229 bytes --]

I have been experiencing intermittent instability on win98se, but tried the same tests on another 98 box with similar problems, so I am confident that cygwin is the culprit. (my machine is solid outside of cygwin).
I use the call to "find" below in one of my projects (webpack), and every once in a while it it will return a large negative number, rather than the length of the file (which is what it is intended to do). This only happens under cygwin.
So I wrote this simplified testcase, which is also unstable, though I have not been able to replicate the unexpected filesize issue, instead it always gives me a "broken pipe" error after "sufficient" iterations.

Also, (and I assume this is related), hitting ctrl-c during this script will do all sorts of unexpected things, ranging from "broken pipe" to cygwin page faulting, showing an error window that won't go away, thus needing a (usually hard) reboot. Other example errors from ctrl-c include (but are not limited to):
"/cygdrive/d/home/bin/findtest: fork: Resource temporarily unavailable" and:
"141 [main] bash 1023809 fork_copy: user/cygwin data pass 3 failed, 0x7BE890..0x7C0000, done 0, windows pid 4294111903, Win32 error 1067 /cygdrive/d/home/bin/findtest: fork: Resource temporarily unavailable"
(The expected behaviour is that you just get returned to the cygwin command prompt.)

So if you don't want to run the testcase for ages to catch the intermittent problem, just hit ctrl-c and watch the fireworks instead :)

The testcase below will run for a while and eventually stop (maybe after 2 minutes, maybe after 2 hours) with "broken pipe" (save this to a script and run it giving it the name of any file on the command line - eg. "findtest myfile":

#!/bin/bash
x=`find "$1" -printf "%s"`
y=$x
echo "$1 is $x bytes"
while [ $x = $y ]
do
    y=`find "$1" -printf "%s"`
    echo -n "$y "
done
echo "Now $1 is $y bytes!"
exit 0

(end testcase)
If someone gets this this testcase to catch the original problem (the filesize not being what is expected) I would be interested.
btw, I tried with the current cygwin (1.5.10) and also several of the latest snapshots with no change. cygcheck.out is attached.

Regards, Errol

http://www.kludgesoft.com/webpack.html

[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 13459 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Sat Jul 31 19:07:32 2004

Windows 98 SE Ver 4.10 Build 2222 

Path:	d:\home\bin
	D:\cygwin\usr\local\bin
	D:\cygwin\bin
	D:\cygwin\bin
	D:\cygwin\usr\X11R6\bin
	c:\WINDOWS
	c:\WINDOWS\COMMAND
	c:\UTILS
	D:\cygwin\bin

Output from D:\cygwin\bin\id.exe (nontsec)
UID: 984(User) GID: 544(all)
544(all)

Output from D:\cygwin\bin\id.exe (ntsec)
UID: 984(User) GID: 544(all)
544(all)

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `D:\home'
MAKE_MODE = `unix'
PWD = `/cygdrive/d/home'
USER = `User'

BLASTER = `A220 I5 D1 T4 P330'
CMDLINE = `bash --login -i'
COMSPEC = `C:\WINDOWS\COMMAND.COM'
CVS_RSH = `/bin/ssh'
INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
OLDPWD = `/usr/bin'
PROMPT = `$p$g'
PS1 = `\[\e[34m\]\w\[\e[0m\]> '
SHLVL = `1'
TEMP = `D:\TEMP'
TERM = `cygwin'
TMP = `D:\TEMP'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `D:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `D:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `D:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A                    
c:  hd  FAT     2047Mb  92% CP    UN           CCCC
d:  hd  FAT32  16378Mb 100% CP    UN           DDDD
e:  cd           N/A    N/A                    
f:  cd           N/A    N/A                    

D:\cygwin      /          system  binmode
D:\cygwin/bin  /usr/bin   system  binmode
D:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: D:\cygwin\bin\awk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cp.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
Not Found: gdb
Found: D:\cygwin\bin\grep.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\mv.exe
Found: D:\cygwin\bin\rm.exe
Found: D:\cygwin\bin\sed.exe
Found: D:\cygwin\bin\sh.exe
Found: D:\cygwin\bin\tar.exe
Found: c:\UTILS\tar.exe
Warning: D:\cygwin\bin\tar.exe hides c:\UTILS\tar.exe

   61k 2003/08/09 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2003/8/9 16:35
   19k 2003/03/22 D:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 14:05
   28k 2003/07/20 D:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 17:58
   15k 2003/07/20 D:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 18:00
   30k 2003/08/11 D:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/11 12:12
   15k 2003/08/11 D:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/11 12:13
   17k 2004/07/06 D:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextpo-0.dll" v0.0 ts=2004/7/7 3:56
  107k 2004/07/06 D:\cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/7 3:56
  190k 2004/07/06 D:\cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/7 3:56
  991k 2004/07/06 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2004/7/7 4:10
   22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 20:28
   37k 2003/08/10 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/11 7:50
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 15:28
   26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 15:27
  156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 15:29
  226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 15:17
   15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 15:27
   35k 2002/01/09 D:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 17:03
   20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 17:03
  175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 17:03
  202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 17:03
   12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 17:03
   48k 2003/08/09 D:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 19:25
   29k 2003/08/09 D:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 19:25
  224k 2003/08/09 D:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 19:24
   19k 2003/08/09 D:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 19:24
   63k 2003/04/11 D:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2003/4/11 18:31
   61k 2003/04/11 D:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2003/4/11 18:31
   62k 2003/12/11 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2003/12/12 4:01
    9k 2003/12/11 D:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2003/12/12 4:01
   17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 15:34
  108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 15:34
   29k 2003/08/10 D:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/11 9:16
  148k 2003/08/10 D:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/11 9:16
   61k 2003/12/04 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2003/12/4 14:03
  132k 2003/08/11 D:\cygwin\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-62.dll" v0.0 ts=2003/8/11 10:37
  119k 2002/02/09 D:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 16:19
  254k 2003/09/18 D:\cygwin\bin\cygtidy-0-99-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygtidy-0-99-0.dll" v0.0 ts=2003/9/19 1:52
  173k 2003/08/10 D:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2003/8/11 8:35
  841k 2004/03/17 D:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2004/3/18 9:58
  171k 2004/03/17 D:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2004/3/18 9:58
   22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 15:45
    7k 2003/10/19 D:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 17:57
  831k 2003/09/20 D:\cygwin\bin\cygdb-4.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.1.dll" v0.0 ts=2003/9/21 7:51
 1080k 2003/09/20 D:\cygwin\bin\cygdb_cxx-4.1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.1.dll" v0.0 ts=2003/9/21 7:53
 1049k 2003/11/07 D:\cygwin\bin\cygperl5_8_2.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_8_2.dll" v0.0 ts=2003/11/7 22:08
 1113k 2004/07/31 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2004/7/25 5:22
    Cygwin DLL version info:
        DLL version: 1.5.11
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 116
        Shared data: 4
        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: Sat Jul 24 15:22:38 EDT 2004
        Snapshot date: 20040724-15:19:49
        Shared id: cygwin1S4


Cygwin Package Information
Last downloaded files to: D:\Cyg
Last downloaded files from: ftp://mirror.aarnet.edu.au/pub/cygwin

Package              Version            
_update-info-dir     00227-1            
ash                  20040127-1         
base-files           2.6-1              
base-passwd          1.1-1              
bash                 2.05b-16           
binutils             20040725-2         
bzip2                1.0.2-5            
crypt                1.1-1              
cygutils             1.2.5-1            
cygwin               1.5.10-3           
cygwin-doc           1.3-7              
diffutils            2.8.7-1            
editrights           1.01-1             
file                 4.09-1             
fileutils            4.1-2              
findutils            4.1.7-4            
gawk                 3.1.3-4            
gcc                  3.3.1-3            
gcc-mingw-core       20031020-1         
gdbm                 1.8.3-7            
grep                 2.5-1              
groff                1.18.1-2           
gzip                 1.3.5-1            
jpeg                 6b-11              
less                 381-1              
libbz2_1             1.0.2-5            
libdb4.1             4.1.25-1           
libgdbm              1.8.0-5            
libgdbm-devel        1.8.3-7            
libgdbm3             1.8.3-3            
libgdbm4             1.8.3-7            
libgettextpo0        0.14.1-1           
libiconv2            1.9.2-1            
libintl1             0.10.40-1          
libintl2             0.12.1-3           
libjpeg62            6b-11              
libjpeg6b            6b-8               
libncurses5          5.2-1              
libncurses6          5.2-8              
libncurses7          5.3-4              
libpcre              4.1-1              
libpcre0             4.5-1              
libpng               1.2.5-4            
libpng12             1.2.5-4            
libpopt0             1.6.4-4            
libreadline4         4.1-2              
libreadline5         4.3-5              
links                0.99pre14-1        
login                1.9-7              
lynx                 2.8.4-8            
make                 3.80-1             
man                  1.5k-3             
mc                   4.6.0-4            
mingw-runtime        3.3-1              
mktemp               1.5-3              
more                 2.11o-1            
nano                 1.2.2-1            
ncurses              5.3-4              
openssl              0.9.7d-1           
patch                2.5.8-8            
patchutils           0.2.30pre1-1       
perl                 5.8.2-1            
readline             4.3-5              
rxvt                 2.7.10-4           
sed                  4.0.9-2            
sh-utils             2.0.15-4           
tar                  1.13.25-5          
termcap              20021106-2         
terminfo             5.3_20030726-1     
texinfo              4.2-4              
textutils            2.0.21-1           
tidy                 030901-1           
time                 1.7-1              
unzip                5.50-5             
upx                  1.24-1             
w32api               2.5-1              
wget                 1.9.1-1            
which                1.5-2              
wtf                  0.0.4-6            
zip                  2.3-6              
zlib                 1.2.1-1            
Use -h to see help about each section


[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-31 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1091198980.28802.ezmlm@cygwin.com>
2004-07-31 14:46 ` 1.5.11 win9x instability Errol Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).