tar broken on 1.5.18 and newer

Krzysztof Duleba krzysan@skrzynka.pl
Tue Aug 9 20:52:00 GMT 2005


This is the second time I'm trying to send this report. Last time my mail 
didn't make it to the list because of "Symantec Mail Security detected 
prohibited attachments in a message sent from your address. ". This time 
I'll paste stackdump and strace inline.

Since 1.5.18, tar failes to work if called from the windows shell.

D:\>tar
       4 [main] tar 412 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
    8977 [main] tar 412 open_stackdumpfile: Dumping stack trace to 
tar.exe.stackdump

This happens only if there is another Cygwin program running. However, if I 
turn off *all* Cygwin apps, tar will work fine.

Reproduced on 1.5.18 and 1.5.19 snapshots (including 20050808). Works fine 
on 1.5.17. Works fine in Cygwin shells. Works fine if cmd is called from bash.

Krzysztof Duleba


Stackdump:

Exception: STATUS_ACCESS_VIOLATION at eip=6101090C
eax=10100090 ebx=60020000 ecx=0022EF33 edx=00000FDC esi=00000001 edi=610FBB9C
ebp=0022EEF0 esp=0022EED8 program=d:\cygwin\bin\tar.exe, pid 4060, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022EEF0  6101090C  (60020000, 10100168, 0022EFE0, 61004D63)
0022EF00  61010CFE  (610F5350, 0000002F, 610F01A0, 6111D633)
0022EFE0  61004D63  (0022EFF8, 002310A0, 0022F044, 0022F040)
0022FF90  610059AF  (00000000, 00000000, 00000000, 00000000)
End of stack trace

Strace:

**********************************************
Program name: d:\cygwin\bin\tar.exe (pid 1784, ppid 1)
App version:  1005.5, api: 0.94
DLL version:  1005.19, api: 0.137
DLL build:    20050808 09:54:10SNP
OS version:   Windows NT-5.1
Heap size:    1341128704
Date/Time:    2005-08-09 22:27:47
**********************************************
    35     301 [main] tar 1784 set_myself: myself->dwProcessId 1784
    48     349 [main] tar 1784 time: 1123619267 = time (0)
   319     668 [main] tar 1784 environ_init: 0x10100238: !C:=C:\
    47     715 [main] tar 1784 environ_init: 0x10100248: !D:=D:\
    44     759 [main] tar 1784 environ_init: 0x10100258: !E:=E:\
    43     802 [main] tar 1784 environ_init: 0x10100268: !EXITCODE=C0000005
    99     901 [main] tar 1784 environ_init: 0x10100280: 
ALLUSERSPROFILE=C:\Documents and Settings\All Users
    37     938 [main] tar 1784 environ_init: 0x101002B8: 
APPDATA=C:\Documents and Settings\Krzysiek\Dane aplikacji
    35     973 [main] tar 1784 environ_init: 0x101002F8: 
COMMANDER_PATH=D:\uzytki\totalcmd
    35    1008 [main] tar 1784 environ_init: 0x10100320: 
COMMONPROGRAMFILES=C:\Program Files\Common Files
    35    1043 [main] tar 1784 environ_init: 0x10100358: COMPUTERNAME=DULI5
    34    1077 [main] tar 1784 environ_init: 0x10100370: 
COMSPEC=C:\WINDOWS\system32\cmd.exe
    37    1114 [main] tar 1784 parse_options: ntsec (called func)
    38    1152 [main] tar 1784 parse_options: tty 1001
    34    1186 [main] tar 1784 parse_options: server 1
    33    1219 [main] tar 1784 parse_options: returning
    18    1237 [main] tar 1784 environ_init: 0x10100398: CYGWIN=ntsec tty 
server
    35    1272 [main] tar 1784 environ_init: 0x101003E8: FP_NO_HOST_CHECK=NO
    37    1309 [main] tar 1784 environ_init: 0x10100400: HOMEDRIVE=C:
    35    1344 [main] tar 1784 environ_init: 0x10100418: 
HOMEPATH=\Documents and Settings\Krzysiek
    34    1378 [main] tar 1784 environ_init: 0x10100448: 
INCLUDE=D:\programowanie\MS Visual Studio .NET\SDK\v1.1\include\
    36    1414 [main] tar 1784 environ_init: 0x10100490: 
LIB=D:\programowanie\MS Visual Studio .NET\SDK\v1.1\Lib\
    41    1455 [main] tar 1784 environ_init: 0x101004D0: LOGONSERVER=\\DULI5
    34    1489 [main] tar 1784 environ_init: 0x101004E8: NUMBER_OF_PROCESSORS=1
    34    1523 [main] tar 1784 environ_init: 0x10100508: OS=Windows_NT
    36    1559 [main] tar 1784 getwinenv: can't set native for PATH= since 
