Debian Bug report logs - #323449
tin hanged with: Can't retrieve active

version graph

Package: tin; Maintainer for tin is Marco d'Itri <md@linux.it>; Source for tin is src:tin (PTS, buildd, popcon).

Reported by: Miernik <public@public.miernik.name>

Date: Tue, 16 Aug 2005 20:48:11 UTC

Severity: normal

Found in version tin/1:1.7.10+20050815-1

Fixed in version tin/1:1.8.2-1

Done: Marco d'Itri <md@linux.it>

Bug is archived. No further changes may be made.

Forwarded to tin-dev@tin.org

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, tin-bugs@tin.org, Marco d'Itri <md@linux.it>:
Bug#323449; Package tin. (full text, mbox, link).


Acknowledgement sent to Miernik <miernik@ffii.org>:
New Bug report received and forwarded. Copy sent to tin-bugs@tin.org, Marco d'Itri <md@linux.it>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Miernik <miernik@ffii.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: tin hanged with: Can't retrieve active
Date: Tue, 16 Aug 2005 22:42:11 +0200
Package: tin
Version: 1:1.7.10+20050815-1
Severity: normal

I am running tin as rtin with a local newsserver (noffle), and today
rtin was running as usual, I have 51 groups in my .newsrc, and I was
away from the computer. When I came back, I see rtin hanged, no reaction
to any keys, and displaing in the last line of the screen:

Can't retrieve active

top is displaying:

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
11970 miernik   16   0  7860 5428 1608 S  0.0  2.1   9:20.98 rtin

