Filezilla goes inactive if not interacted with

Bug #193340 reported by ScislaC
8
Affects Status Importance Assigned to Milestone
filezilla (Ubuntu)
Invalid
Undecided
Adrien Cunin
wxwidgets2.8 (Ubuntu)
Fix Released
Low
Adrien Cunin

Bug Description

Binary package hint: filezilla

In Hardy when using Filezilla (3.0.6 from the repo), it appears that when I have a large queue of files to be either uploaded or downloaded, that it will process a handful of files and then stop until the window is "interacted" with. By interaction, I mean even hovering over the window will make it resume.

For example, I queue up files and then when it's transferring I will switch to another application. A few minutes later I will go back and check Filezilla and it had only transferred about a dozen files (we're talking small text files in this example). But as soon as I called attention to the window or if my mouse hovers over the window (if it wasn't completely behind the foreground window) it continues on as if it hadn't stopped.

Revision history for this message
Adrien Cunin (adri2000) wrote :

Thanks for reporting this bug.
Can you easily reproduce it or does it only happen "sometimes"? I've tried transferring 1000 text files with FTP but didn't manage to hit that bug.
Upstream suggests it's likely to be a problem with wxwidgets.

Changed in filezilla:
assignee: nobody → adri2000
status: New → Incomplete
Revision history for this message
ScislaC (scislac) wrote :

Yes, it happens every time for me...

I am only ever using SFTP though (which isn't likely to be the culprit).
Additionally, I am using compiz and am curious if it's possibly some interaction between wxwidgets and compiz or what.
This evening I will try using just regular old metacity when trying a large transfer, that way we can potentially rule that out.

Revision history for this message
ScislaC (scislac) wrote :

I can't reproduce this anymore after the most recent FileZilla update from a few days ago. Woohoo!

Changed in filezilla:
status: Incomplete → Fix Released
Revision history for this message
ScislaC (scislac) wrote :

ARGH!!! I spoke too soon... I just queued up 1400 files via sftp and it only make it through a couple dozen max before stopping until "interacted" with. Will do further testing and file a report upstream with the info.

Changed in filezilla:
status: Fix Released → Incomplete
Revision history for this message
Curtis (cgminardi-gmail) wrote :

I can confirm this bug. I am running Hardy Heron Alpha 6 and FileZilla version 3.0.7.1. I too primarily use SFTP and this is where the bug occurs I believe. I can move files through SFTP if I use the terminal, but when in FileZilla, the interface freezes until I interact with it at random points during the upload.

The reason it is problematic is because the bug prevents FileZilla from moving on to the next file in the queue for uploading, causing timeouts and errors. When the GUI freezes, the file continues uploading, which you can witness by doing the following:

1) Let the GUI freeze during a file's upload (I can't really describe how to trigger this since it seems random under SFTP)

2) Wait a few seconds before hovering over the window

3) Now hover over the window and witness the jump in progress

When the GUI is frozen and a file finishes uploading, FileZilla refuses to advance to next the file, proving to be extremely annoying and motivating me to go back to SCP in a terminal for recursive uploads/downloads.

Revision history for this message
Curtis (cgminardi-gmail) wrote :

I can now also confirm that this does not affect the normal FTP protocol in FileZilla. To reproduce a clean download:

1) Launch FileZilla

2) In the "Host" field, put in "ftp.mozilla.org" without the quotes or another site which allows anonymous FTP downloads

3) Grab one of the folders to queue up a lot of files

4) No GUI freezes occur during the download, as evidenced by there being no errors/freezes now 18 minutes into the download and having already completed 40+ files

This leads my to think that it is specific to the interaction between FileZilla and SFTP, but I have no way of checking the other protocols. If you wanted to construct a bullet-proof testing environment, you would need two machines (one functioning as a client, one as a server) and a network connection between the two. Then you would have to install file-server packages on the one and FileZilla on the other. This would let you test in extremely controlled conditions to isolate the problem with the protocols.

Changed in filezilla:
status: Incomplete → Confirmed
Revision history for this message
Tim Kosse (tim-kosse) wrote :

This bug is caused by a race condition in wxWidgets.

See http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/98835 for the discussion.

Revision history for this message
Tim Kosse (tim-kosse) wrote :
Revision history for this message
Adrien Cunin (adri2000) wrote :

Thanks Tim.

I'm working on packaging the fix, and will provide test packages before uploading.

Changed in filezilla:
status: Confirmed → Invalid
Changed in wxwidgets2.8:
assignee: nobody → adri2000
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Adrien Cunin (adri2000) wrote :

I've put the patched .deb packages at http://adrishost.net/~adri2000/ubuntu/testing/wxwidgets2.8/
Please test them and report your results here. They should: 1) fix the FileZilla issue, and 2) not cause any regression.
Thanks.

Revision history for this message
Curtis (cgminardi-gmail) wrote :

No signs of any regression here and the transfers are all running flawlessly without my interaction. I just did an upload/download of a batch of 200 files without any errors, freezing, or timeouts occurring, which basically indicates that the patch works.

I performed a fresh install of FileZilla, downloaded the two necessary libraries for patching the bug from the site provided, and installed them. The install went perfectly and everything has been bug-free so far.

Revision history for this message
Adrien Cunin (adri2000) wrote :

Thanks a lot Curtis, I've just uploaded the package.

Changed in wxwidgets2.8:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wxwidgets2.8 - 2.8.7.1-0ubuntu2

---------------
wxwidgets2.8 (2.8.7.1-0ubuntu2) hardy; urgency=low

  [ Morten Kjeldgaard ]

  * debian/control.in: removed references to the deprecated and redundant package
    python-xml (LP: #199014).

  [ Adrien Cunin ]

  * debian/control.in: versioned build-dep python-all-{dev,dbg} (>= 2.4)
  * debian/rules: added debian/control target to .PHONY so that debian/control
    is always re-generated from debian/control.in
  * Added debian/patches/fix_from_upstream_svn_r52465.dpatch from upstream SVN
    rev. 52465:
    "fix for idle processing stopping without processing all pending events".
    Fixes filezilla issue. LP: #193340.

 -- Adrien Cunin <email address hidden> Mon, 17 Mar 2008 23:13:42 +0100

Changed in wxwidgets2.8:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.