no environ yet
    26    1585 [main] tar 1784 normalize_posix_path: src .
    27    1612 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (D:\, no-keep-rel, no-add-slash)
    22    1634 [main] tar 1784 normalize_win32_path: D:\ = 
normalize_win32_path (D:\)
    26    1660 [main] tar 1784 mount_info::conv_to_posix_path: /cygdrive/d 
= conv_to_posix_path (D:\)
    22    1682 [main] tar 1784 cwdstuff::get: posix /cygdrive/d
    19    1701 [main] tar 1784 cwdstuff::get: (/cygdrive/d) = cwdstuff::get 
(0x22EBC8, 260, 1, 0), errno 0
    20    1721 [main] tar 1784 normalize_posix_path: /cygdrive/d/ = 
normalize_posix_path (.)
    20    1741 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/cygdrive/d)
    23    1764 [main] tar 1784 mount_info::cygdrive_win32_path: src 
'/cygdrive/d', dst 'd:\'
    20    1784 [main] tar 1784 set_flags: flags: binary (0x2)
    17    1801 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/cygdrive/d, dst d:\, flags 0x2A, rc 0
    43    1844 [main] tar 1784 symlink_info::check: not a symlink
    21    1865 [main] tar 1784 symlink_info::check: 0 = symlink.check (d:\, 
0x22E888) (0x2A)
   367    2232 [main] tar 1784 set_privilege: 1 = set_privilege ((token 
72C) SeChangeNotifyPrivilege, 1)
    93    2325 [main] tar 1784 path_conv::check: this->path(d:\), has_acls(1)
    45    2370 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (d:\texmf\miktex\bin\, keep-rel, add-slash)
    20    2390 [main] tar 1784 normalize_win32_path: d:\texmf\miktex\bin\ = 
normalize_win32_path (d:\texmf\miktex\bin\)
    20    2410 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/d/texmf/miktex/bin/ = conv_to_posix_path (d:\texmf\miktex\bin\)
    58    2468 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (d:\cygwin\usr\local\bin, keep-rel, no-add-slash)
    22    2490 [main] tar 1784 normalize_win32_path: 
d:\cygwin\usr\local\bin = normalize_win32_path (d:\cygwin\usr\local\bin)
    20    2510 [main] tar 1784 mount_info::conv_to_posix_path: 
/usr/local/bin = conv_to_posix_path (d:\cygwin\usr\local\bin)
    20    2530 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (d:\cygwin\bin, keep-rel, no-add-slash)
    20    2550 [main] tar 1784 normalize_win32_path: d:\cygwin\bin = 
normalize_win32_path (d:\cygwin\bin)
    19    2569 [main] tar 1784 mount_info::conv_to_posix_path: /usr/bin = 
conv_to_posix_path (d:\cygwin\bin)
    20    2589 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (d:\cygwin\usr\X11R6\bin, keep-rel, no-add-slash)
    19    2608 [main] tar 1784 normalize_win32_path: 
d:\cygwin\usr\X11R6\bin = normalize_win32_path (d:\cygwin\usr\X11R6\bin)
    20    2628 [main] tar 1784 mount_info::conv_to_posix_path: 
/usr/X11R6/bin = conv_to_posix_path (d:\cygwin\usr\X11R6\bin)
    20    2648 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\WINDOWS\system32, keep-rel, no-add-slash)
    20    2668 [main] tar 1784 normalize_win32_path: C:\WINDOWS\system32 = 
normalize_win32_path (C:\WINDOWS\system32)
    20    2688 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/c/WINDOWS/system32 = conv_to_posix_path (C:\WINDOWS\system32)
    20    2708 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\WINDOWS, keep-rel, no-add-slash)
    19    2727 [main] tar 1784 normalize_win32_path: C:\WINDOWS = 
normalize_win32_path (C:\WINDOWS)
    19    2746 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/c/WINDOWS = conv_to_posix_path (C:\WINDOWS)
    19    2765 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\WINDOWS\System32\Wbem, keep-rel, no-add-slash)
    20    2785 [main] tar 1784 normalize_win32_path: 
C:\WINDOWS\System32\Wbem = normalize_win32_path (C:\WINDOWS\System32\Wbem)
    20    2805 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path 
(C:\WINDOWS\System32\Wbem)
    21    2826 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\Program Files\ATI Technologies\ATI Control Panel, 
