🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29149

Re: Odd cleanfeed problem

#29149
From: Fluffy
Date: Sun, 14 Jun 1998 00:00
33 lines
1975 bytes
Russ Allbery <rra@stanford.edu> wrote:

> Sent to both news.software.nntp and perlbug@perl.org.
> 
> Jeff Stehman <stehman@jade.southwind.net> writes:
> 
> > 	Attempt to free non-existent shared string at
> > 	/var/news/bin/control/filter_innd.pl line 684.
> > Line 684 is the delete in the following block of code.
> >     # trim too-old entries from %md5EMP
> >     if ($config{'do_md5'}) {
> >         if (scalar keys %md5EMP > $config{'EMPstarttrimming'}) {
> >             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.

It's in there, at least with 5.004_65:

       Attempt to free nonexistent shared string
           (P) Perl maintains a reference counted internal table
           of strings to optimize the storage and access of hash
           keys and other strings.  This indicates someone tried
           to decrement the reference count of a string that can
           no longer be found in the table.

Indirectly deleting something that's already been deleted?  Maybe a
wacky loop counter somewhere.

Technical Details
Message-ID: <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
References: <6lu4nq$i83$1@opal.southwind.net> <m3yav0ahzh.fsf@windlord.Stanford.EDU>

Show Full Headers
Complete Article Headers
Message-ID: <Mw.5elrd_jvo@fluffy.meow.org>
Subject: Re: Odd cleanfeed problem
Date: Sun, 14 Jun 1998 00:00:00 +0000
From: fluffy@meow.org (Fluffy)
References: <6lu4nq$i83$1@opal.southwind.net> <m3yav0ahzh.fsf@windlord.Stanford.EDU>
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: 362436984
X-Server-Date: Sun, 14 Jun 1998 02:04:25 GMT
X-Vulis-Is-Everywhere: yes
X-Attribution: meow
X-Meow: Meow
Mail-Copies-To: never
Organization: Ruler of All Usenet
Newsgroups: news.software.nntp