Date: Thu, 14 Oct 2004 09:43:36 GMT From: Adrian Pircalabu <apircalabu@bitdefender.com> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/72676: telnet client crashes regularly on 4.10-STABLE if interrupted before connection is established Message-ID: <200410140943.i9E9haOk038678@www.freebsd.org> Resent-Message-ID: <200410140950.i9E9oMED076512@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72676 >Category: i386 >Synopsis: telnet client crashes regularly on 4.10-STABLE if interrupted before connection is established >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 14 09:50:22 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Adrian Pircalabu >Release: 4.10-STABLE >Organization: BitDefender >Environment: FreeBSD host 4.10-STABLE FreeBSD 4.10-STABLE #4: Mon Aug 9 09:44:10 EEST 2004 root@host:/usr/obj/usr/src/sys/GENERIC i386 >Description: telnet crashes if it's interrupted with CTRL + \ while trying to connect to remote host. This occurs very often on a slow link which induces connection timeouts. It also crashes if it's interrupted before resolving the remote hostname (also connection related, I guess) >How-To-Repeat: 1. open a port on a remote system 2. filter that port dropping packets and try to connect there using telnet 3. CTRL + \ crashes it I got 2 types of crash: a. in connect () if it can't connect: (gdb) bt #0 0x28227bec in connect () from /usr/lib/libc.so.4 #1 0x804d0b0 in free () #2 0x804e0c2 in free () #3 0x8049e1e in free () b. in kevent () if it can't resolve (gdb) bt #0 0x28226c6c in kevent () from /usr/lib/libc.so.4 #1 0x28239461 in res_send () from /usr/lib/libc.so.4 #2 0x28240682 in getaddrinfo () from /usr/lib/libc.so.4 #3 0x28240b3d in getaddrinfo () from /usr/lib/libc.so.4 #4 0x282408a2 in getaddrinfo () from /usr/lib/libc.so.4 #5 0x28240088 in getaddrinfo () from /usr/lib/libc.so.4 #6 0x2823eda7 in getaddrinfo () from /usr/lib/libc.so.4 #7 0x2823ea2f in getaddrinfo () from /usr/lib/libc.so.4 #8 0x804cb96 in free () #9 0x804e0c2 in free () #10 0x8049e1e in free () >Fix: None known >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410140943.i9E9haOk038678>