keep-rel, no-add-slash)
    20    2846 [main] tar 1784 normalize_win32_path: C:\Program Files\ATI 
Technologies\ATI Control Panel = normalize_win32_path (C:\Program Files\ATI 
Technologies\ATI Control Panel)
    21    2867 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/c/Program Files/ATI Technologies/ATI Control Panel = 
conv_to_posix_path (C:\Program Files\ATI Technologies\ATI Control Panel)
    22    2889 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (., keep-rel, no-add-slash)
    19    2908 [main] tar 1784 mount_info::conv_to_posix_path: . = 
conv_to_posix_path (.)
    65    2973 [main] tar 1784 win_env::add_cache: posix 
/cygdrive/d/texmf/miktex/bin/:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program 
Files/ATI Technologies/ATI Control Panel:.
    24    2997 [main] tar 1784 win_env::add_cache: native 
PATH=d:\texmf\miktex\bin\;d:\cygwin\usr\local\bin;d:\cygwin\bin;d:\cygwin\usr\X11R6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\ATI Technologies\ATI Control Panel;
    22    3019 [main] tar 1784 posify: env var converted to 
PATH=/cygdrive/d/texmf/miktex/bin/:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program 
Files/ATI Technologies/ATI Control Panel:.
    38    3057 [main] tar 1784 environ_init: 0x101005F0: 
PATH=/cygdrive/d/texmf/miktex/bin/:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program 
Files/ATI Technologies/ATI Control Panel:.
    67    3124 [main] tar 1784 environ_init: 0x10100520: 
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.SH
    37    3161 [main] tar 1784 environ_init: 0x10100568: 
PROCESSOR_ARCHITECTURE=x86
    34    3195 [main] tar 1784 environ_init: 0x10100588: 
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 6, GenuineIntel
    36    3231 [main] tar 1784 environ_init: 0x101005D0: PROCESSOR_LEVEL=6
    34    3265 [main] tar 1784 environ_init: 0x10100998: 
PROCESSOR_REVISION=0d06
    34    3299 [main] tar 1784 environ_init: 0x101009B8: 
PROGRAMFILES=C:\Program Files
    34    3333 [main] tar 1784 environ_init: 0x101009E0: PROMPT=$P$G
    34    3367 [main] tar 1784 environ_init: 0x101009F0: SESSIONNAME=Console
    34    3401 [main] tar 1784 environ_init: 0x10100A08: SYSTEMDRIVE=C:
    34    3435 [main] tar 1784 environ_init: 0x10100A20: SYSTEMROOT=C:\WINDOWS
    55    3490 [main] tar 1784 getwinenv: can't set native for TEMP= since 
no environ yet
    35    3525 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\DOCUME~1\Krzysiek\USTAWI~1\Temp, no-keep-rel, 
no-add-slash)
    20    3545 [main] tar 1784 normalize_win32_path: 
C:\DOCUME~1\Krzysiek\USTAWI~1\Temp = normalize_win32_path 
(C:\DOCUME~1\Krzysiek\USTAWI~1\Temp)
    21    3566 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp = conv_to_posix_path 
(C:\DOCUME~1\Krzysiek\USTAWI~1\Temp)
    52    3618 [main] tar 1784 win_env::add_cache: posix 
/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp
    18    3636 [main] tar 1784 win_env::add_cache: native 
TEMP=C:\DOCUME~1\Krzysiek\USTAWI~1\Temp
    19    3655 [main] tar 1784 posify: env var converted to 
TEMP=/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp
    34    3689 [main] tar 1784 environ_init: 0x10100A70: 
TEMP=/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp
    35    3724 [main] tar 1784 getwinenv: can't set native for TMP= since 
no environ yet
    34    3758 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (C:\DOCUME~1\Krzysiek\USTAWI~1\Temp, no-keep-rel, 
no-add-slash)
    20    3778 [main] tar 1784 normalize_win32_path: 
C:\DOCUME~1\Krzysiek\USTAWI~1\Temp = normalize_win32_path 
(C:\DOCUME~1\Krzysiek\USTAWI~1\Temp)
    20    3798 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp = conv_to_posix_path 
(C:\DOCUME~1\Krzysiek\USTAWI~1\Temp)
    51    3849 [main] tar 1784 win_env::add_cache: posix 
/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp
    19    3868 [main] tar 1784 win_env::add_cache: native 
TMP=C:\DOCUME~1\Krzysiek\USTAWI~1\Temp
    18    3886 [main] tar 1784 posify: env var converted to 
