public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Question about tar v1.28
       [not found] <1104577559.5773489.1457451810513.JavaMail.yahoo.ref@mail.yahoo.com>
@ 2016-03-08 15:43 ` Douglas Coup
  2016-03-08 23:52   ` Eric Blake
  0 siblings, 1 reply; 6+ messages in thread
From: Douglas Coup @ 2016-03-08 15:43 UTC (permalink / raw)
  To: cygwin

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

Hello Cygwin community. 

I'm observing some unusual behavior with tar v1.28, running as part of 
32-bit Cygwin on a Windows 10 machine. 

It's probably best if I just walk through a couple of steps to demonstrate. 

$ tar cvf dac.tar * 
file1.txt 
file2.txt 
HelloWorld.c 

So I can create a .tar file with three text files in it.  The first two 
are empty, created with the "touch" command. 

$ tar tf dac.tar 
file1.txt 
file2.txt 
HelloWorld.c 

Displaying the contents of this .tar file works fine. 

$ gcc -o HelloWorld HelloWorld.c 
$ ls 
dac.tar  file1.txt  file2.txt  HelloWorld.c  HelloWorld.exe 
$ rm dac.tar 
$ tar cvf dac.tar * 
file1.txt 
file2.txt 
HelloWorld.c 
HelloWorld.exe 

So I can apparently create a .tar file with the three text files and the 
.exe produced by compiling the C program. 

$ tar tf dac.tar 
file1.txt 
file2.txt 
HelloWorld.c 
tar: Skipping to next header 
tar: A lone zero block at 12 
tar: Exiting with failure status due to previous errors 

But when I try to view the contents of this .tar file, tar seems to have 
trouble with the .exe file. 

$ mv HelloWorld.exe dac.exe 
$ rm dac.tar 
$ tar cvf dac.tar * 
dac.exe 
file1.txt 
file2.txt 
HelloWorld.c 
$ tar tf dac.tar 
dac.exe 
tar: Skipping to next header 
tar: Exiting with failure status due to previous errors 


If I rename HelloWorld.exe to a name that collates before file1.txt, 
then "tar tf" stops at the .exe file. 

The behavior is the same if I try to extract the archive with "tar 
xvf".  In that case a dac.exe does get extracted, but trying to run it 
gets a segmentation fault (the program just prints "Hello world"). 

$ tar --version 
tar (GNU tar) 1.28 
Packaged by Cygwin (1.28-1) 
Copyright (C) 2014 Free Software Foundation, Inc. 
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. 
This is free software: you are free to change and redistribute it. 
There is NO WARRANTY, to the extent permitted by law. 

Written by John Gilmore and Jay Fenlason. 


A similar sequence on a Windows 8.1 machine running tar v1.27.1 does not 
produce this problem. 

Is there an additional option that needs to be specified for tar v1.28 
if an archive includes files like .exe files? 

I can try downgrading to v1.27, but I thought I'd see if anyone has any 
insights first. 


The output of a cygcheck command is attached.

Note that I do subscribe to the mailing list under a different email address.  I tried to send this message using that address, but I got back an error 552 (span score exceeded threshold)

Regards, 


Douglas Coup 

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 31246 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Tue Mar 08 14:56:36 2016

Windows 10 Professional Ver 10.0 Build 10586 

Running under WOW64 on AMD64

Running in Terminal Service session

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\Program Files (x86)\Eazfuscator.NET
	C:\cygwin\bin
	C:\Perl64\site\bin
	C:\Perl64\bin
	C:\Program Files (x86)\Intel\iCLS Client
	C:\Program Files\Intel\iCLS Client
	C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
	C:\WINDOWS\system32
	C:\WINDOWS
	C:\WINDOWS\System32\Wbem
	C:\WINDOWS\System32\WindowsPowerShell\v1.0
	C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
	C:\Program Files\Intel\WiFi\bin
	C:\Program Files\Common Files\Intel\WirelessCommon
	C:\Program Files\Perforce
	C:\Program Files\Perforce\DVCS
	C:\Program Files\doxygen\bin
	C:\Program Files\Microsoft\Web Platform Installer
	C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0
	C:\Program Files\Microsoft SQL Server\110\Tools\Binn
	C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit
	C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0
	C:\Program Files\Microsoft SQL Server\120\Tools\Binn
	C:\Users\eday\.dnx\bin
	C:\Program Files\Microsoft DNX\Dnvm
	C:\MinGW\bin
	C:\Program Files (x86)\Inno Setup 5
	C:\Program Files\Java\jdk1.8.0_66\bin
	C:\apache-ant-1.9.6\bin

Output from C:\cygwin\bin\id.exe
UID: 197608(eday)              GID: 197121(None)
197121(None)                   559(Performance Log Users)
545(Users)                     14(REMOTE INTERACTIVE LOGON)
4(INTERACTIVE)                 11(Authenticated Users)
15(This Organization)          113(Local account)
66048(LOCAL)                   262154(NTLM Authentication)
401408(Medium Mandatory Level)

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

USER = 'eday'
PWD = '/cygdrive/c/users/eday/doug/temp'
HOME = '/home/eday'

USERDOMAIN_ROAMINGPROFILE = 'win10'
HOMEPATH = '\Users\eday'
ZKM_JAVA = 'C:\Program Files\Java\jre6\bin\java'
APPDATA = 'C:\Users\eday\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'win10'
OnlineServices = 'Online Services'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel'
PROFILEREAD = 'true'
WINDIR = 'C:\WINDOWS'
Platform = 'HPD'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/cygdrive/c/build_win10/asn1c_v68x/dev/bin'
ORIGINAL_PATH = '/cygdrive/c/Program Files (x86)/Eazfuscator.NET:/usr/bin:/cygdrive/c/Perl64/site/bin:/cygdrive/c/Perl64/bin:/cygdrive/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS Client:/cygdrive/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files/Intel/WiFi/bin:/cygdrive/c/Program Files/Common Files/Intel/WirelessCommon:/cygdrive/c/Program Files/Perforce:/cygdrive/c/Program Files/Perforce/DVCS:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit:/cygdrive/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0:/cygdrive/c/Program Files/Microsoft SQL Server/120/Tools/Binn:/cygdrive/c/Users/eday/.dnx/bin:/cygdrive/c/Program Files/Microsoft DNX/Dnvm:/cygdrive/c/MinGW/bin:/cygdrive/c/Program Files (x86)/Inno Setup 5:/cygdrive/c/Program Files/Java/jdk1.8.0_66/bin:/cygdrive/c/apache-ant-1.9.6/bin'
USERDOMAIN = 'win10'
JAVA_ME_HOME = 'C:\Java_ME_platform_SDK_3.0'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
windows_tracing_flags = '3'
windows_tracing_logfile = 'C:\BVTBin\Tests\installpackage\csilogfile.log'
TEMP = '/tmp'
VS90COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\'
COMMONPROGRAMFILES = 'C:\Program Files (x86)\Common Files'
USERNAME = 'eday'
FPPUILang = 'en-US'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
QTDIR_48_VS2010 = 'C:\Qt_vs2010_w32\4.8.6'
PSModulePath = 'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
PROCESSOR_ARCHITEW6432 = 'AMD64'
JAVA_HOME = 'C:\Program Files\Java\jdk1.8.0_66'
LANG = 'en_US.UTF-8'
VS120COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\'
USERPROFILE = 'C:\Users\eday'
CLIENTNAME = 'DOUGSVOSTRO'
EAZFUSCATOR_NET_HOME = 'C:\Program Files (x86)\Eazfuscator.NET'
TZ = 'America/New_York'
platformcode = '6J'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\WIN10'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'x86'
LOCALAPPDATA = 'C:\Users\eday\AppData\Local'
OOBEUILang = 'en-US'
ProgramData = 'C:\ProgramData'
EXECIGNORE = '*.dll'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
JOPTIONS = '-source 1.6 -target 1.6 -bootclasspath "C:\Program Files\Java\jre6\lib\rt.jar"'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/tmp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'Brother HL-3040CN series Printer (redirected 2)'
PROCESSOR_REVISION = '3c03'
JAVA_ME_LIB = 'C:\Java_ME_platform_SDK_3.0\lib'
VS100COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
PROGRAMFILES = 'C:\Program Files (x86)'
VS140COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\'
VS110COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\'
NUMBER_OF_PROCESSORS = '8'
SESSIONNAME = 'RDP-Tcp#9'
QTDIR_48_VS2010_x64 = 'C:\Qt_vs2010_x64\4.8.6'
COMPUTERNAME = 'WIN10'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\SOFTWARE\Cygwin
HKEY_CURRENT_USER\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\Children\001\Internet Explorer\DOMStorage\cygwin.1069669.n5.nabble.com
  (default) = 0x0000002b
HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\Children\001\Internet Explorer\EdpDomStorage\cygwin.1069669.n5.nabble.com
  (default) = 0x00000000
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: c5e39b7a9d22bafb Path: C:\cygwin
  User:   Key: c5e39b7a9d22bafb Path: C:\cygwin

c:  hd  NTFS   1888507Mb   9% CP CS UN PA FC     OS
d:  hd  NTFS     18541Mb  88% CP CS UN PA FC     HP_RECOVERY
e:  cd             N/A    N/A                    

C:\cygwin        /          system  binary,auto
C:\cygwin\bin    /usr/bin   system  binary,auto
C:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  system  text,noacl,posix=0,auto

Found: C:\cygwin\bin\awk
Found: C:\cygwin\bin\awk
 -> C:\cygwin\bin\gawk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\MinGW\bin\cpp.exe
Warning: C:\cygwin\bin\cpp.exe hides C:\MinGW\bin\cpp.exe
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\find.exe
Found: C:\WINDOWS\system32\find.exe
Warning: C:\cygwin\bin\find.exe hides C:\WINDOWS\system32\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\Perl64\site\bin\gcc.exe
Warning: C:\cygwin\bin\gcc.exe hides C:\Perl64\site\bin\gcc.exe
Found: C:\MinGW\bin\gcc.exe
Warning: C:\cygwin\bin\gcc.exe hides C:\MinGW\bin\gcc.exe
Found: C:\MinGW\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\MinGW\bin\ld.exe
Warning: C:\cygwin\bin\ld.exe hides C:\MinGW\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Found: C:\Perl64\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\ssh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Found: C:\cygwin\bin\test.exe
Found: C:\cygwin\bin\vi.exe
Found: C:\cygwin\bin\vi.exe
Not Found: vim

   38k 2013/07/23 C:\cygwin\bin\cygargp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygargp-0.dll" v0.0 ts=2013-07-23 15:35
   87k 2015/07/02 C:\cygwin\bin\cygatomic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygatomic-1.dll" v0.0 ts=2015-07-02 21:51
   14k 2012/05/04 C:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2012-05-04 12:35
  203k 2015/03/23 C:\cygwin\bin\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygblkid-1.dll" v0.0 ts=2015-03-23 09:55
   62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2011-05-21 20:16
  125k 2013/05/09 C:\cygwin\bin\cygcloog-isl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygcloog-isl-4.dll" v0.0 ts=2013-05-09 08:37
   13k 2015/03/19 C:\cygwin\bin\cygcom_err-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcom_err-2.dll" v0.0 ts=2015-03-19 02:45
    7k 2012/05/07 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2012-05-07 12:18
 1982k 2016/01/28 C:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-1.0.0.dll" v0.0 ts=2016-01-28 19:18
  159k 2013/10/20 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygedit-0.dll" v0.0 ts=2013-10-20 22:09
   27k 2015/01/02 C:\cygwin\bin\cygffi-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygffi-6.dll" v0.0 ts=2015-01-02 01:11
   60k 2016/01/26 C:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2016-01-26 18:16
  108k 2015/07/02 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2015-07-02 18:59
   19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009-02-26 07:58
    8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009-02-26 07:58
  507k 2015/12/06 C:\cygwin\bin\cyggmp-10.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-10.dll" v0.0 ts=2015-12-06 09:03
   78k 2015/07/02 C:\cygwin\bin\cyggomp-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggomp-1.dll" v0.0 ts=2015-07-02 19:15
  277k 2016/01/28 C:\cygwin\bin\cyggssapi_krb5-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyggssapi_krb5-2.dll" v0.0 ts=2016-01-28 03:00
  812k 2015/02/20 C:\cygwin\bin\cygguile-17.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-17.dll" v0.0 ts=2015-02-20 16:34
   31k 2015/01/27 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2015-01-27 23:43
 1010k 2015/02/20 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2015-02-20 16:52
   41k 2015/09/20 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2015-09-20 20:20
  989k 2013/05/09 C:\cygwin\bin\cygisl-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygisl-10.dll" v0.0 ts=2013-05-09 08:14
 1191k 2015/09/20 C:\cygwin\bin\cygisl-13.dll - os=4.0 img=1.0 sys=4.0
                  "cygisl-13.dll" v0.0 ts=2015-09-20 12:39
  191k 2016/01/28 C:\cygwin\bin\cygk5crypto-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygk5crypto-3.dll" v0.0 ts=2016-01-28 03:00
  743k 2016/01/28 C:\cygwin\bin\cygkrb5-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygkrb5-3.dll" v0.0 ts=2016-01-28 03:00
   39k 2016/01/28 C:\cygwin\bin\cygkrb5support-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygkrb5support-0.dll" v0.0 ts=2016-01-28 02:59
    5k 2016/01/24 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2016-01-24 10:24
    6k 2016/01/24 C:\cygwin\bin\cyglsa64.dll (not x86 dll)
   38k 2015/10/20 C:\cygwin\bin\cygltdl-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-7.dll" v0.0 ts=2015-10-20 02:27
  159k 2015/11/09 C:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-5.dll" v0.0 ts=2015-11-09 06:13
  124k 2016/01/11 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2016-01-11 22:36
  173k 2015/10/09 C:\cygwin\bin\cygman-2-7-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygman-2-7-4.dll" v0.0 ts=2015-10-09 09:30
   22k 2015/10/09 C:\cygwin\bin\cygmandb-2-7-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmandb-2-7-4.dll" v0.0 ts=2015-10-09 09:30
   30k 2016/01/26 C:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2016-01-26 18:16
   98k 2015/03/01 C:\cygwin\bin\cygmpc-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpc-3.dll" v0.0 ts=2015-03-01 20:24
  369k 2015/06/30 C:\cygwin\bin\cygmpfr-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-4.dll" v0.0 ts=2015-06-30 18:39
   57k 2016/01/26 C:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2016-01-26 18:21
  324k 2016/01/26 C:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2016-01-26 18:15
  326k 2015/06/01 C:\cygwin\bin\cygp11-kit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygp11-kit-0.dll" v0.0 ts=2015-06-01 20:17
   15k 2016/01/26 C:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2016-01-26 18:15
  459k 2016/01/28 C:\cygwin\bin\cygpcre-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-1.dll" v0.0 ts=2016-01-28 06:15
   41k 2015/04/09 C:\cygwin\bin\cygpipeline-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpipeline-1.dll" v0.0 ts=2015-04-09 20:58
   41k 2013/10/21 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2013-10-21 21:52
  487k 2015/07/02 C:\cygwin\bin\cygquadmath-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygquadmath-0.dll" v0.0 ts=2015-07-02 19:58
  208k 2015/01/27 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2015-01-27 23:43
   11k 2015/07/17 C:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:33
   98k 2015/03/23 C:\cygwin\bin\cygsmartcols-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygsmartcols-1.dll" v0.0 ts=2015-03-23 09:55
  448k 2016/01/28 C:\cygwin\bin\cygssl-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-1.0.0.dll" v0.0 ts=2016-01-28 19:18
   13k 2015/07/02 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2015-07-02 19:53
  944k 2015/07/02 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2015-07-02 19:14
   69k 2016/02/04 C:\cygwin\bin\cygtasn1-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygtasn1-6.dll" v0.0 ts=2016-02-04 13:05
   55k 2016/01/26 C:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2016-01-26 18:15
   16k 2015/03/23 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyguuid-1.dll" v0.0 ts=2015-03-23 09:55
   83k 2014/11/19 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2014-11-19 22:57
 3436k 2016/01/24 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2016-01-24 10:24
    Cygwin DLL version info:
        DLL version: 2.4.1
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 293
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

   38k 2013/07/23 C:\cygwin\bin\cygargp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygargp-0.dll" v0.0 ts=2013-07-23 15:35
   87k 2015/07/02 C:\cygwin\bin\cygatomic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygatomic-1.dll" v0.0 ts=2015-07-02 21:51
   14k 2012/05/04 C:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2012-05-04 12:35
  203k 2015/03/23 C:\cygwin\bin\cygblkid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygblkid-1.dll" v0.0 ts=2015-03-23 09:55
   62k 2011/05/21 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2011-05-21 20:16
  125k 2013/05/09 C:\cygwin\bin\cygcloog-isl-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygcloog-isl-4.dll" v0.0 ts=2013-05-09 08:37
   13k 2015/03/19 C:\cygwin\bin\cygcom_err-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcom_err-2.dll" v0.0 ts=2015-03-19 02:45
    7k 2012/05/07 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2012-05-07 12:18
 1982k 2016/01/28 C:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-1.0.0.dll" v0.0 ts=2016-01-28 19:18
  159k 2013/10/20 C:\cygwin\bin\cygedit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygedit-0.dll" v0.0 ts=2013-10-20 22:09
   27k 2015/01/02 C:\cygwin\bin\cygffi-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygffi-6.dll" v0.0 ts=2015-01-02 01:11
   60k 2016/01/26 C:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2016-01-26 18:16
  108k 2015/07/02 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2015-07-02 18:59
   19k 2009/02/26 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009-02-26 07:58
    8k 2009/02/26 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009-02-26 07:58
  507k 2015/12/06 C:\cygwin\bin\cyggmp-10.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-10.dll" v0.0 ts=2015-12-06 09:03
   78k 2015/07/02 C:\cygwin\bin\cyggomp-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggomp-1.dll" v0.0 ts=2015-07-02 19:15
  277k 2016/01/28 C:\cygwin\bin\cyggssapi_krb5-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyggssapi_krb5-2.dll" v0.0 ts=2016-01-28 03:00
  812k 2015/02/20 C:\cygwin\bin\cygguile-17.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-17.dll" v0.0 ts=2015-02-20 16:34
   31k 2015/01/27 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2015-01-27 23:43
 1010k 2015/02/20 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2015-02-20 16:52
   41k 2015/09/20 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2015-09-20 20:20
  989k 2013/05/09 C:\cygwin\bin\cygisl-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygisl-10.dll" v0.0 ts=2013-05-09 08:14
 1191k 2015/09/20 C:\cygwin\bin\cygisl-13.dll - os=4.0 img=1.0 sys=4.0
                  "cygisl-13.dll" v0.0 ts=2015-09-20 12:39
  191k 2016/01/28 C:\cygwin\bin\cygk5crypto-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygk5crypto-3.dll" v0.0 ts=2016-01-28 03:00
  743k 2016/01/28 C:\cygwin\bin\cygkrb5-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygkrb5-3.dll" v0.0 ts=2016-01-28 03:00
   39k 2016/01/28 C:\cygwin\bin\cygkrb5support-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygkrb5support-0.dll" v0.0 ts=2016-01-28 02:59
    5k 2016/01/24 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2016-01-24 10:24
    6k 2016/01/24 C:\cygwin\bin\cyglsa64.dll (not x86 dll)
   38k 2015/10/20 C:\cygwin\bin\cygltdl-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-7.dll" v0.0 ts=2015-10-20 02:27
  159k 2015/11/09 C:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-5.dll" v0.0 ts=2015-11-09 06:13
  124k 2016/01/11 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2016-01-11 22:36
  173k 2015/10/09 C:\cygwin\bin\cygman-2-7-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygman-2-7-4.dll" v0.0 ts=2015-10-09 09:30
   22k 2015/10/09 C:\cygwin\bin\cygmandb-2-7-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmandb-2-7-4.dll" v0.0 ts=2015-10-09 09:30
   30k 2016/01/26 C:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2016-01-26 18:16
   98k 2015/03/01 C:\cygwin\bin\cygmpc-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpc-3.dll" v0.0 ts=2015-03-01 20:24
  369k 2015/06/30 C:\cygwin\bin\cygmpfr-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-4.dll" v0.0 ts=2015-06-30 18:39
   57k 2016/01/26 C:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2016-01-26 18:21
  324k 2016/01/26 C:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2016-01-26 18:15
  326k 2015/06/01 C:\cygwin\bin\cygp11-kit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygp11-kit-0.dll" v0.0 ts=2015-06-01 20:17
   15k 2016/01/26 C:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2016-01-26 18:15
  459k 2016/01/28 C:\cygwin\bin\cygpcre-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-1.dll" v0.0 ts=2016-01-28 06:15
   41k 2015/04/09 C:\cygwin\bin\cygpipeline-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpipeline-1.dll" v0.0 ts=2015-04-09 20:58
   41k 2013/10/21 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2013-10-21 21:52
  487k 2015/07/02 C:\cygwin\bin\cygquadmath-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygquadmath-0.dll" v0.0 ts=2015-07-02 19:58
  208k 2015/01/27 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2015-01-27 23:43
   11k 2015/07/17 C:\cygwin\bin\cygsigsegv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsigsegv-2.dll" v0.0 ts=2015-07-17 22:33
   98k 2015/03/23 C:\cygwin\bin\cygsmartcols-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygsmartcols-1.dll" v0.0 ts=2015-03-23 09:55
  448k 2016/01/28 C:\cygwin\bin\cygssl-1.0.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-1.0.0.dll" v0.0 ts=2016-01-28 19:18
   13k 2015/07/02 C:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2015-07-02 19:53
  944k 2015/07/02 C:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2015-07-02 19:14
   69k 2016/02/04 C:\cygwin\bin\cygtasn1-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygtasn1-6.dll" v0.0 ts=2016-02-04 13:05
   55k 2016/01/26 C:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2016-01-26 18:15
   16k 2015/03/23 C:\cygwin\bin\cyguuid-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyguuid-1.dll" v0.0 ts=2015-03-23 09:55
   83k 2014/11/19 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2014-11-19 22:57
 3436k 2016/01/24 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2016-01-24 10:24
    Cygwin DLL version info:
        DLL version: 2.4.1
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 293
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


Service             : sshd                
Display name        : CYGWIN sshd
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/sshd -D
stdin path          : /dev/null
stdout path         : /var/log/sshd.log
stderr path         : /var/log/sshd.log
Environment         : CYGWIN="ntsec" 
Process Type        : Own Process
Startup             : Automatic
Dependencies        : tcpip
Account             : .\cyg_server


Cygwin Package Information
Last downloaded files to: C:\Users\eday\Downloads
Last downloaded files from: http://cygwin.mirror.constant.com/

Package                  Version            Status
_autorebase              001003-1           OK
Empty package _update-info-dir
_update-info-dir         03000-1            OK
alternatives             1.3.30c-10         OK
base-cygwin              3.8-1              OK
base-files               4.2-4              OK
bash                     4.3.42-4           OK
binutils                 2.25-4             OK
bison                    3.0.4-1            OK
bzip2                    1.0.6-2            OK
ca-certificates          2.6-1              OK
coreutils                8.24-3             OK
crypt                    1.2-1              OK
csih                     0.9.9-1            OK
cygrunsrv                1.62-1             OK
cygutils                 1.4.15-2           OK
cygwin                   2.4.1-1            OK
cygwin-devel             2.4.1-1            OK
dash                     0.5.8-3            OK
diffutils                3.3-3              OK
editrights               1.03-1             OK
file                     5.25-1             OK
findutils                4.5.12-1           OK
flex                     2.5.39-1           OK
gawk                     4.1.3-1            OK
gcc-core                 5.3.0-1            OK
gcc-g++                  5.3.0-1            OK
getent                   2.18.90-4          OK
grep                     2.21-2             OK
groff                    1.22.3-1           OK
gzip                     1.6-1              OK
hostname                 3.13-1             OK
info                     6.1-1              OK
ipc-utils                1.0-1              OK
less                     481-1              OK
libargp                  20110921-2         OK
libatomic1               4.9.3-1            OK
libattr1                 2.4.46-1           OK
libblkid1                2.25.2-2           OK
libbz2_1                 1.0.6-2            OK
libcloog-isl4            0.18.0-2           OK
libcom_err2              1.42.12-2          OK
libedit0                 20130712-1         OK
libffi6                  3.2.1-1            OK
libgcc1                  4.9.3-1            OK
libgdbm4                 1.8.3-20           OK
libgmp10                 6.1.0-3p1          OK
libgomp1                 4.9.3-1            OK
libgssapi_krb5_2         1.13.2-4           OK
libguile17               1.8.8-1            OK
libiconv                 1.14-3             OK
libiconv2                1.14-3             OK
libintl8                 0.19.5.1-2         OK
libisl10                 0.11.1-2           OK
libisl13                 0.14.1-1           OK
libk5crypto3             1.13.2-4           OK
libkrb5_3                1.13.2-4           OK
libkrb5support0          1.13.2-4           OK
libltdl7                 2.4.6-2            OK
liblzma5                 5.2.2-1            OK
libmpc3                  1.0.3-1            OK
libmpfr4                 3.1.3-1            OK
libncursesw10            6.0-2.20160123     OK
libopenssl100            1.0.2f-1           OK
libp11-kit0              0.22.1-1           OK
libpcre1                 8.38-1             OK
libpipeline1             1.4.0-1            OK
libquadmath0             4.9.3-1            OK
libreadline7             6.3.8-1            OK
libsigsegv2              2.10-2             OK
libsmartcols1            2.25.2-2           OK
libssp0                  4.9.3-1            OK
libstdc++6               4.9.3-1            OK
libtasn1_6               4.7-1              OK
libuuid1                 2.25.2-2           OK
Empty package libvtv0
libvtv0                  4.9.3-1            OK
login                    1.11-1             OK
lynx                     2.8.7-1            OK
m4                       1.4.17-2           OK
make                     4.1-1              OK
man-db                   2.7.4-1            OK
mintty                   2.2.3-0            OK
ncurses                  6.0-2.20160123     OK
openssh                  7.1p2-1            OK
openssl                  1.0.2f-1           OK
p11-kit                  0.22.1-1           OK
p11-kit-trust            0.22.1-1           OK
popt                     1.16-1             OK
rebase                   4.4.1-1            OK
run                      1.3.4-2            OK
sed                      4.2.2-3            OK
tar                      1.28-1             OK
terminfo                 6.0-2.20160123     OK
tzcode                   2016a-1            OK
util-linux               2.25.2-2           OK
vim-minimal              7.4.1278-1         OK
w32api-headers           4.0.4-1            OK
w32api-runtime           4.0.4-1            OK
which                    2.20-2             OK
windows-default-manifest 6.4-1              OK
xz                       5.2.2-1            OK
zlib-devel               1.2.8-3            OK
zlib0                    1.2.8-3            OK
Use -h to see help about each section

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

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tar v1.28
  2016-03-08 15:43 ` Question about tar v1.28 Douglas Coup
@ 2016-03-08 23:52   ` Eric Blake
       [not found]     ` <56E05762.8050708@obj-sys.com>
  2016-12-09  3:04     ` Eric Blake
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Blake @ 2016-03-08 23:52 UTC (permalink / raw)
  To: cygwin

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

On 03/08/2016 08:43 AM, Douglas Coup wrote:
> Hello Cygwin community. 
> 
> I'm observing some unusual behavior with tar v1.28, running as part of 
> 32-bit Cygwin on a Windows 10 machine. 

I noticed this in your cygcheck output:

> cygdrive prefix /cygdrive system text,noacl,posix=0,auto

Why are you text-mounting it?  Is your current working directory
somewhere under that text mount?  It may be a bug in tar's handling of
text-mounted files (ideally, tar should be reopening everything binary
in spite of text mounts, but I may have missed a spot).

> 
> A similar sequence on a Windows 8.1 machine running tar v1.27.1 does not 
> produce this problem. 

Could be an accidental regression in my cygwin-specific patches between
the two versions. But I don't normally use or test on text-mounts, so
I'll need confirmation that you are indeed experiencing the problem only
in your text mount, before I spend cycles debugging it.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tar v1.28
       [not found]     ` <56E05762.8050708@obj-sys.com>
@ 2016-03-09 18:33       ` Douglas Coup
  2016-03-09 22:05         ` Andrey Repin
  2016-03-12 15:36         ` Bryan Berns
  0 siblings, 2 replies; 6+ messages in thread
From: Douglas Coup @ 2016-03-09 18:33 UTC (permalink / raw)
  To: cygwin

My apologies if some people see this twice.  I didn't see my original reply come through the mailing list.




________________________________
From: Douglas Coup <dcoup@obj-sys.com>
To: dacoup2@yahoo.com 
Sent: Wednesday, March 9, 2016 12:03 PM
Subject: Fwd: Re: Question about tar v1.28







-------- Forwarded Message -------- 
Subject: Re: Question about tar v1.28 
Date: Tue, 8 Mar 2016 16:52:01 -0700 
From: Eric Blake <eblake@redhat.com> 
To: cygwin@cygwin.com 


On 03/08/2016 08:43 AM, Douglas Coup wrote:
> Hello Cygwin community. 
> 
> I'm observing some unusual behavior with tar v1.28, running as part of 

> 32-bit Cygwin on a Windows 10 machine. 


I noticed this in your cygcheck output: > cygdrive prefix /cygdrive system text,noacl,posix=0,auto

Why are you text-mounting it?  Is your current working directorysomewhere under that text mount?  It may be a bug in tar's handling of
text-mounted files (ideally, tar should be reopening everything binary

in spite of text mounts, but I may have missed a spot).

Text mounting is our standard here.  I will try to find out why.

I changed the /etc/fstab so it specifies "binary" instead of "text", and with that change, the problem doesn't occur.  However, the problem doesn't occur with "text" specified on two other systems that use tar v1.27, one running Windows 8.1 and the other running Windows 7.  In fact I had used the "tar" command previously on this Windows 10 system with "text" in place without problems.  I've done other Cygwin installs since then, so probably either the "tar" command itself got updated or something it depends on got updated, such that now this issue occurs. 
> A similar sequence on a Windows 8.1 machine running tar v1.27.1 does not 

