Re: assertion failures on BuildFarm that happened in slab.c

David Rowley <dgrowleyml@gmail.com>

From: David Rowley <dgrowleyml@gmail.com>
To: "Takamichi Osumi (Fujitsu)" <osumi.takamichi@fujitsu.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2022-12-21T20:59:42Z
Lists: pgsql-hackers
On Wed, 21 Dec 2022 at 16:28, Takamichi Osumi (Fujitsu)
<osumi.takamichi@fujitsu.com> wrote:
> TRAP: failed Assert("dlist_is_empty(blocklist)"), File: "slab.c", Line: 564, PID: 16148

> I'm not sure, but this could be related to a recent commit (d21ded75fd) in [4].

It was. I've just pushed a fix.  Thanks for highlighting the problem.

David



Commits

  1. Fix newly introduced bug in slab.c

  2. Improve the performance of the slab memory allocator