TMP=/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp
    34    3920 [main] tar 1784 environ_init: 0x10100BE0: 
TMP=/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp
    34    3954 [main] tar 1784 environ_init: 0x10100A40: USERDOMAIN=DULI5
    34    3988 [main] tar 1784 environ_init: 0x10100A58: USERNAME=Krzysiek
    34    4022 [main] tar 1784 environ_init: 0x10100D50: 
USERPROFILE=C:\Documents and Settings\Krzysiek
    35    4057 [main] tar 1784 environ_init: 0x10100D88: 
VS71COMNTOOLS=D:\programowanie\MS Visual Studio .NET\Common7\Tools\
    35    4092 [main] tar 1784 environ_init: 0x10100DD0: WINDIR=C:\WINDOWS
    44    4136 [main] tar 1784 pinfo_init: Set nice to 0
    18    4154 [main] tar 1784 pinfo_init: pid 1784, pgid 1784
   323    4477 [main] tar 1784 set_privilege: 0 = set_privilege ((token 
758) SeRestorePrivilege, 1)
    40    4517 [main] tar 1784 set_privilege: 1 = set_privilege ((token 
758) SeChangeNotifyPrivilege, 1)
    64    4581 [main] tar 1784 dtable::extend: size 32, fds 0x611566DC
    28    4609 [main] tar 1784 normalize_posix_path: src /etc/passwd
    19    4628 [main] tar 1784 normalize_posix_path: /etc/passwd = 
normalize_posix_path (/etc/passwd)
    20    4648 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/etc/passwd)
    19    4667 [main] tar 1784 set_flags: flags: binary (0x2)
    19    4686 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/etc/passwd, dst d:\cygwin\etc\passwd, flags 0xA, rc 0
    44    4730 [main] tar 1784 symlink_info::check: not a symlink
    21    4751 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\cygwin\etc\passwd, 0x22E838) (0xA)
    21    4772 [main] tar 1784 path_conv::check: 
this->path(d:\cygwin\etc\passwd), has_acls(1)
    72    4844 [main] tar 1784 etc::test_file_change: FindFirstFile succeeded
   184    5028 [main] tar 1784 pwdgrp::load: /etc/passwd curr_lines 10
    20    5048 [main] tar 1784 pwdgrp::load: /etc/passwd load succeeded
    34    5082 [main] tar 1784 normalize_posix_path: src /etc/group
    19    5101 [main] tar 1784 normalize_posix_path: /etc/group = 
normalize_posix_path (/etc/group)
    19    5120 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/etc/group)
    19    5139 [main] tar 1784 set_flags: flags: binary (0x2)
    18    5157 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/etc/group, dst d:\cygwin\etc\group, flags 0xA, rc 0
    38    5195 [main] tar 1784 symlink_info::check: not a symlink
    20    5215 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\cygwin\etc\group, 0x22E7F8) (0xA)
    20    5235 [main] tar 1784 path_conv::check: 
this->path(d:\cygwin\etc\group), has_acls(1)
    57    5292 [main] tar 1784 etc::test_file_change: FindFirstFile succeeded
   162    5454 [main] tar 1784 pwdgrp::load: /etc/group curr_lines 14
    26    5480 [main] tar 1784 pwdgrp::load: /etc/group load succeeded
    24    5504 [main] tar 1784 cygheap_user::ontherange: what 2, pw 0x10101378
    22    5526 [main] tar 1784 cygheap_user::ontherange: Set HOME (from 
/etc/passwd) to /home/Krzysiek
    85    5611 [main] tar 1784 normalize_posix_path: src /home/Krzysiek
    23    5634 [main] tar 1784 normalize_posix_path: /home/Krzysiek = 
normalize_posix_path (/home/Krzysiek)
    19    5653 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/home/Krzysiek)
    19    5672 [main] tar 1784 set_flags: flags: binary (0x2)
    18    5690 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/home/Krzysiek, dst d:\cygwin\home\Krzysiek, flags 0xA, rc 0
    39    5729 [main] tar 1784 symlink_info::check: not a symlink
    20    5749 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\cygwin\home\Krzysiek, 0x22DF38) (0x80000A)
    21    5770 [main] tar 1784 path_conv::check: 
this->path(d:\cygwin\home\Krzysiek), has_acls(1)
    19    5789 [main] tar 1784 win_env::add_cache: posix /home/Krzysiek
    18    5807 [main] tar 1784 win_env::add_cache: native 
HOME=d:\cygwin\home\Krzysiek
    51    5858 [main] tar 1784 normalize_posix_path: src /home/Krzysiek
    18    5876 [main] tar 1784 normalize_posix_path: /home/Krzysiek = 
