delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/22/19:28:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_75
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=lzMf0cwvFtQA:10 a=f-oBGdTpbLoA:10 a=6w2RKkhu7vgA:10 a=sDpBa1fLU3MiMsOKe0cA:9 a=M3dmDgbBykrzbFRqyS4A:7 a=QPkK5zUbnumeR9DZ7zI8m8-ewEEA:4 a=WcGY3-TIXCwA:10 a=aEnKdfzMQmaId3FTUdgA:9 a=S7Jqtz4NUcoJ6z5UkF8A:7 a=pj-ZqUH8NafTRRU2O-zQG1L7bYgA:4 a=AcZQ66N1Z8sA:10
X-CM-Score: 0.00
Message-ID: <49503062.7030702@i12.com>
Date: Mon, 22 Dec 2008 16:27:14 -0800
From: Lawrence Mayer <lawmay3 AT i12 DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] Pipes intermittently lose data on Cygwin 1.7
References: <494CB77F DOT 4040403 AT i12 DOT com> <494D561E DOT 9060607 AT i12 DOT com> <20081222173111 DOT GD27364 AT ednor DOT casa DOT cgf DOT cx> <494FDD16 DOT 4030903 AT i12 DOT com> <20081222184701 DOT GB23447 AT ednor DOT casa DOT cgf DOT cx> <494FF338 DOT 4020900 AT i12 DOT com> <20081222224017 DOT GA24191 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20081222224017.GA24191@ednor.casa.cgf.cx>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------030105050800090505050307
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

>>> Too bad.  Since I can't duplicate the problem it will be difficult to
>>> fix it.

>> Have you tried running the examples I provided in my original post
>> (with foo = ~ 5MB text file) on a DOS shell (cmd.exe)?

> Yes.  That's what I meant by "I can't duplicate the problem".

Just ran current snapshot cygwin-inst-20081220 on a different computer 
running a different OS: Windows XP Home sp2 32 bit on NTFS. See attached 
output from cygcheck. Both this and the previous computer have Athlon 
XP+ CPUs.

Running a DOS window (cmd.exe) with Example 1 of my original post

     tr \32 \0 < foo | tr \0 \32 > bar

using the same input file foo attached to my previous post gives:

     foo = 5,138,895 bytes
     bar = 5,132,288 bytes

I ran the test twice and got identical output. Moreover, (output) bar on 
this computer was identical to (output) bar1 (attached to my previous 
post) obtained on the other computer (running Windows Server 2003 sp2 32 
bit on NTFS.) With identical output I mean binary identical, not just 
identical file size.

Thus, there is some consistency to this bug even between different 
computers running different versions of Windows. Not complete 
consistency though, as noted in my previous post: sometimes output was 
bar2 not bar1. And on some runs the bug doesn't appear at all, and 
output size = input size.

Greetings,
Lawrence

--------------030105050800090505050307
Content-Type: text/plain;
 name="cygcheck.out"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="cygcheck.out"


Cygwin Configuration Diagnostics
Current System Time: Mon Dec 22 16:06:58 2008

Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 2

Path:	C:\WINDOWS\system32
	C:\WINDOWS
	C:\WINDOWS\System32\Wbem
	C:\Program Files\ATI Technologies\ATI Control Panel

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

Path = 'C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel'

ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
APPDATA = 'C:\Documents and Settings\Samuel\Application Data'
CLIENTNAME = 'Console'
CommonProgramFiles = 'C:\Program Files\Common Files'
COMPUTERNAME = 'SYSTEM'
ComSpec = 'C:\WINDOWS\system32\cmd.exe'
devmgr_show_nonpresent_devices = '1'
FP_NO_HOST_CHECK = 'NO'
HOMEDRIVE = 'C:'
HOMEPATH = '\Documents and Settings\Samuel'
LOGONSERVER = '\\SYSTEM'
NUMBER_OF_PROCESSORS = '1'
OS = 'Windows_NT'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = 'x86'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 10 Stepping 0, AuthenticAMD'
PROCESSOR_LEVEL = '6'
PROCESSOR_REVISION = '0a00'
ProgramFiles = 'C:\Program Files'
PROMPT = '$P$G'
SESSIONNAME = 'Console'
SystemDrive = 'C:'
SystemRoot = 'C:\WINDOWS'
TEMP = 'D:\Temp'
TMP = 'D:\Temp'
USERDOMAIN = 'SYSTEM'
USERNAME = 'Samuel'
USERPROFILE = 'C:\Documents and Settings\Samuel'
windir = 'C:\WINDOWS'


