delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/12:20:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Richard Stanton" <stanton AT Haas DOT Berkeley DOT EDU>
To: "Cygwin" <cygwin AT sources DOT redhat DOT com>
Subject: sftp-server: stack dump after directory listing
Date: Mon, 7 May 2001 09:19:14 -0700
Message-ID: <LNBBKMIKMNGEJNEJICPHGEGAFAAA.stanton@haas.berkeley.edu>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

------=_NextPart_000_0000_01C0D6D6.C9166F50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

On my NT machine, running the latest sshd.exe, I'm having a problem with
sftp.

If I connect from another NT machine using cygwin sftp, I can log on fine. I
can also "get" specific files OK. However, when I ask for a directory
listing using the command "ls", the listing appears fine, but no command
prompt ever reappears, and the client never again responds to any
keystrokes.

When I kill the client process, the host machine generates a file
sftp-server.exe.stackdump, which I've attached in case it's useful.

I also tried using the sftp client on a Unix machine, with similar results.
This could also connect, and again I was able to retrive a file using "get",
but now the "ls" command returned nothing at all for about 20 seconds. Then
a directory listing appeared, then nothing for quite some time, and finally
the message:

quit
Error: Operation timed out after 30 seconds.

I've tried running sshd in a console window with lots of -d flags, but it
doesn't give me any obviously useful information.

For whatever reason, the same operations work fine on my Windows 2000
machine.

Is there anything I can do (short of debugging sshd.exe/sftp-server.exe
application, which is a little beyond my current abilities) to try to find
out more about what's going on?

Richard Stanton

------=_NextPart_000_0000_01C0D6D6.C9166F50
Content-Type: application/octet-stream;
	name="sftp-server.exe.stackdump"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="sftp-server.exe.stackdump"

Exception: STATUS_ACCESS_VIOLATION at eip=3D77F6754B
eax=3D00000013 ebx=3D00000000 ecx=3D7FFDE000 edx=3D00000013 =
esi=3DFFFFFFFF edi=3D0A012100
ebp=3D0241B09C esp=3D0241B33C =
program=3Dc:\cygnus\usr\sbin\sftp-server.exe
cs=3D001B ds=3D0023 es=3D0023 fs=3D003B gs=3D0000 ss=3D0023
Stack trace:
Frame     Function  Args
0241B09C  77F6754B  (00000000, 00000000, 00000000, 00000000)
0241B38C  77F6754B  (FFFFFFFF, 0241B3A4, 0A012100, 0A012110)
0241B604  77F0C51A  (FFFFFFFF, 0241B874, 00000005, 61004F00)
0241B9B4  61004EF4  (0A0122F0, 00000020, 0A015488, 00000000)
0241BE44  004028D9  (0241BEB4, 0A0100F0, 0241FEB4, 0040368F)
0241BE64  004033D1  (00000004, 610883E8, 00000001, 00000000)
0241FEB4  00403702  (00000001, 1A029B7C, 0A010008, FFFFFFFE)
0241FF10  61003C02  (00000000, 63655320, 77F763D3, 77F763DB)
0241FF40  61003DDD  (00403454, 63655320, 00000000, 00000000)
0241FF60  61003E1C  (00000000, 00000000, 85732A2B, 855D1600)
0241FF90  0040C7B3  (00403454, F1806E24, 00000246, 8011748B)
0241FFC0  0040103D  (63655320, 20657275, 7FFDF000, 7FFDF000)
0241FFF0  77F1B9EA  (00401000, 00000000, 000000B0, 00000100)
End of stack trace

------=_NextPart_000_0000_01C0D6D6.C9166F50
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
------=_NextPart_000_0000_01C0D6D6.C9166F50--

- Raw text -


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