normalize_posix_path (/home/Krzysiek)
    19    5895 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/home/Krzysiek)
    19    5914 [main] tar 1784 set_flags: flags: binary (0x2)
    18    5932 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/home/Krzysiek, dst d:\cygwin\home\Krzysiek, flags 0xA, rc 0
    36    5968 [main] tar 1784 symlink_info::check: not a symlink
    20    5988 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\cygwin\home\Krzysiek, 0x22DF68) (0x80000A)
    20    6008 [main] tar 1784 path_conv::check: 
this->path(d:\cygwin\home\Krzysiek), has_acls(1)
    20    6028 [main] tar 1784 win_env::add_cache: posix /home/Krzysiek
    18    6046 [main] tar 1784 win_env::add_cache: native 
HOME=d:\cygwin\home\Krzysiek
    95    6141 [main] tar 1784 sigproc_init: process/signal handling 
enabled(1001)
   117    6258 [main] tar 1784 tty_list::allocate_tty: console 1E50114 
already associated with tty1
    27    6285 [main] tar 1784 tty_list::allocate_tty: console 0x1E50114 
associated with tty1
    26    6311 [main] tar 1784 build_fh_pc: fh 0x61156844
    23    6334 [main] tar 1784 fhandler_tty_master::init: Creating master 
for tty1
    23    6357 [main] tar 1784 build_fh_pc: fh 0x61156A4C
    36    6393 [main] tar 1784 open_shared: name (null), shared 0x60020000 
(wanted 0x60020000), h 0x724
    25    6418 [main] tar 1784 _pinfo::set_ctty: checking if /dev/tty-1 changed
    61    6479 [main] tar 1784 _pinfo::set_ctty: attached tty1073741824 sid 
1784, pid 1784, tty->pgid 1784, tty->sid 1784
   823    7302 [sig] tar 1784 wait_sig: myself->dwProcessId 1784
    32    7334 [sig] tar 1784 wait_sig: entering ReadFile loop, readsig 
0x708, myself->sendsig 0x704
    37    7371 [main] tar 1784 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    22    7393 [main] tar 1784 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    20    7413 [main] tar 1784 fhandler_base::set_flags: filemode set to binary
    91    7504 [main] tar 1784 fhandler_console::open: incremented 
open_fhs, now 1
    22    7526 [main] tar 1784 fhandler_console::open: opened conin$ 0x7, 
conout$ 0x13
    26    7552 [main] tar 1784 fhandler_console::output_tcsetattr: 0 = 
tcsetattr (,60020018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
    31    7583 [main] tar 1784 fhandler_console::input_tcsetattr: 0 = 
tcsetattr (,60020018) enable flags 0x18, c_lflag 0x0 iflag 0x0
    27    7610 [main] tar 1784 fhandler_console::output_tcsetattr: 0 = 
tcsetattr (,22E898) (ENABLE FLAGS 3) (lflag 0 oflag 0)
    68    7678 [main] tar 1784 tty::make_pipes: tty1 from_slave 0x6F4, 
to_slave 0x6F8
    71    7749 [main] tar 1784 transport_layer_pipes::connect: Error 
opening the pipe (2)
    52    7801 [main] tar 1784 tty::get_event: created event 
cygwin1S4.cygtty.output.done.1
    34    7835 [main] tar 1784 tty::get_event: created event 
cygwin1S4.cygtty.ioctl.done.1
    31    7866 [main] tar 1784 tty::get_event: created event 
cygwin1S4.cygtty.ioctl.request.1
    30    7896 [main] tar 1784 tty::get_event: created event 
cygwin1S4.cygtty.input.avail.1
    37    7933 [main] tar 1784 tty::common_init: tty1 opened
    30    7963 [main] tar 1784 fhandler_console::ioctl: WINSZ: (row=25,col=80)
    31    7994 [main] tar 1784 tty::create_inuse: 
cygwin1S4.cygtty.master_alive.1 0x6D4
    34    8028 [main] tar 1784 fhandler_base::set_close_on_exec: set 
close_on_exec for /dev/ttym to 1
    21    8049 [main] tar 1784 fhandler_pty_master::set_close_on_exec: 
from_slave 0x6F4, to_slave 0x6F8
   341    8390 [main] tar 1784 time: 1123619267 = time (22E914)
    72    8462 [main] tar 1784 open: open (/var/run/utmp, 0x10002)
    33    8495 [main] tar 1784 normalize_posix_path: src /var/run/utmp
    21    8516 [main] tar 1784 normalize_posix_path: /var/run/utmp = 
normalize_posix_path (/var/run/utmp)
    22    8538 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/var/run/utmp)
    22    8560 [main] tar 1784 set_flags: flags: binary (0x2)
    21    8581 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/var/run/utmp, dst d:\cygwin\var\run\utmp, flags 0xA, rc 0
    44    8625 [main] tar 1784 symlink_info::check: not a symlink
    22    8647 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\cygwin\var\run\utmp, 0x22E058) (0xA)
    23    8670 [main] tar 1784 path_conv::check: 
