[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scp on MS-Windows, using pre-built 0.5.0


Hi Colin,

What would be interesting is to run libssh in verbose mode so we get
some feedback on what's happening under the hood. The stacktrace is not
very useful in this case because we can expect the hang to be in the
poll loop. It's more useful to understand why it's expecting something
to happen.
My bet: 0.5.0 had some issues with big downloads because of
renegociation problems, that has been fixed in 0.6rc. Could you check ?

I'm afraid we do not have any other precompiled binaries but we should
invest some time at providing them.

Aris

Le 18/08/13 21:30, Colin S. Miller a écrit :
> Hi,
> I'm using the pre-built version of 0.5.0 for MS-Windows, to do scp.
> 
> I've noticed two problems with it,
> firstly there is a delay of between 1-2 seconds in ssh_scp_init.
> 
> The second problem is that after coping approximately 1019 MB of data,
> (over several files; the number doesn't seem to matter),
> the ssh library locks up, with this backtrace
> 
>             ntdll.dll!NtWaitForSingleObject()  + 0x15 bytes
> ntdll.dll!NtWaitForSingleObject()  + 0x15 bytes
>             [Frames below may be incorrect and/or missing, no symbols
> loaded for ntdll.dll]
>             mswsock.dll!73ca6d30()
>             ws2_32.dll!WahReferenceContextByHandle()  + 0x5d bytes
>             ws2_32.dll!select()  + 0x9f bytes
>             ssh.dll!ssh_message_channel_request_pty_pxwidth()  + 0x2b0dc
> bytes
>             ssh.dll!ssh_message_channel_request_pty_pxwidth()  + 0x2b43d
> bytes
>             ssh.dll!ssh_message_channel_request_pty_pxwidth()  + 0x2bb7a
> bytes
>             ssh.dll!ssh_message_channel_request_pty_pxwidth()  + 0x2ce78
> bytes
>             ssh.dll!ssh_message_channel_request_pty_pxwidth()  + 0xcbd9
> bytes
>             ssh.dll!ssh_message_channel_request_pty_pxwidth()  + 0x2f122
> bytes
>>          MyScp   C++
> 
> I'm using MSVC 2010.
> 
> Is this a known problem?
> 
> Is there debug symbols available so I can track down the problem?
> 
> 
> TIA,
> Colin S. Miller
> 
> 

References:
scp on MS-Windows, using pre-built 0.5.0"Colin S. Miller" <libssh@xxxxxxxxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org