Trouble with gnu-finger on Solaris2

Trouble with gnu-finger on Solaris2

Post by Wolfgang Ratz » Thu, 03 Jun 1993 06:36:43



[ Article crossposted from gnu.utils.bug ]
[ Author was Wolfgang Ratzka ]
[ Posted on 1 Jun 93 19:58:29 GMT ]

I have compiled GNU finger 1.37 using gcc on Solaris 2.1.  fingerd
only lives for a limited time (seems to hang or dump core), after that
we get garbage user data like:
------------------------------------------------------------
% finger
/usr/local/etc/fingerdir/hostdata: file has not changed in 1 day, 13:16:39
  User     Real Name         What    Idle  TTY  Host      Console Location

                            adminto  2:40   co rphc1a   PHY 5.1.20
------------------------------------------------------------
Looking at the coredump gives:
------------------------------------------------------------
(gdb) file /usr/local/etc/fingerd
Reading symbols from /usr/local/etc/fingerd...done.
(gdb) core /core
Core was generated by `/usr/local/etc/fingerd'.
Program terminated with signal 11, Segmentation fault.
#0  0xef7b6958 in sys_errlist ()
(gdb) where
#0  0xef7b6958 in sys_errlist ()
#1  0xf001a73c in sys_errlist ()
#2  0xef7b67d0 in sys_errlist ()
#3  0xef7b5f60 in sys_errlist ()
#4  0xef7a84cc in sys_errlist ()
#5  0xef768a3c in sys_errlist ()
#6  0xef767338 in sys_errlist ()
#7  0xef767014 in sys_errlist ()
#8  0xef76b0fc in sys_errlist ()
#9  0x1461c in tcp_to_service (service=0x16888 "cfinger",
    address=0x2be40 "\204Gs\002") at tcp.c:92
#10 0x13e00 in finger_at_address (address=0x2be40 "\204Gs\002",
    user=0x16590 "", port_or_service=0x2be54 "") at packet.c:260
#11 0x13094 in poll_client (client=0x2bc40) at fingerd.c:641
#12 0x12ebc in poll_some_clients () at fingerd.c:616
#13 0x1223c in main (argc=160800, argv=0xeffffe4c) at fingerd.c:248
(gdb) frame 9
#9  0x1461c in tcp_to_service (service=0x16888 "cfinger",
    address=0x2be40 "\204Gs\002") at tcp.c:92
(gdb)
------------------------------------------------------------
tcp.c:92 is
------------------------------------------------------------
      name.sin_port = server->s_port;
    }

  /* Make a new socket. */
=>connection = socket (PF_INET, SOCK_STREAM, IP);

  if (connection < 0)
    return (-1);
------------------------------------------------------------
Thanks for any help.
--
      ___                                               Wolfgang Ratzka
|    | :-)      -------------------------------------------------------


--
      ___                                               Wolfgang Ratzka
|    | :-)      -------------------------------------------------------


 
 
 

1. GNU Finger/Fingers that show multiple hosts...

Has anyone successfully gotten GNU Finger to run under Linux? or a finger
that will show information for more than 1 host (like SunOS and BSDI do?).

-- Mike

--

____________________________________________________________________________

Windows NT / Linux / Windows 3.1                         MailPro Development    
 PGP 2.3 Public Key - use finger or ftp: netcom.com:/pub/mikenel/pubkey.asc

2. Unable to mount CD-ROM

3. Compiling GNU-Finger

4. Truetype mod fails, XFS

5. FINGER: How can I know who is fingering or fingered me?

6. NEC CDR-500 on a PCI machine

7. Finger in Solaris2.3

8. Konqueror plugins, how to install in Mandrake 9.0?

9. Finger and .plan for Solaris2.3

10. finger command on solaris2.1 has some problem

11. FInger on Solaris2.3

12. GNU Finger