this->path(d:\cygwin\var\run\utmp), has_acls(1)
    23    8693 [main] tar 1784 build_fh_pc: fh 0x61156C54
    42    8735 [main] tar 1784 fhandler_base::open: 
(d:\cygwin\var\run\utmp, 0x110002)
    39    8774 [main] tar 1784 fhandler_base::set_flags: flags 0x110002, 
supplied_bin 0x10000
    24    8798 [main] tar 1784 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    21    8819 [main] tar 1784 fhandler_base::set_flags: filemode set to binary
    20    8839 [main] tar 1784 fhandler_base::open: 0 = NtCreateFile 
(0x6D0, C0100000, d:\cygwin\var\run\utmp, io, NULL, 0, 7, 1, 20, NULL, 0)
    23    8862 [main] tar 1784 fhandler_base::open: 1 = fhandler_base::open 
(d:\cygwin\var\run\utmp, 0x110002)
    21    8883 [main] tar 1784 fhandler_base::open_fs: 1 = 
fhandler_disk_file::open (d:\cygwin\var\run\utmp, 0x10002)
    24    8907 [main] tar 1784 open: 3 = open (/var/run/utmp, 0x10002)
    21    8928 [main] tar 1784 pututline: ut->ut_type 7, ut->ut_pid 1784, 
ut->ut_line 'tty1', ut->ut_id 'y1'
    22    8950 [main] tar 1784 pututline: ut->ut_user 'Krzysiek', 
ut->ut_host 'DULI5'
    24    8974 [main] tar 1784 readv: readv (3, 0x22E6A8, 1) blocking, 
sigcatchers 0
    25    8999 [main] tar 1784 readv: no need to call ready_for_read
    48    9047 [main] tar 1784 fhandler_base::read: returning 308, binary mode
    24    9071 [main] tar 1784 readv: 308 = readv (3, 0x22E6A8, 1), errno 0
    25    9096 [main] tar 1784 fhandler_base::lseek: lseek (/var/run/utmp, 
-308, 1)
    22    9118 [main] tar 1784 fhandler_base::lseek: setting file pointer 
to 4294967295 (high), 4294966988 (low)
    25    9143 [main] tar 1784 lseek64: 0 = lseek (3, -308, 1)
    22    9165 [main] tar 1784 writev: writev (3, 0x22E7A8, 1)
    25    9190 [main] tar 1784 fhandler_base::write: binary write
    23    9213 [main] tar 1784 writev: 308 = write (3, 0x22E7A8, 1), errno 0
    22    9235 [main] tar 1784 close: close (3)
    21    9256 [main] tar 1784 fhandler_base::close: closing 
'/var/run/utmp' handle 0x6D0
    65    9321 [main] tar 1784 close: 0 = close (3)
    23    9344 [main] tar 1784 open: open (/var/log/wtmp, 0x10001)
    22    9366 [main] tar 1784 normalize_posix_path: src /var/log/wtmp
    21    9387 [main] tar 1784 normalize_posix_path: /var/log/wtmp = 
normalize_posix_path (/var/log/wtmp)
    22    9409 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/var/log/wtmp)
    21    9430 [main] tar 1784 set_flags: flags: binary (0x2)
    21    9451 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/var/log/wtmp, dst d:\cygwin\var\log\wtmp, flags 0xA, rc 0
   109    9560 [main] tar 1784 symlink_info::check: GetFileAttributes 
(d:\cygwin\var\log\wtmp) failed
    26    9586 [main] tar 1784 geterrno_from_win_error: windows error 2 == 
errno 2
    62    9648 [main] tar 1784 symlink_info::check: GetFileAttributes 
(d:\cygwin\var\log\wtmp.lnk) failed
    25    9673 [main] tar 1784 geterrno_from_win_error: windows error 2 == 
