🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #92556

Re: innd SERVER cant malloc 18446744073699012160 bytes

#92556
From: Russ Allbery
Date: Mon, 17 Nov 2025 19:24
27 lines
2036 bytes
Jesse Rehmer <jesse.rehmer@blueworldhosting.com> writes:

> I have been working with Billy G., having him push articles from his
> pugleaf instance to an INN instance running on an OmniOS VM. Tonight
> innd crashed with the following:

> Nov 16 22:33:33 omnios-inn innd: [ID 608925 news.crit] SERVER cant malloc
> 18446744073699012160 bytes at interface.c line 622: Not enough space

> What condition could have caused innd to attempt to allocate that much
> memory?

There is some sort of memory or data structure corruption going on inside
SMgetsub. article.groupslen is nonsense (it's a large negative number). I
don't immediately see how that can happen, though. It could be through
some sort of stack overwrite from a different part of the program.

I don't know what mdb is (I've never used it). The output that it
generated for you is pretty useless. I would use gdb to inspect the
article data structure up the call chain and see if that provides any
clues.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <87a50kxy1v.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
References: <10fenue$2qr8$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
From: Russ Allbery <eagle@eyrie.org>
Newsgroups: news.software.nntp
Subject: Re: innd  SERVER cant malloc 18446744073699012160 bytes
Date: Mon, 17 Nov 2025 11:24:12 -0800
Organization: The Eyrie
Message-ID: <87a50kxy1v.fsf@hope.eyrie.org>
References: <10fenue$2qr8$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org;
	logging-data="11432"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:oMMdpBxhRtbqO8Z2sOGIypdV2aM=