LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-04-2009, 02:27 AM   #1
j0hn-d0e
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
gftp Segmentation fault need help with gdb


Hello,
i use slackware current and i have problem with gftp-gtk. When i trying to start the program i see: Segmentation fault i try to make a backtrace to understand why this is happened and here is the trace with gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb732da20 (LWP 17329)]
0x0805e0e1 in ?? ()
(gdb)
(gdb) backtrace
#0 0x0805e0e1 in ?? ()
#1 0x09106d98 in ?? ()
#2 0x00000022 in ?? ()
#3 0x00000001 in ?? ()
#4 0x09106d98 in ?? ()
#5 0x4d5f434c in ?? ()
#6 0x41535345 in ?? ()
#7 0x2f534547 in ?? ()
#8 0x70746667 in ?? ()
#9 0x006f6d2e in ?? ()
#10 0xb76cb38c in __dcigettext () from /lib/libc.so.6
#11 0x0805e62f in ?? ()
#12 0x00000002 in ?? ()
#13 0x00000000 in ?? ()


Can some one help me to identify my problem with gftp ?
 
Old 11-04-2009, 03:12 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,686

Rep: Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693
Hmm, not much to go on there. Can you try running it under strace?

Evo2.
 
1 members found this post helpful.
Old 11-04-2009, 07:32 AM   #3
j0hn-d0e
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Sure..

close(10) = 0
open("/etc/gtk-2.0/i486-slackware-linux/gdk-pixbuf.loaders", O_RDONLY|O_LARGEFILE) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=3779, ...}) = 0
read(10, "# GdkPixbuf Image Loader Modules "..., 1024) = 1024
read(10, "s.so\"\n\"icns\" 4 \"gtk20\" \"The ICNS "..., 1024) = 1024
read(10, "oader-bmp.so\"\n\"bmp\" 5 \"gtk20\" \"Th"..., 1024) = 1024
read(10, "\" \"apm\" \"\"\n\"\\327\\315\\306\\232\" \"\" "..., 1024) = 707
read(10, ""..., 1024) = 0
close(10) = 0
gettimeofday({1257341465, 466028}, NULL) = 0
gettimeofday({1257341465, 466124}, NULL) = 0
gettimeofday({1257341465, 466204}, NULL) = 0
gettimeofday({1257341465, 466283}, NULL) = 0
gettimeofday({1257341465, 466361}, NULL) = 0
gettimeofday({1257341465, 466441}, NULL) = 0
gettimeofday({1257341465, 466522}, NULL) = 0
gettimeofday({1257341465, 466635}, NULL) = 0
gettimeofday({1257341465, 466717}, NULL) = 0
gettimeofday({1257341465, 466796}, NULL) = 0
gettimeofday({1257341465, 466875}, NULL) = 0
gettimeofday({1257341465, 466953}, NULL) = 0
gettimeofday({1257341465, 467035}, NULL) = 0
gettimeofday({1257341465, 467114}, NULL) = 0
gettimeofday({1257341465, 467193}, NULL) = 0
gettimeofday({1257341465, 467271}, NULL) = 0
gettimeofday({1257341465, 467349}, NULL) = 0
gettimeofday({1257341465, 467620}, NULL) = 0
gettimeofday({1257341465, 467705}, NULL) = 0
gettimeofday({1257341465, 467783}, NULL) = 0
gettimeofday({1257341465, 467863}, NULL) = 0
gettimeofday({1257341465, 467940}, NULL) = 0
gettimeofday({1257341465, 468018}, NULL) = 0
gettimeofday({1257341465, 468098}, NULL) = 0
gettimeofday({1257341465, 468176}, NULL) = 0
gettimeofday({1257341465, 468253}, NULL) = 0
gettimeofday({1257341465, 468331}, NULL) = 0
gettimeofday({1257341465, 468409}, NULL) = 0
gettimeofday({1257341465, 468487}, NULL) = 0
gettimeofday({1257341465, 468564}, NULL) = 0
gettimeofday({1257341465, 468675}, NULL) = 0
gettimeofday({1257341465, 468753}, NULL) = 0
gettimeofday({1257341465, 468831}, NULL) = 0
close(9) = 0
munmap(0xb734f000, 4096) = 0
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)
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb734f000
write(4, "Error opening file \270\312\370\10\1: Success"..., 34) = 34
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
 
Old 11-04-2009, 08:27 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,686

Rep: Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693Reputation: 1693
Seems to by dying trying to open some file (strange sequence of escape characters).
Perhaps gftp is reading some local config file on startup. Could you try moving your ~/.gftp directory out of the way? EG.

mv ~/.gftp ~/.gftp.back

And then try starting gftp again?

Evo.
 
Old 11-05-2009, 02:14 AM   #5
j0hn-d0e
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
no result, still the same error.

rm -rf .gftp
strace /usr/bin/gftp-gtk

gettimeofday({1257408853, 670283}, NULL) = 0
gettimeofday({1257408853, 670358}, NULL) = 0
close(9) = 0
munmap(0xb7385000, 4096) = 0
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)
fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7385000
write(4, "Error opening file \220l\203\t\1: Success"..., 34) = 34
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gdb itself Segmentation faults johnsfine Linux - Software 2 09-08-2008 01:53 PM
Segmentation fault Bjorne Debian 3 05-23-2007 10:11 AM
gdb segmentation fault i.you Linux - Software 1 04-11-2007 04:25 AM
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
segmentation fault tej Linux - Hardware 1 02-08-2005 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration