Re: v16dev: invalid memory alloc request size 8488348128

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: v16dev: invalid memory alloc request size 8488348128
Date: 2023-04-14 22:04:52
Message-ID: CAApHDvoBS2VryMzJRpp9AXeOiqoMLAry+3H=1Uf6-t+uMkGbMw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 15 Apr 2023 at 08:36, Justin Pryzby <pryzby(at)telsasoft(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-04-14 22:36:40 Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert
Previous Message Justin Pryzby 2023-04-14 20:36:30 v16dev: invalid memory alloc request size 8488348128