Re: Crash: invalid DSA memory alloc request - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Crash: invalid DSA memory alloc request
Date
Msg-id Z2CnMpS2srwNxfXg@nathan
Whole thread Raw
In response to Re: Crash: invalid DSA memory alloc request  ("Andreas 'ads' Scherbaum" <ads@pgug.de>)
Responses Re: Crash: invalid DSA memory alloc request
List pgsql-hackers
On Mon, Dec 16, 2024 at 08:00:00AM +0100, Andreas 'ads' Scherbaum wrote:
> Can confirm that the crash no longer happens when applying your patch.

The patch looks reasonable to me.  I'll commit it soon unless someone
objects.  I was surprised to learn that the DSA_ALLOC_HUGE flag is only
intended to catch faulty allocation requests [0].

> Was able to both continue the old and crashed test, as well as run a new
> test:
> 
> tabletest=# select count(*) from information_schema.tables;
>   count
> ----------
>  20000211
> (1 row)

That's a lot of tables...

[0] https://postgr.es/m/28062.1487456862%40sss.pgh.pa.us

-- 
nathan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Support regular expressions with nondeterministic collations
Next
From: Tom Lane
Date:
Subject: Re: improve EXPLAIN for wide tables