Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jul 1999 01:47:11 +0200 (MET DST)
From:      Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
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)
Message-ID:  <Pine.GSO.4.10.9907160140130.27056-100000@alphard.dbai.tuwien.ac.at>
In-Reply-To: <Pine.GSO.4.10.9906301621010.6712-100000@markab.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.9907160140130.27056-100000>