Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBybA-00000003UIk-08CF for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Sep 2026 18:00:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xByb8-00000003VJU-05nT for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Sep 2026 18:00:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xByb7-00000003VJC-3C5P for pgsql-bugs@lists.postgresql.org; Wed, 30 Sep 2026 18:00:05 +0000 Received: from mail-wm2-x11.google.com ([2a00:1450:4864:31::11]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1xByb6-000000024jZ-0As6 for pgsql-bugs@lists.postgresql.org; Wed, 30 Sep 2026 18:00:04 +0000 Received: by mail-wm2-x11.google.com with SMTP id 5b1f17b1804b1-49e7d2bb404so9600905e9.1 for ; Wed, 30 Sep 2026 11:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790791202; x=1791396002; darn=lists.postgresql.org; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:content-type:from:to:cc :subject:date:message-id:reply-to:content-type; bh=LBir90mcuyE7otL/DnpcLerTCccTQOvVsU8et3Dwz7I=; b=fsmBclXYMGBIZDtxlHEvRdQ1JU0f0BCuOFpoJmEYpe30fyhi2UvZGR5U4MRxghHWLe BuX94WMC6zxO2/ATnannciSx4BUxb2/73+niYgLRzPqemk0EaMZeXePiM++2ldgPKwIx vR96KWmDSW1yKR62cVBFqDE1RnB8Vir3ly+9jrBR8LvNDkuHF1IkumVegx/mRyDOsAHH Mx6LAIf1FJluVBVEahlZ09T/iQshWcm/DTi7r171nHQQU8j2gomhc7sYfToyTXCIJrki 7aC31M0/ccUu63aFnoe2U3OfVa5ANHu5FgW0gBlbhiwmbg1tkrvs6Zb6U2x1tBOnwn8o GwGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790791202; x=1791396002; h=in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=LBir90mcuyE7otL/DnpcLerTCccTQOvVsU8et3Dwz7I=; b=AycMFeVTQXZVrTEaoyc9UmqtOIAeb++M4tcMesEeq/621D4ZRsEhmPE7NEwJtaK4Wm JM0DIOJGTzJIGI+fFAl7I0TPSR0igOdeKOJViiqzRk3jU5wXJKQuqQUj32d/fU0w1HXi s7msYqU8KgnrlEV1R3YWiJUwjsFT0k32ZQFLtm36052POH6JOvOwuBm52btON8zdP7Sj AYwSJUHCpd66od6KKAz0igZUUeMcC12Ohmt7/zBufTdhAX/5J6+zx4F7C7xCuEK+rF2q 6HuI2UU7XR7bIGJvVcUjmCL6mrdMLUbq14WcwO2VeMUT3gpUNF1Oc0H60+1udH6iJvMK ShBA== X-Forwarded-Encrypted: i=1; AKwUvBzRj9G4gweqvp2njSvDb2PjDnpjKtMG24rsOXm1/1eoA6LzLnPGZiTc1xToQvz0cH4Xlql60B3jURUg@lists.postgresql.org X-Gm-Message-State: AFuF++lQrylgWPiJDnOC5wIOOIWx4fYslDqGrO49cnAdxjZlum2vPw9E 5UVLKxGapmjWnKvtcOZu30xnJrq4RALBiEj2FR4rw2oQzqA+ldpQvFum X-Gm-Gg: AYBFou0fYdhZU7ncL2cecHd7E4j+fABtCiRU/xhqXN+Qa8hIfE9FX0khT7fvEWIoBea YkCC0MfN7EEw+E5QHtT8PbNaavuSzqQ+lS9XyleDQYIm+s3Bi2rnS099BHHXyk5XqKvxaIsMKs/ xmHkUY+x1maZlm/4G2BlW7erjND1Yikodag3311thfC7Yzb9qM/BqTTxt6f+GCifvHbT5KwrZFd jFQ9jFvNPpw+otZoQF/tMiDir/9VkpcNmWTp0gE9qERCPyIJ0vQs4mV1zW6burHIzAm+1r9vsT8 yZpP3rKykN7ElxB5CtcXUNFCBJT4n24yP4TMT7YkG06ETK/kaI+Xbhmf+fhSYyhYBBc+e3QqXNF dq6rnJtYmuRPHzgDFs19Jb9ZzysFUbJF2/ZxiD6481xlE1SFFxVwnhU3lBp5cVsl4ap7QQt5b6g fYTTgfMoE7duMQNHRPFahP5DnVQ9XZhj+2P+6F0pPO8h5C18Ri/Thfr8lKKwMmbRQqytJ9Tj291 wgYcIwfAmk= X-Received: by 2002:a05:600c:1c16:b0:4a0:25c:8ad2 with SMTP id 5b1f17b1804b1-4a01eb04367mr8294415e9.9.1790791201574; Wed, 30 Sep 2026 11:00:01 -0700 (PDT) Received: from [192.168.0.50] ([89.149.68.133]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a01ebadfdfsm8072605e9.14.2026.09.30.11.00.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 30 Sep 2026 11:00:01 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------v8EB5j4JXfzYuPVS5MUJmAm6" Message-ID: Date: Wed, 30 Sep 2026 21:00:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Postmaster crashes on SIGHUP when oauth_validator_libraries holds only whitespace To: Daniel Gustafsson Cc: Jacob Champion , Jurij Grigorev , pgsql-bugs@lists.postgresql.org References: <0AED2C72-15A8-4ABC-90D2-88BE46BA1B6E@yesql.se> <49829846-44AA-4811-BC54-B5734B200655@yesql.se> Content-Language: en-US From: Alexander Lakhin In-Reply-To: <49829846-44AA-4811-BC54-B5734B200655@yesql.se> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------v8EB5j4JXfzYuPVS5MUJmAm6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------v8EB5j4JXfzYuPVS5MUJmAm6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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
--------------v8EB5j4JXfzYuPVS5MUJmAm6--