> produce this problem. 


Could be an accidental regression in my cygwin-specific patches betweenthe two versions. But I don't normally use or test on text-mounts, so
I'll need confirmation that you are indeed experiencing the problem only

in your text mount, before I spend cycles debugging it. 


-- Eric Blake  eblake redhat com   +1-919-301-3266
Libvirt virtualization library http://libvirt.org 

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tar v1.28
  2016-03-09 18:33       ` Douglas Coup
@ 2016-03-09 22:05         ` Andrey Repin
  2016-03-12 15:36         ` Bryan Berns
  1 sibling, 0 replies; 6+ messages in thread
From: Andrey Repin @ 2016-03-09 22:05 UTC (permalink / raw)
  To: Douglas Coup, cygwin

Greetings, Douglas Coup!

>> On 03/08/2016 08:43 AM, Douglas Coup wrote:
>>> Hello Cygwin community. 
>>> 
>>> I'm observing some unusual behavior with tar v1.28, running as part of 
>
>>> 32-bit Cygwin on a Windows 10 machine. 
>
>
>> I noticed this in your cygcheck output: > cygdrive prefix /cygdrive system text,noacl,posix=0,auto
>
>> Why are you text-mounting it?  Is your current working directorysomewhere
>> under that text mount?  It may be a bug in tar's handling of
>> text-mounted files (ideally, tar should be reopening everything binary
>
>> in spite of text mounts, but I may have missed a spot).

> Text mounting is our standard here.  I will try to find out why.

Text mounting is VERY, VERY, VERY bad idea.
Never do that again.

> I changed the /etc/fstab so it specifies "binary" instead of "text", and
> with that change, the problem doesn't occur.  However, the problem doesn't
> occur with "text" specified on two other systems that use tar v1.27, one
> running Windows 8.1 and the other running Windows 7.  In fact I had used the
> "tar" command previously on this Windows 10 system with "text" in place
> without problems.  I've done other Cygwin installs since then, so probably
> either the "tar" command itself got updated or something it depends on got
> updated, such that now this issue occurs.

The problem with text mounts is that you can never know, how a given program
would handle it. It may even not in the program's hands, as certain libraries
behind it may have their own second or even third opinion on the subject.
And when you tell the program to read N bytes, you never know, if it will stop
after reading N, or M, or N+M...


-- 
With best regards,
Andrey Repin
Thursday, March 10, 2016 00:51:33

Sorry for my terrible english...


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tar v1.28
  2016-03-09 18:33       ` Douglas Coup
  2016-03-09 22:05         ` Andrey Repin
@ 2016-03-12 15:36         ` Bryan Berns
  1 sibling, 0 replies; 6+ messages in thread