errno 2
    21    9694 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\cygwin\var\log\wtmp, 0x22E158) (0xA)
    23    9717 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/var/log)
    25    9742 [main] tar 1784 set_flags: flags: binary (0x2)
    21    9763 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/var/log, dst d:\cygwin\var\log, flags 0xA, rc 0
    40    9803 [main] tar 1784 symlink_info::check: not a symlink
    23    9826 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\cygwin\var\log, 0x22E158) (0xA)
    22    9848 [main] tar 1784 path_conv::check: 
this->path(d:\cygwin\var\log\wtmp), has_acls(1)
    23    9871 [main] tar 1784 build_fh_pc: fh 0x61156C54
    23    9894 [main] tar 1784 fhandler_base::open: 
(d:\cygwin\var\log\wtmp, 0x110001)
    55    9949 [main] tar 1784 seterrno_from_win_error: 
/netrel/src/cygwin-snapshot-20050808-1/winsup/cygwin/fhandler.cc:666 
windows error 2
    26    9975 [main] tar 1784 geterrno_from_win_error: windows error 2 == 
errno 2
    21    9996 [main] tar 1784 __set_errno: void 
seterrno_from_win_error(const char*, int, DWORD):307 val 2
    21   10017 [main] tar 1784 fhandler_base::open: C0000034 = NtCreateFile 
(0x0, 40100080, d:\cygwin\var\log\wtmp, io, NULL, 0, 7, 1, 20, NULL, 0)
    23   10040 [main] tar 1784 fhandler_base::open: 0 = fhandler_base::open 
(d:\cygwin\var\log\wtmp, 0x110001)
    22   10062 [main] tar 1784 fhandler_base::open_fs: 0 = 
fhandler_disk_file::open (d:\cygwin\var\log\wtmp, 0x10001)
    22   10084 [main] tar 1784 open: -1 = open (/var/log/wtmp, 0x10001)
    43   10127 [main] tar 1784 build_argv: argv[0] = 'tar'
    20   10147 [main] tar 1784 build_argv: argc 1
    70   10217 [main] tar 1784 build_fh_pc: fh 0x61156C54
    35   10252 [main] tar 1784 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    22   10274 [main] tar 1784 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    21   10295 [main] tar 1784 fhandler_base::set_flags: filemode set to binary
    44   10339 [main] tar 1784 fhandler_tty_slave::open: (509): tty 
output_mutex: waiting 500 ms
    25   10364 [main] tar 1784 fhandler_tty_slave::open: (509): tty 
output_mutex: acquired
    33   10397 [main] tar 1784 tty::create_inuse: 
cygwin1S4.cygtty.slave_alive.1 0x6B8
    28   10425 [main] tar 1784 fhandler_tty_slave::open: (512): tty 
output_mutex released
    21   10446 [main] tar 1784 fhandler_tty_slave::open: cannot dup handles 
via server. using old method.
    26   10472 [main] tar 1784 fhandler_tty_slave::open: tty own handle 0x6B4
    31   10503 [main] tar 1784 fhandler_tty_slave::open: duplicated 
from_master 0x6FC->0x6B0 from tty_owner
    22   10525 [main] tar 1784 fhandler_tty_slave::open: duplicated 
to_master 0x6F0->0x6AC from tty_owner
    31   10556 [main] tar 1784 fhandler_tty_slave::open: /dev/tty1 opened, 
incremented open_fhs 1, usecount 1
    23   10579 [main] tar 1784 _pinfo::set_ctty: checking if /dev/tty1 changed
    21   10600 [main] tar 1784 _pinfo::set_ctty: attached tty1 sid 1784, 
pid 1784, tty->pgid 1784, tty->sid -1
    50   10650 [main] tar 1784 _pinfo::set_ctty: cygheap->ctty 0x0, arch 
0x61156E5C
    22   10672 [main] tar 1784 _pinfo::set_ctty: ctty NULL
    20   10692 [main] tar 1784 _pinfo::set_ctty: /dev/tty1 ctty, 
incremented open_fhs 2, usecount 2
15939   26631 [main] tar 1784 handle_to_fn: nt name 
'\Device\HarddiskVolume2\strace.out'
   590   27221 [main] tar 1784 handle_to_fn: current match 
'\Device\HarddiskVolume2'
   105   27326 [main] tar 1784 handle_to_fn: derived path 'D:\strace.out'
    24   27350 [main] tar 1784 mount_info::conv_to_posix_path: 
conv_to_posix_path (D:\strace.out, no-keep-rel, no-add-slash)
    23   27373 [main] tar 1784 normalize_win32_path: D:\strace.out = 
normalize_win32_path (D:\strace.out)
    22   27395 [main] tar 1784 mount_info::conv_to_posix_path: 
