Networking Forums

Networking Forums > Computer Networking > Linux Networking > telnet: "segmentation fault" everytimes

Reply
Thread Tools Display Modes

telnet: "segmentation fault" everytimes

 
 
antiw
Guest
Posts: n/a

 
      10-14-2006, 05:02 AM
Hello,
I'm using Fedora Core 5 and I cannot use telnet. Everytimes, when I
type commands started by "telnet", the result is "segmentation fault".
I've Googled, but no help. Please help me.

 
Reply With Quote
 
 
 
 
antiw
Guest
Posts: n/a

 
      10-14-2006, 05:20 AM
Here's what from valgrind. I don't know much about valgrind, but think
this may help.

# valgrind -v telnet
==3570== Memcheck, a memory error detector.
==3570== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et
al.
==3570== Using LibVEX rev 1471, a library for dynamic binary
translation.
==3570== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==3570== Using valgrind-3.1.0, a dynamic binary instrumentation
framework.
==3570== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et
al.
==3570==
--3570-- Command line
--3570-- telnet
--3570-- Startup, with flags:
--3570-- -v
--3570-- Contents of /proc/version:
--3570-- Linux version 2.6.17-1.2187_FC5
((E-Mail Removed)) (gcc version 4.1.1 20060525
(Red Hat 4.1.1-1)) #1 Mon Sep 11 01:17:06 EDT 2006
--3570-- Arch and subarch: X86, x86-sse2
--3570-- Valgrind library directory: /usr/lib/valgrind
--3570-- Reading syms from /usr/kerberos/bin/telnet (0x0)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /lib/ld-2.4.so (0x6EC000)
--3570-- Reading syms from /usr/lib/valgrind/x86-linux/memcheck
(0xB0000000)
--3570-- object doesn't have a dynamic symbol table
--3570-- Reading suppressions file: /usr/lib/valgrind/default.supp
--3570-- REDIR: 0x700D20 (index) redirected to 0xB00212A2
(vgPlain_x86_linux_REDIR_FOR_index)
--3570-- Reading syms from
/usr/lib/valgrind/x86-linux/vgpreload_core.so (0x4801000)
--3570-- Reading syms from
/usr/lib/valgrind/x86-linux/vgpreload_memcheck.so (0x4803000)
--3570-- Reading syms from /lib/xvnkb.so.0.2.8 (0x4809000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /usr/lib/libkrb4.so.2.0 (0x4816000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /usr/lib/libdes425.so.3.0 (0x4834000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /usr/lib/libkrb5.so.3.2 (0x4838000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /usr/lib/libk5crypto.so.3.0 (0x48AD000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /lib/libcom_err.so.2.1 (0x48D2000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /usr/lib/libkrb5support.so.0.0 (0x48D5000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /lib/libresolv-2.4.so (0x48D9000)
--3570-- Reading syms from /usr/lib/libncurses.so.5.5 (0x48EC000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /lib/libc-2.4.so (0x4935000)
--3570-- Reading syms from /usr/lib/libX11.so.6.2.0 (0x4A69000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /lib/libdl-2.4.so (0x4B66000)
--3570-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x4B6A000)
--3570-- object doesn't have a symbol table
--3570-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x4B6D000)
--3570-- object doesn't have a symbol table
--3570-- REDIR: 0x499EE90 (rindex) redirected to 0x4805D60 (rindex)
--3570-- REDIR: 0x499E470 (index) redirected to 0x4805E50 (index)
--3570-- REDIR: 0x499EBC0 (strnlen) redirected to 0x4805EE0 (strnlen)
--3570-- REDIR: 0x49A01A0 (memcpy) redirected to 0x4806900 (memcpy)
--3570-- REDIR: 0x499ECF8 (strncmp) redirected to 0x4805F70 (strncmp)
--3570-- REDIR: 0x499A781 (malloc) redirected to 0x4805177 (malloc)
--3570-- REDIR: 0x499E5E0 (strcmp) redirected to 0x4805FE0 (strcmp)
==3570==
==3570== Process terminating with default action of signal 11 (SIGSEGV)
==3570== Bad permissions for mapped region at address 0x480E69F
==3570== at 0x8A68: (within /usr/kerberos/bin/telnet)
==3570== by 0x10576: (within /usr/kerberos/bin/telnet)
==3570== by 0xA4D0: (within /usr/kerberos/bin/telnet)
==3570== by 0xA50E: main (in /usr/kerberos/bin/telnet)
--3570-- REDIR: 0x499BEF7 (free) redirected to 0x4804DBF (free)
--3570-- REDIR: 0x499FD10 (memset) redirected to 0x48061C0 (memset)
==3570==
==3570== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 39 from
1)
--3570--
--3570-- supp: 39 Fedora-Core-5-hack2
==3570== malloc/free: in use at exit: 4,067 bytes in 153 blocks.
==3570== malloc/free: 153 allocs, 0 frees, 4,067 bytes allocated.
==3570==
==3570== searching for pointers to 153 not-freed blocks.
==3570== checked 290,268 bytes.
==3570==
==3570== LEAK SUMMARY:
==3570== definitely lost: 0 bytes in 0 blocks.
==3570== possibly lost: 0 bytes in 0 blocks.
==3570== still reachable: 4,067 bytes in 153 blocks.
==3570== suppressed: 0 bytes in 0 blocks.
==3570== Reachable blocks (those to which a pointer was found) are not
shown.
==3570== To see them, rerun with: --show-reachable=yes
--3570-- memcheck: sanity checks: 4 cheap, 1 expensive
--3570-- memcheck: auxmaps: 0 auxmap entries (0k, 0M) in use
--3570-- memcheck: auxmaps: 0 searches, 0 comparisons
--3570-- memcheck: secondaries: 19 issued (1216k, 1M)
--3570-- memcheck: secondaries: 47 accessible and distinguished
(3008k, 2M)
--3570-- tt/tc: 3,262 tt lookups requiring 3,275 probes
--3570-- tt/tc: 3,262 fast-cache updates, 2 flushes
--3570-- translate: new 1,631 (34,466 -> 578,078; ratio 167:10)
[0 scs]
--3570-- translate: dumped 0 (0 -> ??)
--3570-- translate: discarded 0 (0 -> ??)
--3570-- scheduler: 238,784 jumps (bb entries).
--3570-- scheduler: 4/2,035 major/minor sched events.
--3570-- sanity: 5 cheap, 1 expensive checks.
--3570-- exectx: 30,011 lists, 11 contexts (avg 0 per list)
--3570-- exectx: 192 searches, 181 full compares (942 per 1000)
--3570-- exectx: 0 cmp2, 95 cmp4, 0 cmpAll
Segmentation fault

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      10-14-2006, 05:41 AM
In comp.os.linux.networking antiw <(E-Mail Removed)>:
> Hello,
> I'm using Fedora Core 5 and I cannot use telnet. Everytimes, when I
> type commands started by "telnet", the result is "segmentation fault".


Perhaps a security feature? Honestly I just powered up a FC 5 box
just to see what you mean and what would expect, it just works.
Looking at the package there was an update a few month ago.

Might be you perhaps haven't installed a single patch? I'd try
running 'yum update', reboot with the very likely installed fresh
kernel and see if this helps?

What is the output of the following command before applying
patches?

rpm -qf `which telnet`


> I've Googled, but no help. Please help me.


Before you use google or debug into some problem, always check if
you have all patches installed and if this perhaps fixes things.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 138: BNC (brain not connected)
 
Reply With Quote
 
antiw
Guest
Posts: n/a

 
      10-14-2006, 06:47 AM
> Might be you perhaps haven't installed a single patch? I'd try
> running 'yum update', reboot with the very likely installed fresh
> kernel and see if this helps?


In my box 'yum upgrade' run daily, so I'm sure that I always use
lastest packages (within 8 yum repositories)

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      10-14-2006, 07:05 AM
In comp.os.linux.networking antiw <(E-Mail Removed)>:
>> Might be you perhaps haven't installed a single patch? I'd try
>> running 'yum update', reboot with the very likely installed fresh
>> kernel and see if this helps?


> In my box 'yum upgrade' run daily, so I'm sure that I always use
> lastest packages (within 8 yum repositories)


Good!

So again, what is the output of:

rpm -qf `which telnet`

What are the last few lines before the app crashes while running:

strace telnet

If you don't want to answer the questions then go ahead, as I
don't want to help you if you can't be bothered to give us needed
information.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 193: Did you pay the new Support Fee?
 
Reply With Quote
 
antiw
Guest
Posts: n/a

 
      10-14-2006, 08:17 AM
Hello Michael,

> rpm -qf `which telnet`

Do you mean the version of telnet?
[/]# rpm -qf 'which telnet'
error: file /which telnet: No such file or directory
[/]# yum info telnet
Installed Packages
Name : telnet
Arch : i386
Epoch : 1
Version: 0.17
Release: 35.2.1
Size : 97 k
Repo : installed
Summary: The client program for the telnet remote login protocol.

> What are the last few lines before the app crashes while running:
>
> strace telnet
>


Following is what from 'strace telnet'.
I have located libncurses.so.5 (for example from
open("/usr/local/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
file or directory)), and that file is in /usr/lib:
[/]# locate libncurses.so.5
/usr/lib/libncurses.so.5
/usr/lib/libncurses.so.5.5

.................................................. .................................................. ..........................
[/]# strace telnet
execve("/usr/kerberos/bin/telnet", ["telnet"], [/* 57 vars */]) = 0
brk(0) = 0x8fb5000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fb1000
access("/etc/ld.so.preload", R_OK) = 0
open("/etc/ld.so.preload", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=20, ...}) = 0
mmap2(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE, 3, 0) = 0xb7fb0000
close(3) = 0
open("/lib/xvnkb.so.0.2.8", 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\0\3 603\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=53784, ...}) = 0
mmap2(NULL, 53204, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x5a4000
mmap2(0x5ab000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0x5ab000
close(3) = 0
munmap(0xb7fb0000, 20) = 0
open("/usr/local/lib/tls/i686/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/local/lib/tls/i686/sse2", 0xbfab57a0) = -1 ENOENT (No such
file or directory)
open("/usr/local/lib/tls/i686/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/lib/tls/i686", 0xbfab57a0) = -1 ENOENT (No such file
or directory)
open("/usr/local/lib/tls/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/lib/tls/sse2", 0xbfab57a0) = -1 ENOENT (No such file
or directory)
open("/usr/local/lib/tls/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/lib/tls", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/i686/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/local/lib/i686/sse2", 0xbfab57a0) = -1 ENOENT (No such
file or directory)
open("/usr/local/lib/i686/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/lib/i686", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/local/lib/sse2", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/usr/local/lib/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/tls/i686/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/lib/tls/i686/sse2", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/tls/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/tls/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/tls/sse2", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/lib/tls/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/i686/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/lib/i686/sse2", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/lib/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib/sse2", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/lib/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/usr/lib/tls/i686/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/tls/i686/sse2", 0xbfab57a0) = -1 ENOENT (No such file
or directory)
open("/usr/lib/tls/i686/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/tls/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
open("/usr/lib/tls/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/tls/sse2", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i686/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/i686/sse2", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/i686", 0xbfab57a0) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sse2/libkrb4.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/sse2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/libkrb4.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\0\3 40T\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=103096, ...}) = 0
mmap2(NULL, 121916, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xe42000
mmap2(0xe5a000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x18) = 0xe5a000
mmap2(0xe5b000, 19516, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xe5b000
close(3) = 0
open("/usr/local/lib/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/sse2/libdes425.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/libdes425.so.3", 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\0\3 40\r\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=11864, ...}) = 0
mmap2(NULL, 14636, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x36b000
mmap2(0x36e000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x36e000
close(3) = 0
open("/usr/local/lib/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/i686/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/sse2/libkrb5.so.3", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/libkrb5.so.3", 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\0`\ 366\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=479808, ...}) = 0
mmap2(NULL, 478556, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb1c000
mmap2(0xb8f000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x73) = 0xb8f000
close(3) = 0
open("/usr/local/lib/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/i686/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/tls/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/sse2/libk5crypto.so.3", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/libk5crypto.so.3", 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\0\2 206\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=151308, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fb0000
mmap2(NULL, 150752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xe96000
mmap2(0xeba000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0xeba000
close(3) = 0
open("/usr/local/lib/libcom_err.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/libcom_err.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/libcom_err.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libcom_err.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/libcom_err.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\ t\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=6568, ...}) = 0
mmap2(NULL, 9484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0)
= 0x157000
mmap2(0x159000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x159000
close(3) = 0
open("/usr/local/lib/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/tls/i686/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/tls/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/i686/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/tls/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/sse2/libkrb5support.so.0", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/libkrb5support.so.0", 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\ n\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10320, ...}) = 0
mmap2(NULL, 13120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x6d8000
mmap2(0x6db000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x6db000
close(3) = 0
open("/usr/local/lib/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libresolv.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libresolv.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\0\0 $\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=74552, ...}) = 0
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x111000
mmap2(0x120000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x120000
mmap2(0x122000, 6344, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x122000
close(3) = 0
open("/usr/local/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libncurses.so.5", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/tls/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/sse2/libncurses.so.5", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/libncurses.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 \0 \345\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=302800, ...}) = 0
mmap2(NULL, 296964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x740000
mmap2(0x780000, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x40) = 0x780000
mmap2(0x788000, 2052, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x788000
close(3) = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libc.so.6", 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\0\n V\1\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1529392, ...}) = 0
mmap2(NULL, 1254812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x36f000
mmap2(0x49c000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12d) = 0x49c000
mmap2(0x49f000, 9628, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x49f000
close(3) = 0
open("/usr/local/lib/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/i686/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libX11.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sse2/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/libX11.so.6", 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\000 0L\1\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1035616, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7faf000
mmap2(NULL, 1035860, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x253000
mmap2(0x34c000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf9) = 0x34c000
close(3) = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libdl.so.2", O_RDONLY) = -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\ f\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14652, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x1b9000
mmap2(0x1bb000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x1bb000
close(3) = 0
open("/usr/local/lib/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/i686/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libXau.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/sse2/libXau.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/libXau.so.6", 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 \0 \v\0\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=8372, ...}) = 0
mmap2(NULL, 11252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x4a6000
mmap2(0x4a8000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x4a8000
close(3) = 0
open("/usr/local/lib/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/sse2/libXdmcp.so.6", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/libXdmcp.so.6", 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\0\2 20\17"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=18908, ...}) = 0
mmap2(NULL, 21780, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xda8000
mmap2(0xdad000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4) = 0xdad000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fae000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7fad000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fad6c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x1bb000, 4096, PROT_READ) = 0
mprotect(0x49c000, 8192, PROT_READ) = 0
mprotect(0x120000, 4096, PROT_READ) = 0
mprotect(0x251000, 4096, PROT_READ) = 0
brk(0) = 0x8fb5000
brk(0x8fd6000) = 0x8fd6000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 4955 detached
.................................................. .................................................. ................

So, telnet is trying to find lib in somewhere else rather rather than
/usr/lib. I'm sure that all of libs telnet needed exist.
What should I do now, build telnet from source?

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      10-14-2006, 12:44 PM
In comp.os.linux.networking antiw <(E-Mail Removed)>:
> Hello Michael,


>> rpm -qf `which telnet`

> Do you mean the version of telnet?
> [/]# rpm -qf 'which telnet'
> error: file /which telnet: No such file or directory


Note the quotation I wrote `which telnet` *not* 'which telnet'!
Please be exact, just use copy&paste if in doubt.

> [/]# yum info telnet
> Installed Packages
> Name : telnet
> Arch : i386
> Epoch : 1
> Version: 0.17
> Release: 35.2.1
> Size : 97 k
> Repo : installed
> Summary: The client program for the telnet remote login protocol.


# rpm -qf `which telnet`
krb5-workstation-1.4.3-5.1

This is the package from the original FC 5 repro.

# lsb_release -d
Description: Fedora Core release 5 (Bordeaux)

[ please just the few lines before it crashes ]

> What should I do now, build telnet from source?


Remove your package and install the proper package, it seems you
somehow mixed it from somewhere else? The one coming with
"krb5-workstation-1.4.3-5.1" works flawlessly.

Good luck


--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 10: hardware stress fractures
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      10-14-2006, 03:31 PM
In comp.os.linux.networking Michael Heiming <michael+(E-Mail Removed)>:
> In comp.os.linux.networking antiw <(E-Mail Removed)>:
>> Hello Michael,


>>> rpm -qf `which telnet`

>> Do you mean the version of telnet?
>> [/]# rpm -qf 'which telnet'
>> error: file /which telnet: No such file or directory


> Note the quotation I wrote `which telnet` *not* 'which telnet'!
> Please be exact, just use copy&paste if in doubt.


>> [/]# yum info telnet
>> Installed Packages
>> Name : telnet
>> Arch : i386
>> Epoch : 1
>> Version: 0.17
>> Release: 35.2.1
>> Size : 97 k
>> Repo : installed
>> Summary: The client program for the telnet remote login protocol.


Ah see, yum info doesn't give the package name, I get more or
less the same on FC 5:

Installed Packages
Name : telnet
Arch : x86_64
Epoch : 1
Version: 0.17
Release: 35.2.1
Size : 105 k
Repo : installed
Summary: The client program for the telnet remote login protocol.


[ content partially restored ]

>> open("/usr/lib/libXdmcp.so.6", O_RDONLY) = 3

[..]
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>> +++ killed by SIGSEGV +++


So we are back to this point, the last lib telnet tries to load
before crashing. Strange enough strace doesn't show telnet to try
loading this lib at all on the FC 5 box I checked? The lib in
question comes with "libXdmcp" rpm package.

What is the output of:

ldd `which telnet`
rpm -V krb5-workstation

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 179: multicasts on broken packets
 
Reply With Quote
 
antiw
Guest
Posts: n/a

 
      10-14-2006, 08:44 PM
Hello,

> rpm -qf `which telnet`

krb5-workstation-1.4.3-5.1

> ldd `which telnet`

linux-gate.so.1 => (0x00735000)
/lib/xvnkb.so.0.2.8 (0x005ae000)
libkrb4.so.2 => /usr/lib/libkrb4.so.2 (0x00d19000)
libdes425.so.3 => /usr/lib/libdes425.so.3 (0x0043d000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x001ae000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x007b8000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00422000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
(0x00111000)
libresolv.so.2 => /lib/libresolv.so.2 (0x005d2000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x00b84000)
libc.so.6 => /lib/libc.so.6 (0x008ba000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x0029c000)
libdl.so.2 => /lib/libdl.so.2 (0x00115000)
/lib/ld-linux.so.2 (0x00736000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00119000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00473000)

> rpm -V krb5-workstation

S.5....T. c /etc/xinetd.d/krb5-telnet

Thanks for your help

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      10-14-2006, 09:22 PM
In comp.os.linux.networking antiw <(E-Mail Removed)>:
> Hello,


>> rpm -qf `which telnet`

> krb5-workstation-1.4.3-5.1


>> ldd `which telnet`

> linux-gate.so.1 => (0x00735000)
> /lib/xvnkb.so.0.2.8 (0x005ae000)
> libkrb4.so.2 => /usr/lib/libkrb4.so.2 (0x00d19000)
> libdes425.so.3 => /usr/lib/libdes425.so.3 (0x0043d000)
> libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x001ae000)
> libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x007b8000)
> libcom_err.so.2 => /lib/libcom_err.so.2 (0x00422000)
> libkrb5support.so.0 => /usr/lib/libkrb5support.so.0
> (0x00111000)
> libresolv.so.2 => /lib/libresolv.so.2 (0x005d2000)
> libncurses.so.5 => /usr/lib/libncurses.so.5 (0x00b84000)
> libc.so.6 => /lib/libc.so.6 (0x008ba000)
> libX11.so.6 => /usr/lib/libX11.so.6 (0x0029c000)
> libdl.so.2 => /lib/libdl.so.2 (0x00115000)
> /lib/ld-linux.so.2 (0x00736000)
> libXau.so.6 => /usr/lib/libXau.so.6 (0x00119000)
> libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00473000)


Strange this is all I get on FC 5 (x86_64) and the output is more
or less the same on a 32bit box (non FC 5).

# ldd `which telnet`
libkrb4.so.2 => /usr/lib64/libkrb4.so.2 (0x00002aaaaabc6000)
libdes425.so.3 => /usr/lib64/libdes425.so.3 (0x00002aaaaace7000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00002aaaaadea000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00002aaaaaf63000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00002aaaab086000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0 (0x00002aaaab188000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00002aaaab28c000)
libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x00002aaaab3a1000)
libc.so.6 => /lib64/libc.so.6 (0x00002aaaab4fe000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaab747000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)


>> rpm -V krb5-workstation

> S.5....T. c /etc/xinetd.d/krb5-telnet


Only the init script has been changed?

# ls -al `which telnet`
-rwxr-xr-x 1 root root 170816 Aug 9 00:50 /usr/kerberos/bin/telnet

What do you get?

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 184: loop found in loop in redundant loopback
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fwd: SPEWS DOLTS "SneakyP", "Kevin!:?)", "WindsorFox" SPAM braodbandnewsgroup] !:?) Broadband 0 11-30-2005 01:04 AM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
Can "pppd" bind to a pty with "telnet" session over ethernet? Alex Yung Linux Networking 1 10-02-2003 01:33 PM



1 2 3 4 5 6 7 8 9 10 11