From: Bryan Berns @ 2016-03-12 15:36 UTC (permalink / raw)
  To: Douglas Coup, cygwin

> Could be an accidental regression in my cygwin-specific patches betweenthe two versions. But I don't normally use or test on text-mounts, so
> I'll need confirmation that you are indeed experiencing the problem only
>

For what it's worth, I recently had the similar issues with Cygwin tar
on text-mounted volumes in the last year.  We had users moving between
Cygwin tar and Redhat tar and there were issues extracting the tar
files.  I instructed them to create a binary mount for tar-related
purposes and that addressed the issue.  We need to use text-mounts, in
general, for other reasons.  It would be great if tar could be
adjusted to operate properly in these scenarios.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tar v1.28
  2016-03-08 23:52   ` Eric Blake
       [not found]     ` <56E05762.8050708@obj-sys.com>
@ 2016-12-09  3:04     ` Eric Blake
  1 sibling, 0 replies; 6+ messages in thread
From: Eric Blake @ 2016-12-09  3:04 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1: Type: text/plain, Size: 1377 bytes --]

[reviving an old thread]

On 03/08/2016 05:52 PM, Eric Blake wrote:
> On 03/08/2016 08:43 AM, Douglas Coup wrote:
>> Hello Cygwin community. 
>>
>> I'm observing some unusual behavior with tar v1.28, running as part of 
>> 32-bit Cygwin on a Windows 10 machine. 
> 
> I noticed this in your cygcheck output:
> 
>> cygdrive prefix /cygdrive system text,noacl,posix=0,auto
> 
> Why are you text-mounting it?  Is your current working directory
> somewhere under that text mount?  It may be a bug in tar's handling of
> text-mounted files (ideally, tar should be reopening everything binary
> in spite of text mounts, but I may have missed a spot).

In fact, I missed LOTS of spots.  My cygwin-specific patches to 1.27
were accidentally not copied to 1.28.  I'm fixing it as part of
packaging 1.29, which should hit mirrors soon.

I'm actually a bit surprised that there were so few reports of this
problem in the meantime (I built 1.28 in May 2015, this report was in
March 2016, and I didn't find much else about it in the meantime).
Maybe that means that text mounts are used much less than they used to
be when I took over building tar in 2005, back when setup.exe used to
have a now-removed option to create text mounts at install time.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-09  3:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1104577559.5773489.1457451810513.JavaMail.yahoo.ref@mail.yahoo.com>
2016-03-08 15:43 ` Question about tar v1.28 Douglas Coup
2016-03-08 23:52   ` Eric Blake
     [not found]     ` <56E05762.8050708@obj-sys.com>
2016-03-09 18:33       ` Douglas Coup
2016-03-09 22:05         ` Andrey Repin
2016-03-12 15:36         ` Bryan Berns
2016-12-09  3:04     ` Eric Blake

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).