Crash when downloading folders of files

Bug #70555 reported by Aaron Whitehouse
8
Affects Status Importance Assigned to Milestone
gftp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I am using a fully updated Edgy and tried to download a folder containing folders and files off an ftp server. GFtp downloads the file/folder list and then crashes.

$ gftp
gFTP Warning: Skipping line 229 in config file: entropy_source
gFTP Warning: Skipping line 232 in config file: entropy_len
gFTP Warning: Skipping line 235 in config file: verify_ssl_peer
Segmentation fault (core dumped)

I will attach the core dump. I can't get a backtrace as there are no debug symbols available for this package. It is consistent so I can test whatever is needed.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Here is the core dump.

Revision history for this message
ville palo (vi64pa) wrote :

Instruction how to get debug symbols for all packages can be found here:
https://wiki.ubuntu.com/DebuggingProgramCrash.

It is possible that this crash happens due to those warning messages, so attaching that config file could be helpful too.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Changed to needs info. thank you.

Changed in gftp:
status: Unconfirmed → Needs Info
Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Okay, I followed the "Old Notes" exactly and, after all that, I get:

$ sudo debi gftp*.changes
Selecting previously deselected package gftp.
(Reading database ... 104310 files and directories currently installed.)
Unpacking gftp (from gftp_2.0.18-14ubuntu1_all.deb) ...
Preparing to replace gftp-gtk 2.0.18-14ubuntu1 (using gftp-gtk_2.0.18-14ubuntu1_i386.deb) ...
Unpacking replacement gftp-gtk ...
Selecting previously deselected package gftp-text.
Unpacking gftp-text (from gftp-text_2.0.18-14ubuntu1_i386.deb) ...
Preparing to replace gftp-common 2.0.18-14ubuntu1 (using gftp-common_2.0.18-14ubuntu1_i386.deb) ...
Unpacking replacement gftp-common ...
Setting up gftp-common (2.0.18-14ubuntu1) ...
Setting up gftp-gtk (2.0.18-14ubuntu1) ...

Setting up gftp-text (2.0.18-14ubuntu1) ...

Setting up gftp (2.0.18-14ubuntu1) ...
aaron@Zyanya:~$ gftp
aaron@Zyanya:~$ gdb gftp 2>&1 | tee gdb-gftp.txt
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"..."/usr/bin/gftp": not in executable format: File format not recognized

(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) run
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) run gftp
Starting program: gftp
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) file gftp
"/usr/bin/gftp": not in executable format: File format not recognized

Revision history for this message
ville palo (vi64pa) wrote :

gftp is a script which launches gftp-gtk applicaiton, so you have to run gftp-gtk instead when using gdb.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Ah... *blush*. Got you. Here it is. Interestingly, when running through gdb it hangs instead of crashing, but it seemed to give some useful output to gdb.

Revision history for this message
Aaron Whitehouse (aaron-whitehouse) wrote :

Here is the output from Valgrind.

$ valgrind -v --tool=memcheck --leak-check=full --num-callers=12 --log-file=valgrind.log gftp-gtk

I was very surprised, everything worked perfectly (obviously a lot slower than usual) when gftp was run in this way - there was no crash and no freeze.

Revision history for this message
ville palo (vi64pa) wrote :

Thank you, I'll think here is enough information about this. I'll mark this as confirmed.

Changed in gftp:
status: Needs Info → Confirmed
Revision history for this message
Sergio Uribe (sergiouribe) wrote :

confirmed also in edgy...
attached is the crash info. BTW is the first time that gftp crashes in my system, and I use it a lot...

Revision history for this message
Dee (deedw) wrote :

gftp version: 2.0.18
OS: Ubuntu 8.04 Hardy Heron

I still have the problem since Ubuntu 6.06. If I download many folders and
files at one time I only get a segmentation fault. Currently 193 folders and
4892 files.

Backtrace is attached.

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.