Re: strange valgrind reports about wrapper_handler on 64-bit arm

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Tomas Vondra <tomas(at)vondra(dot)me>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: strange valgrind reports about wrapper_handler on 64-bit arm
Date: 2025-03-09 02:16:49
Message-ID: Z8z6EaT89FL7UUBU@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 08, 2025 at 11:48:22PM +0100, Tomas Vondra wrote:
> Shortly after restarting this I got three more reports - all of them are
> related to strcoll_l. This is on c472a18296e4, i.e. with the asserts
> added in this thread etc. But none of those seem to fail.

> ==189168== at 0xA683CC: wrapper_handler (pqsignal.c:90)
> ==189168== at 0xA683F0: wrapper_handler (pqsignal.c:91)
> ==189168== at 0xA684D4: wrapper_handler (pqsignal.c:110)

This appears to refer to the following lines:

Assert(postgres_signal_arg > 0);
Assert(postgres_signal_arg < PG_NSIG);
(*pqsignal_handlers[postgres_signal_arg]) (postgres_signal_arg);

The common ingredient seems to be postgres_signal_arg. I haven't found
anything else that seems helpful.

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2025-03-09 02:20:54 Re: Commitfest app release on Feb 17 with many improvements
Previous Message Nathan Bossart 2025-03-09 01:35:18 Re: Clarification on Role Access Rights to Table Indexes