Re: occasional ECPG failures on dikkop (FreeBSD)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Vondra <tomas(at)vondra(dot)me>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: occasional ECPG failures on dikkop (FreeBSD)
Date: 2026-06-30 01:43:43
Message-ID: 2447528.1782783823@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tomas Vondra <tomas(at)vondra(dot)me> writes:
> On 5/6/26 16:15, Tom Lane wrote:
>> Yeah. Given that these are threading tests, I'm suspecting some
>> change in thread scheduling behavior in this latest FBSD release,
>> which somehow made it easier to hit a pre-existing issue.

> The backtrace is exactly the one I posted earlier. Turns out snprintf()
> is not as thread-safe as I thought.

Nice detective work! I assume you've filed a FreeBSD bug?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2026-06-30 01:55:37 Re: Proposal: Conflict log history table for Logical Replication
Previous Message Fujii Masao 2026-06-30 01:40:22 Re: 048_vacuum_horizon_floor.pl hangs due to wakeup lost inside LockBufferForCleanup