agora inbox for pgsql-bugs@postgresql.org  
help / color / mirror / Atom feed
From: Alexander Lakhin <exclusion@gmail.com>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: Jurij Grigorev <ju.grigorev@ftdata.ru>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace
Date: Wed, 30 Sep 2026 21:00:00 +0300
Message-ID: <a37a3cea-5bd8-4385-a1d4-bb89394c079c@gmail.com> (raw)
In-Reply-To: <49829846-44AA-4811-BC54-B5734B200655@yesql.se>
References: <0AED2C72-15A8-4ABC-90D2-88BE46BA1B6E@yesql.se>
	<49829846-44AA-4811-BC54-B5734B200655@yesql.se>

Hello Daniel,

18.09.2026 01:24, Daniel Gustafsson wrote:
> Pushed with tiny bits of tweaking and with a backpatch down to 18. Thanks!
>
> ./daniel

The test addition coined with bca67e5a3 is not very robust,
unfortunately. Buildfarm animal serinus found a way to break it [1]
as below:
#   Failed test 'oauth_validator_libraries restored'
#   at /home/bf/bf-build/serinus/HEAD/pgsql/src/test/modules/oauth_validator/t/001_server.pl line 152.
#          got: '   '
#     expected: 'validator'
# Looks like you failed 1 test of 171.

I've managed to reproduce this locally with a sleep:
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -569,6 +569,7 @@ ProcessConfigFileInternal(GucContext context, bool applySettings, int elevel)
item->name, item->value)));
                         }
                         item->applied = true;
+pg_usleep(100000);
                 }
                 else if (scres == 0)
                 {

It makes oauth_validator/001_server fail deterministically for me.

Could you take a look, please?

[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=serinus&dt=2026-09-29%2013%3A57%3A41

Best regards,
Alexander

view thread (12+ messages)  latest in thread

Message-ID: <a37a3cea-5bd8-4385-a1d4-bb89394c079c@gmail.com>
Permalink:  ../a37a3cea-5bd8-4385-a1d4-bb89394c079c@gmail.com/
Also on:    postgresql.org/message-id/a37a3cea-5bd8-4385-a1d4-bb89394c079c@gmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: exclusion@gmail.com, daniel@yesql.se, jacob.champion@enterprisedb.com, ju.grigorev@ftdata.ru, pgsql-bugs@lists.postgresql.org
  Subject: Re: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace
  In-Reply-To: <a37a3cea-5bd8-4385-a1d4-bb89394c079c@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox