Re: ecpg test thread/alloc hangs on sidewinder running NetBSD 9.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mikael Kjellström <mikael(dot)kjellstrom(at)mksoft(dot)nu>
Cc: Alexander Lakhin <exclusion(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, mikael(dot)kjellstrom(at)gmail(dot)com
Subject: Re: ecpg test thread/alloc hangs on sidewinder running NetBSD 9.3
Date: 2025-08-31 14:52:49
Message-ID: 165168.1756651969@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?UTF-8?Q?Mikael_Kjellstr=C3=B6m?= <mikael(dot)kjellstrom(at)mksoft(dot)nu> writes:
> On 2025-08-30 22:00, Alexander Lakhin wrote:
>> Upgrade to NetBSD 9.4 fixed the issue for me.

> I also have note that there are stuck processes some times.  Like:

Yeah, this printout is consistent with Alexander's observation that
it's ecpg threading tests that are getting stuck:

> pgbf     3083  0.0  0.3 1903704  6164 ?     Il   22Aug25   0:00.04
> /home/pgbf/buildroot/HEAD/pgsql.build/src/interfaces/ecpg/test/thr

> pgbf    10579  0.0  0.3 1900136  6172 ?     Il   Fri03PM   0:00.04
> /home/pgbf/buildroot/HEAD/pgsql.build/src/interfaces/ecpg/test/thr

All the other processes belonging to pgbf are test driver processes
that would be waiting for these two.

Since we're not seeing comparable failures on other animals,
I tend to agree with his diagnosis of a bug in 9.3's malloc library.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mihail Nikalayeu 2025-08-31 15:29:00 Re: Adding REPACK [concurrently]
Previous Message Tom Lane 2025-08-31 14:34:43 Re: PG 18 relnotes and RC1