GNOME Bugzilla – Bug 308785
Gftp-gtk crash on use
Last modified: 2006-07-22 13:41:01 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/9767 "When I use gftp-gtk for any time, the application crash and close ... It crash when it connect at host or upload archives. But it crash when I use for a time, not when I start it. Sorry for my English."
from the ubuntu bug: "Program received signal SIGSEGV, Segmentation fault.
+ Trace 61451
Thread NaN (LWP 8503)
not sure if that's what causes this crash be there seems to have a double free() somewhere: ==31820== Invalid free() / delete / delete[] ==31820== at 0x1B906ADD: free (vg_replace_malloc.c:152) ==31820== by 0x1BEDD8AA: freeaddrinfo (getaddrinfo.c:1678) ==31820== by 0x806D58F: gftp_disconnect (in /usr/bin/gftp-gtk) ==31820== by 0x806D1A3: gftp_request_destroy (in /usr/bin/gftp-gtk) ==31820== by 0x806BA0B: free_tdata (in /usr/bin/gftp-gtk) ==31820== by 0x8063DA8: transfer_done (in /usr/bin/gftp-gtk) ==31820== by 0x8064A6A: update_downloads (in /usr/bin/gftp-gtk) ==31820== by 0x1BD69073: ??? (gmain.c:3292) ==31820== by 0x1BD672C0: g_main_context_dispatch (gmain.c:1933) ==31820== by 0x1BD6A516: ??? (gmain.c:2564) ==31820== by 0x1BD6AA67: g_main_loop_run (gmain.c:2768) ==31820== by 0x1BA35C44: gtk_main (gtkmain.c:974) ==31820== Address 0x1C549148 is 0 bytes inside a block of size 16 free'd ==31820== at 0x1B906ADD: free (vg_replace_malloc.c:152) ==31820== by 0x1BD6DCE1: g_free (gmem.c:187) ==31820== by 0x1BCD96A2: pango_attr_iterator_destroy (pango-attributes.c:1551) ==31820== by 0x1BCE2C56: pango_layout_check_lines (pango-layout.c:3280) ==31820== by 0x1BCE324A: pango_layout_get_extents_internal (pango-layout.c:2005) ==31820== by 0x1BCE41B1: pango_layout_get_pixel_extents (pango-layout.c:2193) ==31820== by 0x1B99A549: ??? (gtkclist.c:5804) ==31820== by 0x1B99AC73: ??? (gtkclist.c:5952) ==31820== by 0x1B9943CD: gtk_clist_thaw (gtkclist.c:1333) ==31820== by 0x1B9993C2: ??? (gtkclist.c:4118) ==31820== by 0x1B99C1AC: ??? (gtkclist.c:5172) ==31820== by 0x1BA37DE1: _gtk_marshal_BOOLEAN__BOXED (gtkmarshalers.c:83) and it crashes sometime with: Program received signal SIGSEGV, Segmentation fault.
+ Trace 61452
Thread NaN (LWP 32518)
Me too: (gdb) bt
+ Trace 62943
I am able to reproduce the error by switching from UPLOADING to DOWNLOADING and vice versa. For instance if I upload a file to a server that's fine, then I can upload another file. But as soon as I try to DOWNLOAD a file after uploading gftp crashes. Sometimes the file transfer completes and it crashes and sometimes it crashes immediately. The same thing happens if i DOWNLOAD a file and then try and UPLOAD.
seems to be fixed by the patch from #314626
This is fixed in CVS. I have a test release at http://www.gftp.org/gftp-test.tar.bz2. Thanks and sorry about the delay.