Topic "WinSCP 4.2.7 locks up / hang"

Author Message
jensm
[View user's profile]

Joined: 2009-08-26
Posts: 7
I'm using WinSCP to sync a directory to another host. The sync is in a script executed from the task scheduler.
I upgraded from 4.2.3 to 4.2.7 because of a hang condition that happend after a timeout. Now WinSCP hangs from time to time if it runs concurrently with other WinSCP clients. It appears the lock is on the stdio redirected log output. I'm redireting the output of winscp.com to a different log file for each instance that runs at the same time.
It must have something to do with how winscp.com receives the output from winscp.exe. With multiple instances running at the same time it appears to get confused and locks up. I saw log entires from the wrong instance in the wrong file just before it locks up.
Is that possible?
Jens
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I do not see any obvious way how this can happen. Is it easy for you to reproduce the problem?
_________________
Martin Prikryl
jensm
[View user's profile]

Joined: 2009-08-26
Posts: 7
it is realtively easy to repro. We did some more testing by running only one sync at the same time. It still hangs once in a while. It is probably related to timeouts. The hang after timeout was probably not really fixed in 4.7. It still hangs after a timeout or after connecting again once a timeout occured before.
Jens
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I've sent you an email.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License