🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56511

chan.c problem with INN 2.3.[012] on AIX 4.2

#56511
From: Colin Smith
Date: Thu, 14 Feb 2002 19:09
44 lines
2000 bytes
Hi,

I'm trying to get INN running on and AIX 4.2 box. The build appears to
run fine but when starting INN with rc.news, it logs the following
message to syslog and dies:

-----
Feb 14 18:49:33 midspf05.euro.csg.mot.com Message forwarded from
midspe05: innd:
 SERVER cant malloc 4294966484 bytes at line 146 of chan.c: No such
file or dire
ctory
-----

I've looked through the readme, searched google but can't see anything
similar. I had a look at line 146 in chan.c and it's a NEW() macro
which appears to resolve to xmalloc in macros.h:

#define NEW(T, c)               xmalloc(sizeof(T) * (c), __FILE__,
__LINE__)

However, the manpage for xmalloc on our AIX boxes defines xmalloc as:
caddr_t xmalloc (size, align, heap)
int size;
int align;
caddr_t heap;

Parameters
size    Specifies the number of bytes to allocate.
align   Specifies the alignment characteristics for the allocated
memory.
heap    Specifies the address of the heap from which the memory is to
be allocated.


Has anyone else seen this? Have a workaround?


Anyway, thanks in advance for any help.

Yours,
slightly confused,
Colin Smith.
Technical Details
Message-ID: <fa8727e8.0202141109.7875ddc@posting.google.com>
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!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <fa8727e8.0202141109.7875ddc@posting.google.com>
Subject: chan.c problem with INN 2.3.[012] on AIX 4.2
Date: Thu, 14 Feb 2002 19:09:20 +0000
From: Colin.Smith@motorola.com (Colin Smith)
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!archiver1.google.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com/
Lines: 43
NNTP-Posting-Host: 62.172.156.90
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1013713763 22645 127.0.0.1 (14 Feb 2002 19:09:23 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 14 Feb 2002 19:09:23 GMT