Re: occasional ECPG failures on dikkop (FreeBSD)

From: Tomas Vondra <tomas(at)vondra(dot)me>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: occasional ECPG failures on dikkop (FreeBSD)
Date: 2026-06-30 08:10:13
Message-ID: 1830ad18-0f45-4058-85af-3e5a97f16d7d@vondra.me
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6/30/26 03:43, Tom Lane wrote:
> 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?
>

Not yet, I need to create an account for their bugzilla, which requires
mailing maintainers etc. Working on it.

regards

--
Tomas Vondra

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Lepikhov 2026-06-30 08:20:52 Re: Do not scan index in right table if condition for left join evaluates to false using columns in left table
Previous Message Michael Paquier 2026-06-30 08:07:55 Re: Add per-backend lock statistics