mc crashed on attempt to transfer single file to host via SFTP

Bug #1677045 reported by Andriy Tymchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midnight Commander
Fix Released
Unknown
mc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have opened SFTP connection to another host in local network and got traversed down to home directory where wanted to copy single ZIP file. Once I pushed on F5 to copy local file to remote location, it crashed with message

(mc:19924): GLib-ERROR **: /build/glib2.0-1CRe1z/glib2.0-2.50.2/./glib/gmem.c:100: failed to allocate 94466869447131bytes

Trace/breakpoint trap (core dumped)

I got collected coredump with apport (should be attached) and got punched this short note.

Local file has normal access rights (it is ZIP downloaded myself in Firefox earlier), so no access rights on this side should be problem.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: mc 3:4.8.17-1
ProcVersionSignature: Ubuntu 4.8.0-44.47-generic 4.8.17
Uname: Linux 4.8.0-44-generic x86_64
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
CurrentDesktop: MATE
Date: Wed Mar 29 00:27:35 2017
InstallationDate: Installed on 2016-08-31 (209 days ago)
InstallationMedia: Ubuntu-MATE 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: mc
UpgradeStatus: Upgraded to yakkety on 2017-03-25 (3 days ago)

Revision history for this message
Andriy Tymchenko (silpol) wrote :
Revision history for this message
Andriy Tymchenko (silpol) wrote :

I have executed without problem command

scp local-archive-name.zip username@hostname:

and it had transferred it just fine.

Revision history for this message
Yury V. Zaytsev (zyv) wrote :

Fixed upstream in mc-4.8.19.

Changed in mc (Ubuntu):
status: New → Fix Committed
Changed in mc:
status: Unknown → Fix Released
Revision history for this message
Paul White (paulw2u) wrote :

Version 4.8.19 is in Ubuntu 18.04 so marking as fixed.

Changed in mc (Ubuntu):
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.