From owner-freebsd-stable Thu Jul 15 16:47:25 1999 Delivered-To: freebsd-stable@freebsd.org Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.130.111.12]) by hub.freebsd.org (Postfix) with ESMTP id 792331563B; Thu, 15 Jul 1999 16:47:18 -0700 (PDT) (envelope-from pfeifer@dbai.tuwien.ac.at) Received: from alphard (alphard [128.130.111.37]) by vexpert.dbai.tuwien.ac.at (8.9.1/8.9.1) with ESMTP id BAA26108; Fri, 16 Jul 1999 01:47:12 +0200 (MET DST) Date: Fri, 16 Jul 1999 01:47:11 +0200 (MET DST) From: Gerald Pfeifer To: stable@freebsd.org Cc: obrien@freebsd.org, admin@dbai.tuwien.ac.at Subject: poll()/NIS problem in 3.2 (was: NFSv3 seriously broken in 3.1) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 30 Jun 1999, Gerald Pfeifer wrote: > 4. Force v2/UDP for all AMD maps. Both 2.2.x and 3.1 clients are fine. > 5. 3.2 clients experience infinite hangs when sending mail with Pine now > and then, all others are fine. The symptoms were the same as with the NFS bugs in 3.0 and 3.1, but it seems the cause is a different one, namely NIS resp. poll(). Here is the result of a `gcore` on a hanging Pine process: Reading symbols from /usr/lib/libtermcap.so.2...done. Reading symbols from /usr/lib/libcrypt.so.2...done. Reading symbols from /usr/lib/libc.so.3...done. Reading symbols from /usr/libexec/ld-elf.so.1...done. #0 0x282c80f8 in poll () from /usr/lib/libc.so.3 (gdb) bt #0 0x282c80f8 in poll () from /usr/lib/libc.so.3 #1 0x282e5279 in res_send () from /usr/lib/libc.so.3 #2 0x282e1fbf in res_query () from /usr/lib/libc.so.3 #3 0x282dba98 in _gethostbydnsaddr () from /usr/lib/libc.so.3 #4 0x282da5b2 in gethostbyaddr () from /usr/lib/libc.so.3 #5 0x81817c2 in tcp_localhost (stream=0x82ca000) at tcp_unix.c:659 #6 0x817c044 in net_localhost (stream=0x82ba530) at mail.c:4645 #7 0x818ac67 in smtp_open_full (dv=0x0, hostlist=0x829fb10, service=0x822d247 "smtp", port=25, options=65) at smtp.c:166 #8 0x8128c36 in call_mailer () #9 0x8125463 in pine_send () #10 0x811f054 in compose_mail () #11 0x811e025 in compose_screen () #12 0x80bdcd5 in process_cmd () #13 0x80d0707 in index_lister () #14 0x80cf71a in mail_index_screen () #15 0x810c84c in main () #16 0x804a539 in _start () This was introduced in 3.2. Is this a known issue resp. has it been fixed in -STABLE? Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message