This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

scp crash

I don't have steps to repro and don't have time to attempt it so I'm just
putting the information out there in case it helps the developers. I have no
idea exactly what caused it, just that it did die.

I was running two simultaneous scp sessions from cmd.exe. The connections to 
the remote server are over the Cisco AnyConnect Secure Mobility client VPN. One
session died as described below.

The command line was:

    scp -r teton:Projects/2011/Autoupgrade/* .

The tail end of the output:

                                                          100%  454KB 226.8KB/s
Strawman design for Eligible Site List Phase II.msg                            
                                                                  100%  228KB
227.5KB/s   00:01
DD Phase II.msg                                                                
                                                                  100%   33KB 
32.5KB/s   00:00
                                                                  100% 2226KB
278.3KB/s   00:08
RE  Bonitasoft FYI.msg                                                         
                                                                  100%   39KB 
39.0KB/s   00:00
                                                                  100% 2738KB
304.2KB/s   00:09
*** stack smashing detected ***:  terminated
      10 [main] scp 6648 exception::handle: Exception: STATUS_ILLEGAL_INSTRUCTION
    317 [main] scp 6648 open_stackdumpfile: Dumping stack trace to scp.exe.stackdump

Contents of the stack dump file:

eax=00000000 ebx=0028C280 ecx=6117F1E4 edx=FFFFFFFF esi=00000000 edi=00000003
ebp=0028C2E8 esp=0028C270 program=c:\cygwin\bin\scp.exe, pid 6648, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0028C2E8  672811AF  (00409860, 00000007, 0028C404, 00000001)
0028CC18  004026C8  (00000001, 00B41B44, 00B41E48, 0040E2C4)
0028CC78  0040391E  (00000002, 00B41B40, 0040A5EF, 0040A1D2)
0028CCD8  00404741  (0028CD10, 00000000, 0028CD58, 61007038)
0028CD58  61007038  (00000000, 0028CD94, 61006980, 7EFDE000)
End of stack trace

Output of cygcheck -s

Cygwin Configuration Diagnostics
Current System Time: Mon Aug 01 15:25:38 2011

Windows 7 Professional N Ver 6.1 Build 7601 Service Pack 1

Running under WOW64 on AMD64

Path:	c:\binoverride
	C:\Program Files (x86)\AMD APP\bin\x86_64
	C:\Program Files (x86)\AMD APP\bin\x86
	C:\Program Files (x86)\RSA SecurID Token Common
	C:\Program Files\TortoiseSVN\bin
	C:\Program Files\TortoiseHg\
	C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
	C:\Program Files\SlikSvn\bin\
	C:\Program Files (x86)\WinSCP\
	C:\Program Files\MySQL\MySQL Server 5.1\bin
	C:\Program Files (x86)\WinZip
	C:\Program Files\TortoiseGit\bin

Output from c:\cygwin\bin\id.exe
UID: 1000(dhaynes)   GID: 513(None)
513(None)            545(Users)           1001(Debugger Users)

SysDir: C:\Windows\system32
WinDir: C:\Windows

Path = 'c:\binoverride;
C:\Program Files (x86)\AMD APP\bin\x86_64;
C:\Program Files (x86)\AMD APP\bin\x86;
C:\Program Files (x86)\RSA SecurID Token Common;
C:\Program Files\TortoiseSVN\bin;
C:\Program Files\TortoiseHg\;
C:\ztksoft\bin;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;
c:\cygwin\bin;C:\Program Files\SlikSvn\bin\;
C:\Program Files (x86)\WinSCP\;
C:\Program Files\MySQL\MySQL Server 5.1\bin;
C:\Program Files (x86)\WinZip;C:\Program Files\TortoiseGit\bin'

Use '-r' to scan registry

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    299899Mb  50% CP CS UN PA FC     Sys
e:  hd  NTFS    953862Mb  57% CP CS UN PA FC     User
g:  cd             N/A    N/A                    
h:  hd  NTFS    953862Mb   1% CP CS UN PA FC     [redacted]
m:  net NTFS    589230Mb  16% CP CS UN PA        [redacted]
o:  hd  NTFS    803862Mb  63% CP CS UN PA FC     Backups
q:  hd  NTFS    803862Mb   6% CP CS UN PA FC     Server Backups
s:  net NTFS    600900Mb  94% CP CS UN PA        data
v:  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  user    binary,auto

Found: c:\cygwin\bin\awk
 -> c:\cygwin\bin\gawk.exe
Found: c:\cygwin\bin\bash.exe
Found: c:\cygwin\bin\cat.exe
Found: c:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: c:\binoverride\find.exe
Found: C:\Windows\system32\find.exe
Found: c:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: c:\cygwin\bin\grep.exe
Found: c:\cygwin\bin\kill.exe
Found: C:\Program Files (x86)\AMD APP\bin\x86_64\ld.exe
Found: c:\cygwin\bin\ld.exe
Found: c:\cygwin\bin\ls.exe
Not Found: make
Found: c:\cygwin\bin\mv.exe
Not Found: patch
Found: c:\cygwin\bin\perl.exe
Found: c:\cygwin\bin\rm.exe
Found: c:\cygwin\bin\sed.exe
Found: c:\cygwin\bin\ssh.exe
Found: c:\cygwin\bin\sh.exe
Found: c:\cygwin\bin\tar.exe
Found: c:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   15k 2009/12/27 c:\cygwin\bin\cygattr-1.dll
   95k 2010/06/24 c:\cygwin\bin\cygblkid-1.dll
   62k 2011/05/21 c:\cygwin\bin\cygbz2-1.dll
    7k 2003/10/19 c:\cygwin\bin\cygcrypt-0.dll
 1147k 2011/03/16 c:\cygwin\bin\cygcrypto-0.9.8.dll
  943k 2007/12/17 c:\cygwin\bin\cygdb-4.5.dll
 1296k 2007/12/17 c:\cygwin\bin\cygdb_cxx-4.5.dll
  511k 2010/06/17 c:\cygwin\bin\cygedit-0.dll
  118k 2008/05/09 c:\cygwin\bin\cygexpat-1.dll
   43k 2010/01/02 c:\cygwin\bin\cygform-10.dll
   40k 2009/03/01 c:\cygwin\bin\cygform-8.dll
   47k 2010/01/02 c:\cygwin\bin\cygformw-10.dll
   44k 2011/03/22 c:\cygwin\bin\cyggcc_s-1.dll
   19k 2009/02/26 c:\cygwin\bin\cyggdbm-4.dll
    8k 2009/02/26 c:\cygwin\bin\cyggdbm_compat-4.dll
  317k 2011/07/31 c:\cygwin\bin\cyggmp-3.dll
   25k 2011/01/26 c:\cygwin\bin\cyghistory7.dll
  358k 2011/04/29 c:\cygwin\bin\cygicons-0.dll
  980k 2011/01/28 c:\cygwin\bin\cygiconv-2.dll
   31k 2009/04/03 c:\cygwin\bin\cygintl-8.dll
    5k 2011/03/29 c:\cygwin\bin\cyglsa.dll
    9k 2011/03/29 c:\cygwin\bin\cyglsa64.dll
  123k 2011/05/19 c:\cygwin\bin\cyglzma-5.dll
   25k 2010/01/02 c:\cygwin\bin\cygmenu-10.dll
   21k 2009/03/01 c:\cygwin\bin\cygmenu-8.dll
   25k 2010/01/02 c:\cygwin\bin\cygmenuw-10.dll
  213k 2011/07/31 c:\cygwin\bin\cygmp-3.dll
   63k 2010/01/02 c:\cygwin\bin\cygncurses++-10.dll
   66k 2009/03/01 c:\cygwin\bin\cygncurses++-8.dll
   63k 2010/01/02 c:\cygwin\bin\cygncurses++w-10.dll
  195k 2010/01/02 c:\cygwin\bin\cygncurses-10.dll
  237k 2009/03/01 c:\cygwin\bin\cygncurses-8.dll
  244k 2010/01/02 c:\cygwin\bin\cygncursesw-10.dll
   13k 2010/01/02 c:\cygwin\bin\cygpanel-10.dll
   11k 2009/03//usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch':
Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'odserv': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'ose': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5
Access is denied.
01 c:\cygwin\bin\cygpanel-8.dll
   13k 2010/01/02 c:\cygwin\bin\cygpanelw-10.dll
  224k 2010/06/15 c:\cygwin\bin\cygpcre-0.dll
   10k 2010/06/15 c:\cygwin\bin\cygpcreposix-0.dll
 1627k 2010/08/29 c:\cygwin\bin\cygperl5_10.dll
   22k 2002/06/09 c:\cygwin\bin\cygpopt-0.dll
  164k 2011/01/26 c:\cygwin\bin\cygreadline7.dll
    8k 2011/05/05 c:\cygwin\bin\cygsigsegv-2.dll
  263k 2011/03/16 c:\cygwin\bin\cygssl-0.9.8.dll
    8k 2011/03/22 c:\cygwin\bin\cygssp-0.dll
  771k 2011/03/22 c:\cygwin\bin\cygstdc++-6.dll
   48k 2010/01/02 c:\cygwin\bin\cygtic-10.dll
   48k 2010/01/02 c:\cygwin\bin\cygticw-10.dll
   16k 2010/06/24 c:\cygwin\bin\cyguuid-1.dll
   28k 2010/03/28 c:\cygwin\bin\cygwrap-0.dll
   76k 2010/08/01 c:\cygwin\bin\cygz.dll
 2604k 2011/03/29 c:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.7.9
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 237
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5

No Cygwin services found.

Cygwin Package Information
Package              Version              Status
_update-info-dir     00970-1              OK
alternatives         1.3.30c-10           OK
autoconf             10-1                 OK
autoconf2.1          2.13-10              OK
autoconf2.5          2.68-1               OK
automake1.10         1.10.3-1             OK
base-cygwin          3.0-1                OK
base-files           4.0-6                OK
bash                 4.1.10-4             OK
binutils             2.21.53-1            OK
bzip2                1.0.6-2              OK
coreutils            8.10-1               OK
crypt                1.1-1                OK
csih                 0.9.4-1              OK
cygrunsrv            1.34-1               OK
cygutils             1.4.6-1              OK
cygwin               1.7.9-1              OK
cygwin-doc           1.7-1                OK
dash                   OK
diffutils            2.9-1                OK
dos2unix             5.3-1                OK
editrights           1.01-2               OK
findutils            4.5.9-2              OK
gawk                 4.0.0-1              OK
gettext              0.17-11              OK
grep                 2.6.3-1              OK
groff                1.20.1-2             OK
gzip                 1.4-1                OK
ipc-utils            1.0-1                OK
less                 444-1                OK
libattr1             2.4.43-1             OK
libblkid1            2.17.2-1             OK
libbz2_1             1.0.6-2              OK
libdb4.5              OK
libedit0             20090923-1           OK
libexpat1            2.0.1-1              OK
libgcc1              4.3.4-4              OK
libgdbm4             1.8.3-20             OK
libgmp3              4.3.2-1              OK
libiconv2            1.13.1-2             OK
libintl8             0.17-11              OK
liblzma5             5.0.2_20110517-1     OK
libncurses10         5.7-18               OK
libncurses8          5.5-10               OK
libncursesw10        5.7-18               OK
libopenssl098        0.9.8r-2             OK
libpcre0             8.02-1               OK
libpopt0             1.6.4-4              OK
libreadline7         6.1.2-2              OK
libsigsegv2          2.10-1               OK
libssp0              4.3.4-4              OK
libstdc++6           4.3.4-4              OK
libuuid1             2.17.2-1             OK
libwrap0             7.6-21               OK
login                1.10-10              OK
m4                   1.4.16-1             OK
man                  1.6f-1               OK
openssh              5.8p1-1              OK
perl                 5.10.1-5             OK
rebase               3.0.1-1              OK
rsync                3.0.8-1              OK
run                  1.1.13-1             OK
sed                  4.2.1-1              OK
tar                  1.25-1               OK
terminfo             5.7_20091114-14      OK
terminfo0            5.5_20061104-12      OK
texinfo              4.13-3               OK
tzcode               2010j-1              OK
util-linux           2.17.2-1             OK
which                2.20-2               OK
xz                   5.0.2_20110517-1     OK
zlib                 1.2.5-1              OK
zlib-devel           1.2.5-1              OK
zlib0                1.2.5-1              OK
Use -h to see help about each section

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]