Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 159334 - [RHEL4] gftp crashes when file download attempt is made
Summary: [RHEL4] gftp crashes when file download attempt is made
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gftp
Version: 4.0
Hardware: x86_64
OS: Linux
Target Milestone: ---
: ---
Assignee: Matthias Clasen
QA Contact: Mike McLean
Depends On:
Blocks: 181409
TreeView+ depends on / blocked
Reported: 2005-06-01 18:23 UTC by David Lehman
Modified: 2007-11-30 22:07 UTC (History)
4 users (show)

Fixed In Version: RHBA-2006-0468
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-08-10 21:40:57 UTC
Target Upstream Version:

Attachments (Terms of Use)
gftp-64-bit-fixes.patch (deleted)
2005-11-04 10:08 UTC, Bastien Nocera
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0468 normal SHIPPED_LIVE gftp bug fix update 2006-08-09 04:00:00 UTC

Description David Lehman 2005-06-01 18:23:13 UTC
+++ This bug was initially created as a clone of Bug #140567 +++

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5)
Gecko/20041110 Firefox/1.0

Description of problem:
I attempted a file transfer from a remote ftp to my system.  I
selected the folder I wanted the file to go in the left pane of the
program, and selected the file I wanted to transfer on the right.  I
clicked the right arrow signifying the transfer and the program crashed.

I tried this again but instead dragged the fil from the right pane to
the left, with the same results.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Login to a FTP
2. Click a file on the right pane to download
3. Click the bottom arrow pointing left or drag the file to left pane

Actual Results:  Gftp crashed.

Expected Results:  For the file to transfer to the specified folder.

Additional info:
I started looking for the relevant patch by looking at 2.0.18 but it occurs to
me you may be able to do it much faster. Let me know if you need me to try
tracking it down and I'll post the patch here.

Comment 2 Caner Baydemir 2005-06-09 08:44:15 UTC
it's not a bug actually, it has to be x86_64 but redhat gives just i386 version
that's why... just get the gftp source rpm and rebuild with "--target x86_64"
option like this:

rpmbuild --rebuild gftp-foo.src.rpm --target x86_64

and then, remove i386 one and install new x86_64 package...

Comment 3 Dani Gleser 2005-08-31 16:47:11 UTC
I have the same issue and I tried your sollution and it still does not work. 
x86_64 platform, Dell, REL 4 WS.  Every time I try and download it crashes.

Comment 4 Bastien Nocera 2005-11-04 10:08:20 UTC
Created attachment 120719 [details]

Fix backported from upstream

Comment 11 William D. Hamblen 2006-04-20 14:04:32 UTC
I'm seeing this same behaviour in gftp-2.0.17-5.x86_64.  I tried several ftp
sites (including the bookmark to RH Updates) and while it connects okay, every
time I try a transfer (in either direction) gftp immediately segfaults after
creating an empty file.  I can however rename and delete files without problem
(locally and remotely) - just transfers are a problem.  

Building from the source RPM (I tried both 2.0.17-3 and 2.0.17-5) made no
difference.  This is RHEL WS 4, fully patched as of 4/20/2006.

Comment 12 Bert Heise 2006-04-20 21:11:23 UTC
I can confirm this bug -  I also see it on our RHEL WS 4 x86_64 using even the
updated 2.0.17-5 version. Are we supposed to do anything with the
"gftp-64-bit-fixes.patch" attachment of Bastien and if so, what?

Comment 13 Bert Heise 2006-04-20 21:52:22 UTC
After a bit more digging, I found that the guys at Fedora (actually the gftp
programmer) solved it with version 2.0.18 of gftp (see

I downloaded and built it from the source - runs fine! Curiously enough, that
version 2.0.18 dates from January 2005 - before this RHEL bug appeared... %-)

Comment 14 Matthias Clasen 2006-04-28 16:53:58 UTC
Patch has been included in gftp-2.0.17-6

Comment 19 Red Hat Bugzilla 2006-08-10 21:40:57 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.