Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 09:18:59 -0800 (PST)
From:      akoba@ga2-so-net.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/25007: telnetx problem on 4.x
Message-ID:  <200102111718.f1BHIx717661@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         25007
>Category:       ports
>Synopsis:       telnetx problem on 4.x
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 11 09:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Atsuo Kobayashi
>Release:        4.2-STABLE
>Organization:
>Environment:
FreeBSD gate.magi 4.2-STABLE FreeBSD 4.2-STABLE #0: Sun Dec 10 17:43:41 JST 2000
     akoba@gate.magi:/usr/obj/usr/src/sys/gate  i386
>Description:
/usr/ports/net/telnetx core dumped on 4.2-STABLE.

4.1-RELEASE and it's ports do same thing.

>How-To-Repeat:
$cd /usr/ports/net/telnetx
$make install
......
$telnetx localhost

trying 127.0.0.1...
Connected to localhost
Escape character is '^]'.
Segmentation fault - core dumped

>Fix:
alta@ryozan.rim.or.jp (Sumida) temporary solved this.
but we dont know this is the best way.

=== telnetx ===
--- Config.generic~     Thu Sep 26 04:33:13 1996
+++ Config.generic      Sun Feb 11 11:43:05 2001
@@ -198,7 +198,7 @@
        @make -f Makefile.generic ${WHAT} \
                LIBS="-lutil -ltermcap -ltelnet" \
                LIBPATH="../libtelnet/libtelnet.a" \
-               DEFINES="-DLINEMODE -DTERMCAP -DKLUDGELINEMODE \
+               DEFINES="-DLINEMODE -UTERMCAP -DKLUDGELINEMODE \
                        -DUSE_TERMIO -DDIAGNOSTICS" \
                INCLUDES="-I.." \
                LIB_OBJ="gettytab.o" \
===============

yanagis0@is.titech.ac.jp (Yoshisato Yanagisawa) found the problem is in
libncurses.so.5. or tgetent().

% gdb telnetx
GNU gdb 4.18
.... <SNIP>
(no debugging symbols found)...
(gdb) run
Starting program: /usr/local/bin/telnetx 
(no debugging symbols found)...(no debugging symbols found)...
telnetx> open localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x2808a60e in tgetent () from /usr/lib/libncurses.so.5


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102111718.f1BHIx717661>