gFTP segmentation fault on slack 13.0 - no such file or directory
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
gFTP segmentation fault on slack 13.0 - no such file or directory
Hi,
Does gFTP have any prerequisites other than those listed in its README file?
I have a situation similar to this thread from a year ago - Using the gftp package distributed with Slack 13.0, I receive a segmentation fault when trying to launch it.
strace reported a truckload of "no such file or directory" errors, generally involving locale files, however the presence (or absence) of the glibc-i18n package has no effect.
The errors follow. They've been manually pruned from the strace capture, which is too large to post in its entirety.
Code:
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/gftp.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/gftp.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/gtk20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/gtk20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/gtk20-properties.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/gtk20-properties.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
lstat64("/etc/gtk-2.0/i486-slackware-linux/gtkrc", 0xbffd932c) = -1 ENOENT (No such file or directory)
access("/etc/gtk-2.0/i486-slackware-linux/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/gtk-2.0/i486-slackware-linux/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory)
lstat64("/home/dguy/.gtkrc-2.0", 0xbffd932c) = -1 ENOENT (No such file or directory)
access("/home/dguy/.gtkrc-2.0.en_US", F_OK) = -1 ENOENT (No such file or directory)
access("/home/dguy/.gtkrc-2.0.en", F_OK) = -1 ENOENT (No such file or directory)
access("/home/dguy/.themes/Raleigh/gtk-2.0/gtkrc", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/themes/Raleigh/gtk-2.0/gtkrc.en_US", F_OK) = -1 ENOENT (No such file or directory)
access("/usr/share/themes/Raleigh/gtk-2.0/gtkrc.en", F_OK) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/dguy/.Xdefaults-earth", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/home/dguy/.gftp/gftp.xpm", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/dguy/.local/share//mime/mime.cache", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/home/dguy/.local/share//mime/globs", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/home/dguy/.local/share//mime/magic", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share//mime/mime.cache", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share//mime/globs", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share//mime/magic", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/usr/share//mime/mime.cache", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/usr/share//mime/globs", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/usr/share//mime/magic", 0xbffd899c) = -1 ENOENT (No such file or directory)
stat64("/home/dguy/.local/share//mime/mime.cache", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/home/dguy/.local/share//mime/globs2", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/home/dguy/.local/share//mime/globs", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/home/dguy/.local/share//mime/magic", 0xbffd89dc) = -1 ENOENT (No such file or directory)
open("/home/dguy/.local/share//mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/dguy/.local/share//mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/dguy/.local/share//mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/dguy/.local/share//mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share//mime/mime.cache", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share//mime/globs2", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share//mime/globs", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share//mime/magic", 0xbffd89dc) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/local/share//mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/usr/share//mime/mime.cache", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/usr/share//mime/globs2", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/usr/share//mime/globs", 0xbffd89dc) = -1 ENOENT (No such file or directory)
stat64("/usr/share//mime/magic", 0xbffd89dc) = -1 ENOENT (No such file or directory)
open("/usr/share//mime/aliases", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share//mime/subclasses", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share//mime/icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share//mime/generic-icons", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
can be you installed some 64bit packages on a 32bit slack or vice-versa?
Doubtful - the distribution ISOs were definitely 32-bit when I downloaded them & burnt the discs, and I'm painstakingly careful when it comes to picking up patches.
Quote:
deps should be these (took 'em from stabellini's PACKAGES.TXT)
Thanks. I had missed a couple of lib packages which have now been installed, however the error persists.
On further analysis, I'm starting to suspect that it has something to do with gftp's interaction with the WINDOWPATH and/or DISPLAY environment variables.
The presence (or absence) of these two variables appears to make the difference between a segfault and not...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.