a:  fd             N/A    N/A                    
c:  hd  NTFS      4502Mb  95% CP CS UN PA FC     XPCore
d:  hd  NTFS      1004Mb  13% CP CS UN PA FC     XPTemp
e:  hd  NTFS     32655Mb  44% CP CS UN PA FC     User
f:  hd  NTFS     19539Mb  66% CP CS UN PA FC     19GDisk
g:  cd  CDFS       467Mb 100%    CS UN           OFFICE12
h:  cd             N/A    N/A                    
i:  fd  FAT       1927Mb   1% CP    UN           

C:/App/cygwin      /         system  binmode,noacl,posix=0
C:\App\cygwin\bin  /usr/bin  system  binmode,noacl,posix=0
C:\App\cygwin\lib  /usr/lib  system  binmode,noacl,posix=0
.                  /         user    binmode,cygdrive,noacl,posix=0

Not Found: awk
Not Found: bash
Not Found: cat
Not Found: cp
Not Found: cpp (good!)
Not Found: crontab
Found: C:\WINDOWS\system32\find.exe
Not Found: gcc
Not Found: gdb
Not Found: grep
Not Found: kill
Not Found: ld
Not Found: ls
Not Found: make
Not Found: mv
Not Found: patch
Not Found: perl
Not Found: rm
Found: C:\WINDOWS\sed.exe
Not Found: ssh
Not Found: sh
Not Found: tar
Not Found: test
Not Found: vi
Not Found: vim

   61k 2008/04/01 .\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2008/3/31 19:37
    7k 2003/10/19 .\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
 1064k 2008/09/30 .\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2008/9/30 8:27
  221k 2007/06/30 .\cygcurl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-4.dll" v0.0 ts=2007/6/29 17:54
  943k 2007/12/17 .\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2007/12/17 5:12
 1296k 2007/12/17 .\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 5:12
  118k 2008/05/09 .\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2008/5/8 21:03
   40k 2006/11/15 .\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2006/11/14 23:06
   19k 2006/11/19 .\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2006/11/19 0:18
    8k 2006/11/19 .\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2006/11/19 0:18
  219k 2008/10/04 .\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2008/10/4 16:48
  288k 2008/10/04 .\cyggmpxx-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmpxx-3.dll" v0.0 ts=2008/10/4 16:48
   24k 2008/11/29 .\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2008/11/29 6:30
  271k 2007/08/24 .\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2007/8/24 0:24
  978k 2008/11/10 .\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2008/11/9 16:35
   37k 2003/08/10 .\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 14:50
   31k 2005/11/20 .\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/19 18:04
   31k 2008/11/10 .\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2008/11/9 17:32
    5k 2008/12/21 .\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2008/12/20 18:28
    9k 2008/12/21 .\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
   83k 2007/06/06 .\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2007/6/6 3:41
   21k 2006/11/15 .\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2006/11/14 23:05
  121k 2008/10/04 .\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2008/10/4 16:48
   67k 2006/11/15 .\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2006/11/14 23:13
  237k 2006/11/15 .\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2006/11/14 23:02
   12k 2006/11/15 .\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2006/11/14 23:04
  181k 2008/09/07 .\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2008/9/6 20:36
  302k 2008/09/07 .\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcrecpp-0.dll" v0.0 ts=2008/9/6 20:36
    7k 2008/09/07 .\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2008/9/6 20:36
 1543k 2008/07/03 .\cygperl5_10.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_10.dll" v0.0 ts=2008/6/30 9:06
   22k 2002/06/09 .\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
  155k 2008/11/29 .\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2008/11/29 6:30
  118k 2007/06/27 .\cygssh2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygssh2-1.dll" v0.0 ts=2007/6/26 22:56
  218k 2008/09/30 .\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2008/9/30 8:28
   65k 2006/10/16 .\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2006/10/15 18:10
 2358k 2008/12/21 .\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2008/12/20 18:28
    Cygwin DLL version info:
        DLL version: 1.7.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 190
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygdrive default prefix: 
        Build date: Sat Dec 20 21:28:21 EST 2008
        Snapshot date: 20081220-21:25:00
        Shared id: cygwin1S5

   61k 2008/04/01 E:\Larry\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2008/3/31 19:37
    7k 2003/10/19 E:\Larry\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
 1064k 2008/09/30 E:\Larry\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2008/9/30 8:27
  221k 2007/06/30 E:\Larry\cygwin\bin\cygcurl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-4.dll" v0.0 ts=2007/6/29 17:54
  943k 2007/12/17 E:\Larry\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2007/12/17 5:12
 1296k 2007/12/17 E:\Larry\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2007/12/17 5:12
  118k 2008/05/09 E:\Larry\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2008/5/8 21:03
   40k 2006/11/15 E:\Larry\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2006/11/14 23:06
   19k 2006/11/19 E:\Larry\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2006/11/19 0:18
    8k 2006/11/19 E:\Larry\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2006/11/19 0:18
  219k 2008/10/04 E:\Larry\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2008/10/4 16:48
  288k 2008/10/04 E:\Larry\cygwin\bin\cyggmpxx-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmpxx-3.dll" v0.0 ts=2008/10/4 16:48
   24k 2008/11/29 E:\Larry\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2008/11/29 6:30
  271k 2007/08/24 E:\Larry\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2007/8/24 0:24
  978k 2008/11/10 E:\Larry\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2008/11/9 16:35
   37k 2003/08/10 E:\Larry\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 14:50
   31k 2005/11/20 E:\Larry\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/19 18:04
   31k 2008/11/10 E:\Larry\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2008/11/9 17:32
    5k 2008/12/21 E:\Larry\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2008/12/20 18:28
    9k 2008/12/21 E:\Larry\cygwin\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
   83k 2007/06/06 E:\Larry\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2007/6/6 3:41
   21k 2006/11/15 E:\Larry\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2006/11/14 23:05
  121k 2008/10/04 E:\Larry\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2008/10/4 16:48
   67k 2006/11/15 E:\Larry\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2006/11/14 23:13
  237k 2006/11/15 E:\Larry\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2006/11/14 23:02
   12k 2006/11/15 E:\Larry\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2006/11/14 23:04
  181k 2008/09/07 E:\Larry\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2008/9/6 20:36
  302k 2008/09/07 E:\Larry\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcrecpp-0.dll" v0.0 ts=2008/9/6 20:36
    7k 2008/09/07 E:\Larry\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2008/9/6 20:36
 1543k 2008/07/03 E:\Larry\cygwin\bin\cygperl5_10.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_10.dll" v0.0 ts=2008/6/30 9:06
   22k 2002/06/09 E:\Larry\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
  155k 2008/11/29 E:\Larry\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2008/11/29 6:30
  118k 2007/06/27 E:\Larry\cygwin\bin\cygssh2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygssh2-1.dll" v0.0 ts=2007/6/26 22:56
  218k 2008/09/30 E:\Larry\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2008/9/30 8:28
   65k 2006/10/16 E:\Larry\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2006/10/15 18:10
 2358k 2008/12/21 E:\Larry\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2008/12/20 18:28
    Cygwin DLL version info:
        DLL version: 1.7.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 190
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygdrive default prefix: 
        Build date: Sat Dec 20 21:28:21 EST 2008
        Snapshot date: 20081220-21:25:00
        Shared id: cygwin1S5

Warning: There are multiple cygwin1.dlls on your path

Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
No setup information found
Use -h to see help about each section


--------------030105050800090505050307
Content-Type: text/plain; charset=us-ascii

--
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/
--------------030105050800090505050307--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019