Somewhat Off Topic: trn hangs on empty groups
Paul Tomblin
ptomblin at xcski.com
Tue Jul 3 02:01:30 UTC 2007
I know this is off topic, but it seems to have started happening
recently. I use trn 4.0-test76 as a news reader. Recently, I've noticed
that if I attempt to open a newsgroup that is totally empty (all the posts
have expired), it just hangs there forever. An strace shows the
following:
write(6, "LIST active compass.announce\r\n", 30) = 30
time(NULL) = 1183427315
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT], NULL, 8) = 0
read(5, "215 Newsgroups in form \"group hi"..., 1024) = 93
rt_sigprocmask(SIG_SETMASK, NULL, [INT], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [INT], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [INT], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
time(NULL) = 1183427315
time(NULL) = 1183427315
write(6, "LISTGROUP\r\n", 11) = 11
time(NULL) = 1183427315
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT], NULL, 8) = 0
read(5, "211 0 0 0 compass.announce\r\n", 1024) = 28
rt_sigprocmask(SIG_SETMASK, NULL, [INT], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, NULL, [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT], NULL, 8) = 0
read(5, 0x117000, 1024) = ? ERESTARTSYS (To be restarted)
--- SIGQUIT (Quit) @ 0 (0) ---
Process 14723 detached
If I try telnetting to the server and issuing the commands, I get the
following:
telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 xcski.com InterNetNews server INN 2.4.3 ready
GROUP compass.test
502 Permission denied
mode reader
200 xcski.com InterNetNews NNRP server INN 2.4.3 ready (posting ok).
GROUP compass.test
211 0 0 0 compass.test
LISTGROUP
211 0 0 0 compass.test
quit
205 .
Connection closed by foreign host.
I get pretty much the same thing with a INN 2.4.4 server.
Does that look like inn is returning the right thing for that LISTGROUP?
Or is it supposed to put out a ".\n" at the end of the list even if it's
empty?
--
Paul Tomblin <ptomblin at xcski.com> http://blog.xcski.com/
"The means of defense against foreign danger historically have become the
instruments of tyranny at home." - James Madison
More information about the inn-bugs
mailing list