🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Fred Condo Fri, 14 Jun 1996 00:00
Bad free() ignored
#8530
Author: Fred Condo
Date: Fri, 14 Jun 1996 00:00
17 lines
1301 bytes
Suddenly, after years of happy service, INN has started logging dozens of
messages like this one:

Jun 13 12:25:13 covina innxmit[14928]: Bad free() ignored

I found no reference to this message in the FAQ. Is any action required on
my part? Might this be a manifestation of an OS bug (we're running INN
under A/UX)? Any thoughts or suggestions will be much appreciated. Thank
you.
-- 
http://www.lightside.net/~fred/ + net access + http://www.lightside.net/
"Attempts to control the use of encryption technology are wrong in
principle, unworkable in practice, and damaging to the long term economic
value of the information networks." - UK Labour Party

Re: Bad free() ignored
#8532
Author: Jim Jagielski
Date: Fri, 14 Jun 1996 00:00
28 lines
1615 bytes
In article <fred-1406960958100001@appenzell.lightside.net>,
fred@lightside.net (Fred Condo) wrote:

> Suddenly, after years of happy service, INN has started logging dozens of
> messages like this one:
> 
> Jun 13 12:25:13 covina innxmit[14928]: Bad free() ignored
> 
> I found no reference to this message in the FAQ. Is any action required on
> my part? Might this be a manifestation of an OS bug (we're running INN
> under A/UX)? Any thoughts or suggestions will be much appreciated. Thank
> you.

I'm guessing it's because somewhere in the code, it's trying to free()
a block that hasn't been allocated. I think this is found in the
malloc() code that comes with INN.

No idea what would cause it, although a bad article header may be the
most likely culprit (or a mismatch between the files and the history
database).

-- 
Jim Jagielski                   "That's a Smith And Wesson,
<jim@jaguNET.com>                and you've had your six"
http://www.jaguNET.com/                    -- James Bond (Dr. No)

Re: Bad free() ignored
#8538
Author: Jim Jagielski
Date: Sat, 15 Jun 1996 00:00
32 lines
1973 bytes
fred@lightside.net (Fred Condo) writes:

>Suddenly, after years of happy service, INN has started logging dozens of
>messages like this one:

>Jun 13 12:25:13 covina innxmit[14928]: Bad free() ignored

>I found no reference to this message in the FAQ. Is any action required on
>my part? Might this be a manifestation of an OS bug (we're running INN
>under A/UX)? Any thoughts or suggestions will be much appreciated. Thank
>you.

The ./lib/malloc.c included with INN reports this when the pointer passed
to free() isn't a valid one (ie: it's not one previously malloc'ed).

As the above shows, INN simply ignores the bad free, but something must
be passing the bad pointer. I'm guessing some sort of mismatch between
the files in your spool and maybe your history file.

It's unlikely that A/UX has anything to do with it (possible, but
unlikely) since the malloc package is the INN version.

I use the GNUmalloc package myself (it's smaller and faster)... it's worth
a try. For INN, it's even better than the malloc() in libUTIL.
-- 
Jim Jagielski  << jim@jaguNET.com >>   |      "That's a Smith & Wesson,
  **  jaguNET Access Services  **      |       and you've had your six" 
      Email: info@jaguNET.com          |             - James Bond
++    http://www.jaguNET.com/         +++      Voice/Fax: 410-931-3157       ++

Re: Bad free() ignored
#8692
Author: Matthew Ward
Date: Fri, 21 Jun 1996 00:00
54 lines
2656 bytes
Jim Jagielski wrote:
> 
> fred@lightside.net (Fred Condo) writes:
> 
> >Suddenly, after years of happy service, INN has started logging dozens of
> >messages like this one:
> 
> >Jun 13 12:25:13 covina innxmit[14928]: Bad free() ignored
> 
> >I found no reference to this message in the FAQ. Is any action required on
> >my part? Might this be a manifestation of an OS bug (we're running INN
> >under A/UX)? Any thoughts or suggestions will be much appreciated. Thank
> >you.
> 
> The ./lib/malloc.c included with INN reports this when the pointer passed
> to free() isn't a valid one (ie: it's not one previously malloc'ed).
> 
> As the above shows, INN simply ignores the bad free, but something must
> be passing the bad pointer. I'm guessing some sort of mismatch between
> the files in your spool and maybe your history file.
> 
> It's unlikely that A/UX has anything to do with it (possible, but
> unlikely) since the malloc package is the INN version.
> 
> I use the GNUmalloc package myself (it's smaller and faster)... it's worth
> a try. For INN, it's even better than the malloc() in libUTIL.

Here's a possibly related question:

Has anybody seen mysterious memory problems with INN1.4unoff[34] under 
HP/UX 9.xx ?

I've got a server that runs BLAZINGLY fast right after reboot, and for 
a few hours, but slowly degrades.  

Virtual memory slowly, but steadily is growing smaller, but top shows 
that the INND process (and in.nnrpd readers as well) are VERY well-
behaved in that they trim their memory usage as the load grows.

Top shows that RESD Sizes do NOT balloon out of control, but 
virtual memory continually shrinks.  This means a reboot every 10 
hours or so.  Not a great idea.

I guess I could try the GNUmalloc ... sigh.

Any tip GREATLY appreciated.

AD(thanks)VANCE
--
"My people are the people of the dessert," said T.E. Lawrence, 
picking up his fork.     -- /\/\ a tt == Matthew.Ward@gte.net

Re: Bad free() ignored
#8759
Author: Daryl Gaumer
Date: Mon, 24 Jun 1996 00:00
37 lines
1730 bytes
Matthew Ward (Matthew.Ward@gte.net) wrote:
<<snip>>

: Here's a possibly related question:

: Has anybody seen mysterious memory problems with INN1.4unoff[34] under 
: HP/UX 9.xx ?

: I've got a server that runs BLAZINGLY fast right after reboot, and for 
: a few hours, but slowly degrades.  

: Virtual memory slowly, but steadily is growing smaller, but top shows 
: that the INND process (and in.nnrpd readers as well) are VERY well-
: behaved in that they trim their memory usage as the load grows.

: Top shows that RESD Sizes do NOT balloon out of control, but 
: virtual memory continually shrinks.  This means a reboot every 10 
: hours or so.  Not a great idea.

: I guess I could try the GNUmalloc ... sigh.

: Any tip GREATLY appreciated.

: AD(thanks)VANCE
: --
: "My people are the people of the dessert," said T.E. Lawrence, 
: picking up his fork.     -- /\/\ a tt == Matthew.Ward@gte.net

What platform are you using (700 or 800)?  What HP-UX OS version?
The output of uname -a will give you this.

What else is being executed on this box?

-- darylg

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads