sftp-server: stack dump after directory listing
Richard Stanton
stanton@Haas.Berkeley.EDU
Mon May 7 09:19:00 GMT 2001
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
-------------- next part --------------
Exception: STATUS_ACCESS_VIOLATION at eip=77F6754B
eax=00000013 ebx=00000000 ecx=7FFDE000 edx=00000013 esi=FFFFFFFF edi=0A012100
ebp=0241B09C esp=0241B33C program=c:\cygnus\usr\sbin\sftp-server.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
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
More information about the Cygwin
mailing list