Re: v16dev: invalid memory alloc request size 8488348128 - Mailing list pgsql-hackers

From David Rowley
Subject Re: v16dev: invalid memory alloc request size 8488348128
Date
Msg-id CAApHDvoBS2VryMzJRpp9AXeOiqoMLAry+3H=1Uf6-t+uMkGbMw@mail.gmail.com
Whole thread Raw
In response to v16dev: invalid memory alloc request size 8488348128  (Justin Pryzby <pryzby@telsasoft.com>)
Responses Re: v16dev: invalid memory alloc request size 8488348128
List pgsql-hackers
On Sat, 15 Apr 2023 at 08:36, Justin Pryzby <pryzby@telsasoft.com> wrote:
>
> I hit this elog() while testing reports under v16 and changed to PANIC
> to help diagnose.
>
> DETAILS: PANIC:  invalid memory alloc request size 18446744072967930808
> CONTEXT:  PL/pgSQL function array_weight(real[],real[]) while storing call arguments into local variables
>
> I can't share the query, data, nor plpgsql functions themselves.

Which aggregate function is being called here?  Is it a custom
aggregate written in C, by any chance?

David



pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: v16dev: invalid memory alloc request size 8488348128
Next
From: Daniel Gustafsson
Date:
Subject: Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert