[Ifeffit] linking problems

mauro at rulp.org mauro at rulp.org
Fri Jun 4 04:08:57 CDT 2004


Carlo,

I have installed the "unstable" Debian distribution on my notebook but
ifeffit - debian package - doesn't work. I think there are problems with
libraries and I have tried many times linking ifeffit properly but it still
doesn't work.

Last week I had the same problem on my "testing" machine with source code,
but I fixed it simply recompiling pgplot library. I have already tried to do
the same thing on my notebook but it doesn't work.

Follow as much as possible information about my system, if you have an idea
let me know, please.

mac4npd2:~# ifeffit 
Segmentation fault

mac4npd2:~# uname -a
Linux mac4npd2 2.4.26 #4 SMP Tue Jun 1 22:05:48 CEST 2004 i686 GNU/Linux

mac4npd2:~# cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Celeron (Coppermine)
stepping        : 3
cpu MHz         : 598.769
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips        : 1196.03


mac4npd2:~# ldd `which ifeffit`
	not a dynamic executable

mac4npd2:~# strace ifeffit
execve("/usr/bin/ifeffit", ["ifeffit"], [/* 12 vars */]) = 0
uname({sys="Linux", node="mac4npd2", ...}) = 0
brk(0)                                  = 0x16ee8850
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40017000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=57657, ...}) = 0
old_mmap(NULL, 57657, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/usr/lib/libpgplot.so.5", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\277\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=397700, ...}) = 0
old_mmap(NULL, 612508, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40027000
old_mmap(0x40085000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x5d000) = 0x40085000
old_mmap(0x40089000, 211100, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40089000
close(3)                                = 0

[...]

close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\34\0\000"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9872, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40374000
old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40375000
old_mmap(0x40377000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x2000) = 0x40377000
close(3)                                = 0
mprotect(0x40027000, 385024, PROT_READ|PROT_WRITE) = 0
mprotect(0x40027000, 385024, PROT_READ|PROT_EXEC) = 0
munmap(0x40018000, 57657)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

mac4npd2:~# gdb ifeffit
GNU gdb 6.1-debian

[...]

(gdb) run
Starting program: /usr/bin/ifeffit 
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0804aa0d in ?? ()

At the end, maybe problems with bugs in libc6? This is my installed version:

mac4npd2:~# dpkg -l | grep libc6
ii  libc6          2.3.2.ds1-13   GNU C Library: Shared libraries and Timezone
ii  libc6-dev      2.3.2.ds1-13   GNU C Library: Development Libraries and Hea
ii  libgpmg1       1.19.6-12.1    General Purpose Mouse Library [libc6]

I know 2.3.2.ds1-10 has a bug but ds1-13 is fixed.

Thanks,
m

--
  Mauro Rovezzi <mauro at rulp.org> - Physics student
  University of Rome "Tor Vergata", ESRF Beamline BM8 - GILDA 



More information about the Ifeffit mailing list