Article View: news.software.nntp
Article #29156Re: Odd cleanfeed problem
From: Andrew Gierth
Date: Sun, 14 Jun 1998 00:00
Date: Sun, 14 Jun 1998 00:00
31 lines
1880 bytes
1880 bytes
>>>>> "meow" == Fluffy <fluffy@meow.org> writes:
>> > while (($id,$lasthit) = each %md5EMP) {
>> > delete $md5EMP{$id} if (($now - $lasthit) > $MD5maxlife);
>> > }
>>
>> This message, despite being a warning issued by Perl, does not seem to
>> appear in perldiag, so that at least I'd consider to be a bug.
meow> It's in there, at least with 5.004_65:
meow> Attempt to free nonexistent shared string
meow> (P) Perl maintains a reference counted internal table
meow> of strings to optimize the storage and access of hash
meow> keys and other strings. This indicates someone tried
meow> to decrement the reference count of a string that can
meow> no longer be found in the table.
meow> Indirectly deleting something that's already been deleted? Maybe a
meow> wacky loop counter somewhere.
Hmm. You do know that doing deletes inside a while(each %hash) loop is
definitely a no-no?
However, I wouldn't expect this kind of error as a result.
--
Andrew.
Technical Details
Message-ID:
<87zpfgl1b4.fsf@erlenstar.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6lu4nq$i83$1@opal.southwind.net> <m3yav0ahzh.fsf@windlord.Stanford.EDU> <Mw.5elrd_jvo@fluffy.meow.org>Show Full Headers
Complete Article Headers
Message-ID: <87zpfgl1b4.fsf@erlenstar.demon.co.uk> Subject: Re: Odd cleanfeed problem Date: Sun, 14 Jun 1998 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <6lu4nq$i83$1@opal.southwind.net> <m3yav0ahzh.fsf@windlord.Stanford.EDU> <Mw.5elrd_jvo@fluffy.meow.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 362507307 X-Mayan-Date: Long count = 12.19.5.4.14; tzolkin = 2 Ix; haab = 7 Zotz Organization: disorganised X-Attribution: AG X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 Newsgroups: news.software.nntp