Illegal seek (reprise)

Aioe tecniche at aioe.org
Thu Jan 22 15:58:31 UTC 2004


I'm using INN 2.4.1 on a Debian Linux 3.0rc1 for x86 with cnfs/ovdb, perl filter and keywords generation
enabled, tcl disabled. I'm using a single UUCP feed.

Sometimes (two times in a week), innd dies with no logs and rnews reports:
rnews: cant fgets after article: Illegal seek

This is the back trace of INN:

domitilla:/news$ gdb
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux".
(gdb) attach 16525
Attaching to process 16525
Reading symbols from /news/bin/innd...done.
Reading symbols from /usr/lib/libdb3.so.3...done.
Loaded symbols for /usr/lib/libdb3.so.3
Reading symbols from /usr/lib/libpython2.1.so.0.0...done.
Loaded symbols for /usr/lib/libpython2.1.so.0.0
Reading symbols from /lib/libpthread.so.0...done.
[New Thread 1024 (LWP 16525)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libperl.so.5.6...done.
Loaded symbols for /usr/lib/libperl.so.5.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/perl5/auto/Digest/MD5/MD5.so...done.
Loaded symbols for /usr/lib/perl5/auto/Digest/MD5/MD5.so
Reading symbols from /usr/lib/perl/5.6.1/auto/Data/Dumper/Dumper.so...done.
Loaded symbols for /usr/lib/perl/5.6.1/auto/Data/Dumper/Dumper.so
Reading symbols from /usr/lib/perl/5.6.1/auto/IO/IO.so...done.
Loaded symbols for /usr/lib/perl/5.6.1/auto/IO/IO.so
Reading symbols from /usr/lib/perl/5.6.1/auto/Fcntl/Fcntl.so...done.
Loaded symbols for /usr/lib/perl/5.6.1/auto/Fcntl/Fcntl.so
Reading symbols from /usr/lib/python2.1/lib-dynload/strop.so...done.
Loaded symbols for /usr/lib/python2.1/lib-dynload/strop.so
0x4034e7ee in select () from /lib/libc.so.6
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 16525)]
0x402f221f in malloc () from /lib/libc.so.6
(gdb) bt
#0  0x402f221f in malloc () from /lib/libc.so.6
#1  0x402f2074 in malloc () from /lib/libc.so.6
#2  0x401e8c08 in Perl_safemalloc () from /usr/lib/libperl.so.5.6
#3  0x401fe85a in Perl_sv_grow () from /usr/lib/libperl.so.5.6
#4  0x40201892 in Perl_sv_setsv () from /usr/lib/libperl.so.5.6
#5  0x401f871c in Perl_pp_aassign () from /usr/lib/libperl.so.5.6
#6  0x401f6401 in Perl_runops_standard () from /usr/lib/libperl.so.5.6
#7  0x401aeb1c in S_call_body () from /usr/lib/libperl.so.5.6
#8  0x401ae88e in perl_call_sv () from /usr/lib/libperl.so.5.6
#9  0x08062a4a in PLartfilter (data=0x413e6788,
    artBody=0x831271f "\r\n3573 bytes free <ready at 0.0.0.0> wrote in
message\r\npan.2004.01.22.00.08.11.858605 at 0.0.0.0...\r\n> On Thu, 22 Jan 2004 
00:04:18 +0100, Paolo Levi Sandri wrote:\r\n>\r\n> > quoto\r\n>\r\n>
quoto\r\n\r\nROTFL!\r\n\r\n\r\n."..., artLen=202, lines=12) at perl.c:114
#10 0x08054b69 in ARTpost (cp=0x413e62dc) at art.c:1899
#11 0x0805da24 in NCpostit (cp=0x413e62dc) at nc.c:196
#12 0x0805f255 in NCproc (cp=0x413e62dc) at nc.c:985
#13 0x0805f9cf in NCreader (cp=0x413e62dc) at nc.c:1188
#14 0x0805adbc in CHANreadloop () at chan.c:1062
#15 0x0805cf14 in main (ac=4, av=0xbffffea4) at innd.c:666

-------

this is the back trace of rnews

domitilla:/news$ gdb /news/bin/rnews
[....]
(gdb) run -U
Starting program: /news/bin/rnews -U
rnews: cant fgets after article: Illegal seek
rnews: cant unspool saving to /news/spool/incoming/bad/bofhFrkLcL

Program received signal SIGPIPE, Broken pipe.
0x40185404 in write () from /lib/libc.so.6
(gdb) bt
#0  0x40185404 in write () from /lib/libc.so.6
#1  0x401d9e48 in __check_rhosts_file () from /lib/libc.so.6
#2  0x4012be88 in _IO_do_write () from /lib/libc.so.6
#3  0x4012bde6 in _IO_do_write () from /lib/libc.so.6
#4  0x4012c20f in _IO_file_sync () from /lib/libc.so.6
#5  0x401233fb in fflush () from /lib/libc.so.6
#6  0x0804a114 in Process (
    article=0x806a370 "Path: 
bofh.it!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail\nFrom:
\"Merla\" <Merla2 at Gmx.de>\nNewsgroups: it.arti.poesia\nReferences: 
<dkROb.112790$VW.4608467 at news3.tin.it> <buiomh$ma4$1@"...)
    at rnews.c:256
#7  0x0804a5dc in ReadBytecount (fd=12, artsize=1504) at rnews.c:441
#8  0x0804a848 in UnpackOne (fdp=0xbffffc28, countp=0xbffffc2c) at rnews.c:544
#9  0x0804abe1 in Unspool () at rnews.c:666
#10 0x0804b3a3 in main (ac=0, av=0xbffffe34) at rnews.c:914


------

Is there a way to recover this crash?


greetings


ps. This is my second attempt to send this message; first copy didn't get back
so i'm posting again.


More information about the inn-workers mailing list