Bug 16213 - gFtp will not end correctly after filetransfer
Summary: gFtp will not end correctly after filetransfer
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA5-64-OK has_procedure advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-06-26 07:05 CEST by Jan Pihlgren
Modified: 2015-09-08 19:57 CEST (History)
2 users (show)

See Also:
Source RPM: gftp
CVE:
Status comment:


Attachments

Description Jan Pihlgren 2015-06-26 07:05:27 CEST
gftp 2.0.19 13.mga5 x86_64
When use gftp for filetransfer gftp transfer the file and end with Ready and then
freeze.
The file is transfered OK but you have to use violence  to shutdown gftp.
For the next filetransfer you have to launch gftp again.
David Walser 2015-06-26 19:04:31 CEST

Assignee: bugsquad => jani.valimaa

Comment 1 Jani Välimaa 2015-06-27 10:12:17 CEST
gFTP is pretty dead in upstream as last release is from 2008, but I'll look if I can borrow patches from other distros.
Comment 2 Henk van den Enden 2015-06-28 09:42:51 CEST
After the filetransfer gftp 2.0.19 13.mga5 x86_64 freezes .
I have de-installed gftp and installed gftp-2.0.19-10.mga4.x86_64.rpm under MGA5 and this version works correct for me.

CC: (none) => hvde

Comment 3 Jan Pihlgren 2015-06-28 09:58:57 CEST
Thanks for info.
I found the fil by googling.
I also uninstall gftp 2.0.19 13.mga5 x86_64  and installed gftp-2.0.19-10.mga4.x86_64.rpm
I works as expected.
Comment 4 Rémi Verschelde 2015-08-15 16:10:23 CEST
The only difference between the Mageia 4 and Mageia 5 packages are a patch taken from Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763371#14

I don't think it's what causes the crash, though. The issue is more likely with the gtk+2.0 version. The same Debian bug report seems to infer that upgrading gtk+2.0 to version 2.25.1 solves problems with many gtk+2 packages.
Rémi Verschelde 2015-08-15 16:10:34 CEST

Source RPM: (none) => gftp gtk+2.0

Comment 5 Jan Pihlgren 2015-09-06 05:56:12 CEST
After the last update of gftp the problem return, does not end correctly and freeze.
gFTP 2.0.19. 13.mga5 x86_64
What ever the reason of the problem I think Mageia have responsibility not do distribut an update that make the use of the program will be less comfortably.
Now I have to kill the program and restart it to transfer next file.

Hardware: i586 => x86_64

Comment 6 Rémi Verschelde 2015-09-06 10:04:50 CEST
Mageia did not provide an update that breaks gFTP as it was already broken. You simply got an update because you installed the Mageia 4 RPM yourself, which has a lower version than the one in Mageia 5. If you don't want the RPM from Mageia 5, you could add it to your urpmi skip list.