jaworz:~$ strace -p 11970
Process 11970 attached - interrupt to quit
read(3,

jaworz:~$ ls -l /proc/11970/fd/3
lrwx------  1 miernik miernik 64 2005-08-16 22:21 /proc/11970/fd/3 -> socket:[38096]
jaworz:~$

(gdb) bt
#0  0xb7ec81fe in read () from /lib/tls/libc.so.6
#1  0xb7e68b48 in _IO_file_read () from /lib/tls/libc.so.6
#2  0xb7e678be in _IO_file_underflow () from /lib/tls/libc.so.6
#3  0xb7e69e2b in _IO_default_uflow () from /lib/tls/libc.so.6
#4  0xb7e69c0c in __uflow () from /lib/tls/libc.so.6
#5  0xb7e5eae8 in _IO_getline_info () from /lib/tls/libc.so.6
#6  0xb7e5ea0f in _IO_getline () from /lib/tls/libc.so.6
#7  0xb7e5d959 in fgets () from /lib/tls/libc.so.6
#8  0x0807d2ce in ?? ()
#9  0x083db508 in ?? ()
#10 0x000004fd in ?? ()
#11 0x082d4410 in ?? ()
#12 0x000004fd in ?? ()
#13 0x080ac4c1 in _IO_stdin_used ()
#14 0x00000001 in ?? ()
#15 0x00000000 in ?? ()
#16 0xffffffff in ?? ()
#17 0x00000000 in ?? ()
#18 0x00006320 in ?? ()
#19 0xb7e44550 in vfprintf () from /lib/tls/libc.so.6

... this part is useless probably, only ?? () ...

#72 0x08090adf in ?? ()
#73 0x00000000 in ?? ()
#74 0xb7e6d0a4 in free () from /lib/tls/libc.so.6
Previous frame inner to this frame (corrupt stack?)
(gdb)

jaworz:~$ lsof | grep 38096
lsof: WARNING: can't stat() ext3 file system /dev/.static/dev
      Output information may be incomplete.
rtin      11970     miernik    3u     IPv4      38096                 TCP localhost.localdomain:41188->localhost.localdomain:nntp (ESTABLISHED)
rtin      11970     miernik    4u     IPv4      38096                 TCP localhost.localdomain:41188->localhost.localdomain:nntp (ESTABLISHED)
jaworz:~$

Looks like it's stuck on connection to local newsserver. But it is like
that since half an hour at least, it should time out or something. There
is not much I can do besides killing it.

Finally I did:

jaworz:~$ sudo killall noffle
jaworz:~$ sudo killall noffle
jaworz:~$ sudo killall -9 noffle
jaworz:~$ sudo killall -9 noffle
noffle: no process killed
jaworz:~$

And then rtin did quit too.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-386
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tin depends on:
ii  debconf [debconf-2.0]         1.4.57     Debian configuration management sy
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libidn11                      0.5.18-1   GNU libidn library, implementation
ii  libncursesw5                  5.4-9      Shared libraries for terminal hand
ii  libpcre3                      5.0-1.1    Perl 5 Compatible Regular Expressi

Versions of packages tin recommends:
ii  exim4                         4.52-1     metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.52-1     lightweight exim MTA (v4) daemon

-- debconf information:
* shared/news/server: localhost



Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#323449; Package tin. (full text, mbox, link).


Acknowledgement sent to Urs Janßen <urs@akk.org>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: Urs Janßen <urs@akk.org>
To: Miernik <miernik@ffii.org>, 323449@bugs.debian.org
Cc: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#323449: tin hanged with: Can't retrieve active
Date: Thu, 25 Aug 2005 13:21:09 +0200
On Tue, Aug 16, 2005 at 10:42:11PM +0200, Miernik wrote:
> Package: tin
> Version: 1:1.7.10+20050815-1
> Severity: normal
> 
> I am running tin as rtin with a local newsserver (noffle), and today
> rtin was running as usual, I have 51 groups in my .newsrc, and I was
> away from the computer. When I came back, I see rtin hanged, no reaction
> to any keys, and displaing in the last line of the screen:
> 
> Can't retrieve active

sounds like noffle died or closed the link without a propper feedback to the
client - as the client can not recognize if the server has closed the
connection (if it doesn't give any feedback) till some kind of timeout will
occur it sits there and wait's for data (e.g. the active file). this is a
server error, not a client one, but the client could have a timeout to
detect it (tin doesn't have such a timout anymore, it was removed during
some rewrite of the (network)reading code a few years ago).

> Looks like it's stuck on connection to local newsserver. But it is like
> that since half an hour at least, it should time out or something. There

as mentioned above it's the servers fault if it shut's down the connection
without telling the client,.but the client should have some kind of
timeout to catch the (rare) case that the server fails to tell the client
that it had closed the connection. tin once had such a fature but it got
lost dring the rewrite of read.c. if anyone is willing to fix this look for
NNTP_READ_TIMEOUT.

news.arcor.de (dumb cluster setup) has the 'same' prolem, long ideling
clients are timed out on the server side but the server fails to tell this
the client ...

> is not much I can do besides killing it.

ps xauww | awk '/[t]in/{print $2}' | kill -1

sould be 'safe' (newsrc should be written out propper).

> Finally I did:
> 
> jaworz:~$ sudo killall noffle
> jaworz:~$ sudo killall noffle
> jaworz:~$ sudo killall -9 noffle
> jaworz:~$ sudo killall -9 noffle
> noffle: no process killed
> jaworz:~$
> 
> And then rtin did quit too.

as it noticed that the connection was closed when the server finally died

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus




Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#323449; Package tin. (full text, mbox, link).


Acknowledgement sent to Urs Janßen <urs@akk.org>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (full text, mbox, link).


Noted your statement that Bug has been forwarded to tin-dev@tin.org. Request was from Marco d'Itri <md@linux.it> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Marco d'Itri <md@linux.it>:
Bug#323449; Package tin. (full text, mbox, link).


Acknowledgement sent to Urs Janßen <urs@tin.org>:
Extra info received and forwarded to list. Copy sent to Marco d'Itri <md@linux.it>. (full text, mbox, link).


Message #22 received at 323449@bugs.debian.org (full text, mbox, reply):

From: Urs Janßen <urs@tin.org>
To: 323449@bugs.debian.org
Subject: Re: tin hanged with: Can't retrieve active
Date: Thu, 16 Nov 2006 21:26:37 +0100
this has been fixed in tin >= 1.8.2

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus




Bug marked as fixed in version 1:1.8.2, send any further explanations to Miernik <miernik@ffii.org> Request was from Marco d'Itri <md@linux.it> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug submitter from Miernik <miernik@ffii.org> to Miernik <public@public.miernik.name>. Request was from Miernik <public@public.miernik.name> to control@bugs.debian.org. (full text, mbox, link).


No longer marked as fixed in versions 1:1.8.2. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Fri, 01 Nov 2013 01:21:51 GMT) (full text, mbox, link).


Marked as fixed in versions tin/1:1.8.2-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Fri, 01 Nov 2013 01:21:52 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 29 Nov 2013 07:37:35 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Oct 11 00:26:39 2017; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.