Bob This problem is reported in Redhat Bugzilla https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=140567 You might want to post your abbreviated strace to assist debugging
Bob Chiodini wrote:
On Mon, 2005-01-24 at 14:23 -0700, Art wrote:
Gftp-2.0.17-3.x86_64 as installed by FC3-x86-64 Crashes when starting to download a file. I don't know what further information might be of interest but I am willing to get anything you need. No problem at all to reproduce the problem here. Running kernel 2.6.10-1.741-FC3-x86_64.
Segfaults for me too. Here is the last 100 lines from an strace. The segfault occurs after selecting the file to download. I've got the entire strace captured (~850K).
Bob...
tail -100 /tmp/gftp-strace.log open("/usr/share/icons/Bluecurve/16x16/stock/gtk-go-back-ltr.png", O_RDONLY) = 9 fstat(9, {st_mode=S_IFREG|0644, st_size=645, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000 read(9, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\20\0\0\0\20\10\6\0\0"..., 4096) = 645 lseek(9, 0, SEEK_SET) = 0 read(9, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\20\0\0\0\20\10\6\0\0"..., 4096) = 645 close(9) = 0 munmap(0x2a95557000, 4096) = 0 write(6, "\f\0\4\0U\0\340\2@\0\0\0\0\0\0\0\10\3\2\0U\0\340\2\f\r"..., 700) = 700 ioctl(6, FIONREAD, [96]) = 0 read(6, "\26\0M:U\0\340\2U\0\340\2_\0\340\2\0\0\257\1\247\2\5\0"..., 96) = 96 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 0) = 0 ioctl(6, FIONREAD, [0]) = 0 ioctl(6, FIONREAD, [0]) = 0 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 0) = 0 ioctl(6, FIONREAD, [0]) = 0 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN, revents=POLLIN}], 2, 500) = 1 ioctl(6, FIONREAD, [64]) = 0 read(6, "\5\1k:\311\r\373A\266\0\0\0\201\0\340\2\0\0\0\0\300\1P"..., 64) = 64 clone(child_stack=0x40a00270, flags=CLONE_VM|CLONE_FS|CLONE_FILES| CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0x40a009f0, tls=0x40a00960, child_tidptr=0x40a009f0) = 1030 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 0) = 0 write(6, "\227\4\2\0\0\1\340\2", 8) = 8 read(6, "\1\0l:\0\0\0\0\20\0\0\20\0\0\0\0\0\0\20\0\0\0\0\0\0\0\0"..., 32) = 32 ioctl(6, FIONREAD, [0]) = 0 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 99) = 0 ioctl(6, FIONREAD, [0]) = 0 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 0) = 0 write(6, "\f\4\4\0U\0\340\2@\0\0\0\0\0\0\0\10\3\2\0U\0\340\2\f\r"..., 700) = 700 ioctl(6, FIONREAD, [96]) = 0 read(6, "\26\0m:U\0\340\2U\0\340\2_\0\340\2\0\0\257\1\247\2\5\0"..., 96) = 96 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 0) = 0 ioctl(6, FIONREAD, [0]) = 0 ioctl(6, FIONREAD, [0]) = 0 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 356) = 0 geteuid() = 500 open("/etc/passwd", O_RDONLY) = 9 fcntl(9, F_GETFD) = 0 fcntl(9, F_SETFD, FD_CLOEXEC) = 0 fstat(9, {st_mode=S_IFREG|0644, st_size=2808, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000 read(9, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 2808 close(9) = 0 munmap(0x2a95557000, 4096) = 0 access("/home/bob/.gftp/open_dir.xpm", F_OK) = -1 ENOENT (No such file or directory) access("/usr/share/gftp/open_dir.xpm", F_OK) = 0 open("/usr/share/gftp/open_dir.xpm", O_RDONLY) = 9 fstat(9, {st_mode=S_IFREG|0644, st_size=885, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95557000 read(9, "/* XPM */\nstatic char * open_dir"..., 4096) = 885 lseek(9, 0, SEEK_SET) = 0 read(9, "/* XPM */\nstatic char * open_dir"..., 4096) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 lseek(9, 885, SEEK_SET) = 885 close(9) = 0 munmap(0x2a95557000, 4096) = 0 clone(child_stack=0x40a00270, flags=CLONE_VM|CLONE_FS|CLONE_FILES| CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS| CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID|CLONE_DETACHED, parent_tidptr=0x40a009f0, tls=0x40a00960, child_tidptr=0x40a009f0) = 1031 write(6, "5\30\4\0\255\2\340\2\266\0\0\0\20\0\20\0\235\4\5\0\256"..., 2668) = 2668 ioctl(6, FIONREAD, [0]) = 0 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 0) = 0 write(6, "\f\30\4\0U\0\340\2@\0\0\0\0\0\0\0\10\4\2\0U\0\340\2\f\2"..., 896) = 896 ioctl(6, FIONREAD, [96]) = 0 read(6, "\26\0\361:U\0\340\2U\0\340\2_\0\340\2\0\0\257\1\247\2\5"..., 96) = 96 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 0) = 0 ioctl(6, FIONREAD, [0]) = 0 ioctl(6, FIONREAD, [0]) = 0 poll([{fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 2, 494) = -1 EINTR (Interrupted system call) +++ killed by SIGSEGV +++