I'll see if the package works better after dropping the Debian patch.
Comment 7 Rémi Verschelde 2015-09-06 10:15:30 CEST
I've removed the patch in gftp-2.0.19-13.1.mga5 in Core Updates Testing, please test and see if it works better.
Comment 8 Jan Pihlgren 2015-09-06 10:38:24 CEST
Will you pleas give me the complete command.
I alwas get :
[root@Humlan Script]# urpmi gftp
Package gftp-2.0.19-13.mga5.x86_64 is already installed
[root@Humlan Script]#
Comment 9 Rémi Verschelde 2015-09-06 10:50:27 CEST
You'd first need to wait probably an hour or so before the package is actually synced on your local mirror. Then to install it without having to enable the Core Updates Testing medium, you can do:
# urpmi.update "Core Updates Testing" && urpmi --searchmedia "Core Updates Testing" gftp
Comment 10 Jan Pihlgren 2015-09-06 10:56:28 CEST
This is the result:
[root@Humlan Script]# urpmi.update "Core Updates Testing" && urpmi --searchmedia "Core Updates Testing" gftp
mediat "Core Updates Testing (distrib5)" is updated
mediat "Core Updates Testing Debug (distrib6)" is updated
mediat "Core Updates Testing (distrib50)" is updated
mediat "Core Updates Testing Debug (distrib51)" is updated
mediat "Core Updates Testing (distrib95)" is updated
mediat "Core Updates Testing Debug (distrib96)" is updated
No package named gftp
[root@Humlan Script]#
Comment 11 Rémi Verschelde 2015-09-06 10:59:16 CEST
Because, as I said, you need to wait that the package gets synced on your mirror.
Comment 12 Jan Pihlgren 2015-09-06 12:10:46 CEST
That's much better, now it works. :)
This what's done:
[root@Humlan Script]# urpmi.update "Core Updates Testing" && urpmi --searchmedia "Core Updates Testing" gftp
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/core/updates_testing/media_info/20150906-082559-synthesis.hdlist.cz
uppdaterade media Core Updates Testing (distrib5)
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/debug/core/updates_testing/media_info/20150906-082547-synthesis.hdlist.cz
uppdaterade media Core Updates Testing Debug (distrib6)
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/core/updates_testing/media_info/20150906-082559-synthesis.hdlist.cz
uppdaterade media Core Updates Testing (distrib50)
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/debug/core/updates_testing/media_info/20150906-082547-synthesis.hdlist.cz
uppdaterade media Core Updates Testing Debug (distrib51)
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/core/updates_testing/media_info/20150906-082559-synthesis.hdlist.cz
uppdaterade media Core Updates Testing (distrib95)
    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/debug/core/updates_testing/media_info/20150906-082547-synthesis.hdlist.cz
uppdaterade media Core Updates Testing Debug (distrib96)
                                                                                                 

    rsync://ftp.sunet.se/pub/Linux/distributions/mageia/distrib/5/x86_64/media/core/updates_testing/gftp-2.0.19-13.1.mga5.x86_64.rpm
installerar gftp-2.0.19-13.1.mga5.x86_64.rpm från /var/cache/urpmi/rpms                          
Förbereder...                    ###############################################################
      1/1: gftp                  ###############################################################
      1/1: tar bort gftp-1:2.0.19-13.mga5.x86_64
                                 ###############################################################
[root@Humlan Script]# 

Thanks!
Comment 13 Rémi Verschelde 2015-09-06 12:31:38 CEST
Great, let's assign it to the QA team so that it can be pushed in Core Updates.


Advisory:
=========

Updated gftp package fixes freeze after file transfer

  gFTP in Mageia 5 was subject to complete freezes after a first successful
  file transfer (mga#16213). This update fixes it.


RPMs in core/updates_testing:
=============================

gftp-2.0.19-13.1.mga5

From SRPMs:
===========

gftp-2.0.19-13.1.mga5.src.rpm

Assignee: jani.valimaa => qa-bugs
Source RPM: gftp gtk+2.0 => gftp
Whiteboard: (none) => MGA5-64-OK

Comment 14 Rémi Verschelde 2015-09-06 12:33:41 CEST
Testing procedure:
==================

Prerequisite: a FTP server for which you have credentials.

To reproduce the bug with the version in Core Release, connect to your FTP server and upload any file; gFTP should freeze once the transfer completes, and the only option to go further is to kill the instance.

After the update, there should no longer be freezes, so you should be able to upload several files in the same session and exit it normally.

Whiteboard: MGA5-64-OK => MGA5-64-OK has_procedure

Comment 15 claire robinson 2015-09-08 16:05:03 CEST
Validating. Advisory uploaded.

Please push to 5 updates

Thanks

Keywords: (none) => validated_update
Whiteboard: MGA5-64-OK has_procedure => MGA5-64-OK has_procedure advisory
CC: (none) => sysadmin-bugs

Comment 16 Mageia Robot 2015-09-08 19:57:08 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0115.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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