/cygdrive/d/strace.out = conv_to_posix_path (D:\strace.out)
    23   27418 [main] tar 1784 normalize_posix_path: src /cygdrive/d/strace.out
    20   27438 [main] tar 1784 normalize_posix_path: /cygdrive/d/strace.out 
= normalize_posix_path (/cygdrive/d/strace.out)
    22   27460 [main] tar 1784 mount_info::conv_to_win32_path: 
conv_to_win32_path (/cygdrive/d/strace.out)
    21   27481 [main] tar 1784 mount_info::cygdrive_win32_path: src 
'/cygdrive/d/strace.out', dst 'd:\strace.out'
    21   27502 [main] tar 1784 set_flags: flags: binary (0x2)
    20   27522 [main] tar 1784 mount_info::conv_to_win32_path: src_path 
/cygdrive/d/strace.out, dst d:\strace.out, flags 0x2A, rc 0
    49   27571 [main] tar 1784 symlink_info::check: not a symlink
    22   27593 [main] tar 1784 symlink_info::check: 0 = symlink.check 
(d:\strace.out, 0x2263D8) (0x2A)
    23   27616 [main] tar 1784 path_conv::check: this->path(d:\strace.out), 
has_acls(1)
    24   27640 [main] tar 1784 build_fh_pc: fh 0x611570AC
    22   27662 [main] tar 1784 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    22   27684 [main] tar 1784 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    21   27705 [main] tar 1784 fhandler_base::set_flags: filemode set to binary
    21   27726 [main] tar 1784 fhandler_base::init: created new 
fhandler_base for handle 0x84, bin 1
    70   27796 [main] tar 1784 build_fh_pc: fh 0x611572B4
    26   27822 [main] tar 1784 fhandler_tty_slave::open: copied tty 
fhandler archetype
    22   27844 [main] tar 1784 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
    21   27865 [main] tar 1784 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x10000
    22   27887 [main] tar 1784 fhandler_base::set_flags: filemode set to binary
    20   27907 [main] tar 1784 fhandler_tty_slave::open: /dev/tty1 opened, 
incremented open_fhs 3, usecount 3
    22   27929 [main] tar 1784 _pinfo::set_ctty: checking if /dev/tty1 changed
    21   27950 [main] tar 1784 _pinfo::set_ctty: attached tty1 sid 1784, 
pid 1784, tty->pgid 1784, tty->sid 1784
   149   28099 [main] tar 1784 handle_exceptions: In cygwin_except_handler 
exc 0xC0000005 at 0x6101090C sp 0x22EED8
    23   28122 [main] tar 1784 handle_exceptions: In cygwin_except_handler 
sig 11 at 0x6101090C
    22   28144 [main] tar 1784 handle_exceptions: In cygwin_except_handler 
calling 0x0
  9438   37582 [ttyout] tar 1784 fhandler_pty_master::process_slave_output: 
bytes read 78
    28   37610 [ttyout] tar 1784 fhandler_pty_master::process_slave_output: 
returning 79
    25   37635 [ttyout] tar 1784 fhandler_console::write: 11BED80, 79
    23   37658 [ttyout] tar 1784 fhandler_console::write: at 32(0x20) state 
is 0
-9494   28164 [main] tar 1784 handle_exceptions: Exception: 
STATUS_ACCESS_VIOLATION
  9545   37709 [main] tar 1784 try_to_debug: debugger_command ''
   127   37836 [ttyout] tar 1784 fhandler_console::write: at 10(0x20) state 
is 0
   123   37959 [ttyout] tar 1784 fhandler_console::write: 79 = 
write_console (,..79)
  9649   47608 [ttyout] tar 1784 fhandler_pty_master::process_slave_output: 
bytes read 85
    25   47633 [ttyout] tar 1784 fhandler_pty_master::process_slave_output: 
returning 86
    22   47655 [ttyout] tar 1784 fhandler_console::write: 11BED80, 86
    21   47676 [ttyout] tar 1784 fhandler_console::write: at 32(0x20) state 
is 0
   130   47806 [ttyout] tar 1784 fhandler_console::write: at 10(0x20) state 
is 0
    85   47891 [ttyout] tar 1784 fhandler_console::write: 86 = 
write_console (,..86)
-9794   38097 [main] tar 1784 open_stackdumpfile: Dumping stack trace to 
tar.exe.stackdump
541178  579275 [main] tar 1784 signal_exit: about to call do_exit (8B)
    75  579350 [main] tar 1784 do_exit: do_exit (139), exit_state 0


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050809/02323d34/attachment.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list