On Thu, 26 Aug 1999, Tomi Manninen OH2BNS wrote:
> On Thu, 26 Aug 1999, Craig Small wrote:
> 
> > Bob Meyer said:
> > > Craig Small wrote:
> > > >   The latest lib, tools and apps for ax25 are out.  The main difference
> > > > between this version and the last is I finally got my act together and
> > > > put Tomi's patches in.
> > > >
> > > 
> > > Call is broken here, on Redhat6.  Executing any of the menu commands causes
> > > a "Segmentation fault".
> 
> > This is very strange because the patch changes one value to be static
> > and the rest is just cleaning up of the configure script so it detects
> > broken redhat includes properly. Don't tell me those library/includes
> > are broken in yet another way.
> 
> Actually not even that. The patch removes a compiler warning by explicitly
> declaring the variable "int". Before it was implicitly declared "int" by
> the compiler. So that can not be the problem.
> 
> My guess is there might a problem with ncurses. Red Hat 6 might have a
> version on ncurses that call isn't quite compatible with. If I understood
> Richard correctly this segfault has been there in previous versions too?
>

Correct.

I have done a strace using the following;

strace -opipo call bpq0 pa3gcu-9

To my suprise its size is 1747722 bytes  i let it run for about 6@7
seconds so you can imagen my astonisment at the size of the strace.

The strace starts of as;
execve("/usr/bin/call", ["call", "bpq0", "pa3gcu-9"], [/* 23 vars */]) = 0
brk(0)                                  = 0x80528cc
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("i686/mmx/libncurses.so.4", O_RDONLY) = -1 ENOENT (No such file or director
y)
open("i686/libncurses.so.4", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("mmx/libncurses.so.4", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("libncurses.so.4", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/mmx/libncurses.so.4", O_RDONLY) = -1 ENOENT (No such file or
 directory)
stat("/usr/lib/i686/mmx", 0xbffff6dc)   = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libncurses.so.4", O_RDONLY) = -1 ENOENT (No such file or dir
ectory)
stat("/usr/lib/i686", 0xbffff6dc)       = -1 ENOENT (No such file or directory)
open("/usr/lib/mmx/libncurses.so.4", O_RDONLY) = -1 ENOENT (No such file or dire
ctory)
stat("/usr/lib/mmx", 0xbffff6dc)        = -1 ENOENT (No such file or directory)
open("/usr/lib/libncurses.so.4", O_RDONLY) = 4
fstat(4, {st_mode=S_IFDIR|S_ISUID|0346, st_size=0, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 249100, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40014000
mprotect(0x40045000, 48396, PROT_NONE)  = 0
mmap(0x40045000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x3000

There are a few more lines before "gettimeofday" if you require them
let me know, however gettimeofday appiers 25740 times, and SYS_168
appiers 12905 times, the file ends as;

gettimeofday({935655999, 34067}, NULL)  = 0
read(0, "\r", 1)                        = 1
SYS_168(0xbfffe6fc, 0x1, 0, 0, 0xbfffe6fc) = 0
SYS_168(0xbfffe6fc, 0x1, 0, 0, 0xbfffe6fc) = 0
SYS_168(0xbfffe6fc, 0x1, 0, 0, 0xbfffe6fc) = 0
SYS_168(0xbfffe6fc, 0x1, 0, 0, 0xbfffe6fc) = 0
SYS_168(0xbfffe6fc, 0x1, 0, 0, 0xbfffe6fc) = 0
SYS_168(0xbfffe6fc, 0x1, 0, 0, 0xbfffe6fc) = 0
SYS_168(0xbfffe6fc, 0x1, 0, 0, 0xbfffe6fc) = 0
write(1, "\33[4;3H\33[0;10;11m\304\33[10m\33"..., 71) = 71
SYS_168(0xbfffe758, 0x1, 0, 0, 0xbfffe758) = 0
SYS_168(0xbfffe758, 0x1, 0, 0, 0xbfffe758) = 0
write(1, "\33[?25h", 6)                 = 6
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++                                                      

I hope this helps a little.


 > -- 
> --- Tomi Manninen / [EMAIL PROTECTED] / OH2BNS @ OH2RBI.FIN.EU ---
--
Regards Richard
[EMAIL PROTECTED]

Reply via email to