+TC 8.5 freezes when bigger sftp session is started

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
longuist
Junior Member
Junior Member
Posts: 7
Joined: 2012-02-14, 22:34 UTC

+TC 8.5 freezes when bigger sftp session is started

Post by *longuist »

The new 8.5 TC freezes eventually (here mostly after sending about 50MiB, supposedly depending on ISP speed) when sending a bigger file with the sftp plugin.
Used Version: 1.3, background session. Updating to 1.4.1 and newer dll does not help. TC does not crash, but both windows (TC and background transfer window) stop responding and must be killed.
Changing back to 8.01 resolves this issue.
Will provide more information or tests if needed.
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

I also have this and reported this a few weeks back:

http://ghisler.ch/board/viewtopic.php?t=39315


Uploading big (big means more than 100mb) files, doesn't really work in background.
I went back to rather open a second TC instance and transfer files in foreground for the sake of stability ;)

But apparently i cant remember/tell if this was working better before 8.5, i would say so, but it is just guessing ;)
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, folks.

A quick test done on:

Code: Select all

$ date; uname -a; lsb_release -rd; cinnamon --version; wine --version
Do 20. Feb 10:52:12 CET 2014
Linux horstname 3.5.0-45-generic #68~precise1-Ubuntu SMP Wed Dec 4 16:19:28 UTC 2013 i686 i686 i386 GNU/Linux
Description:	Linux Mint 13 Maya
Release:	13
Cinnamon 2.0.14
wine-1.4
+ Total Commander 8.50 32-bit
+ sftp plugin 1.4.1
+ (libCurl - will have to check each module version)
did not reproduce the reported misbehaviour / problem / bug.
The transferred file had 600 MB, was transferred to an HP-UX server in the background. The transfer was done inside the local area network.

So I assume that several factors must be met to reproduce the problem, and in my quick test not all of them were met.

Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I don't see how the TC version could have any influence, the transfer is done entirely by the plugin.
Author of Total Commander
https://www.ghisler.com
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

ghisler(Author) wrote:I don't see how the TC version could have any influence, the transfer is done entirely by the plugin.
Any chance to support fixing that bug?

Is there some kind of debug info / logging?
User avatar
longuist
Junior Member
Junior Member
Posts: 7
Joined: 2012-02-14, 22:34 UTC

Post by *longuist »

ghisler(Author) wrote:I don't see how the TC version could have any influence, the transfer is done entirely by the plugin.
Its a mystery for me too, but its definitely a new problem for me. Tested again with 8.01, five out of five times it worked, with 8.5 failed at first attempt. Maybe it has something to do with the new functionality/information of the background transfer dialogue. I would like to do more tests, but dont know how.

@seb- When you reported the issue, did you use 8.01 or a 8.5beta/rc?

@karlchen Thanks for testing. How long did it take? Would you be so kind to choose a size (one file) which will take at least 15min+ (better 30) and retest?
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

longuist wrote: @seb- When you reported the issue, did you use 8.01 or a 8.5beta/rc?
I guess at that time it was one of the 8.5Betas - dont know exactly which. Should have noted it in my original post :?
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

Sorry for the bump, but this is something which i would really like to see solved - either by knowing what is done wrong by OT and myself, or to find out wether it is a bug in the client / server side software.

Is there nothing we can contribute to have this fixed?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I found something - please try tomorrow's beta version to check whether it's fixed or not. It's a deadlock caused by using SendMessage inside a critical section.
Author of Total Commander
https://www.ghisler.com
User avatar
longuist
Junior Member
Junior Member
Posts: 7
Joined: 2012-02-14, 22:34 UTC

Post by *longuist »

re-tested. Worked. Suppose its fixed now. Hooray. Thank you very much!
seb-
Senior Member
Senior Member
Posts: 276
Joined: 2011-11-15, 06:14 UTC
Location: DE\BN - only part time TC user after switching to Linux ;)

Post by *seb- »

I also just tested it twice (2x140MB in Background) and it did not freeze. I'll try one or two more times later on when i have to transfer something "productive" (not just dummy data).

I guess its fixed. Thanks a lot!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply