[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: artutil.c:58: mgetheader: Assertion failed.



On Fri, Oct 03 2003, Matthias Andree wrote:

> Applyfilter truncates an article that has been filtered out, but it
> assumes that some other part of leafnode weeds out these zero-sized
> files. 

It seems that texpire (run by cron) has deleted the zero-sized files.

> Does this patch help? Against 20031001a.

Upgraded to 20031001a and applied the patch.  Now applyfilter hangs
while reading my zero-sized /usr/local/etc/leafnode/local.groups:

$ ll /usr/local/etc/leafnode/local.groups
-rw-r--r--    1 root     news            0 Jul 11  2002 /usr/local/etc/leafnode/local.groups

--8<---------------cut here---------------start------------->8---
# strace -f ./applyfilter -vvvvv -D 2233 comp.emacs
[...]
open("/usr/local/etc/leafnode/local.groups", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
chdir("/var/spool/news/comp/emacs")     = 0
open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 31 entries */, 4096)   = 768
stat64("554", {st_mode=S_IFREG|0644, st_size=1213, ...}) = 0
open("554", O_RDONLY)                   = 5
read(1, 
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list