Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kUDRX-0004WH-Rc for pgsql-hackers@arkaria.postgresql.org; Sun, 18 Oct 2020 18:30:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kUDRW-0002dc-PS for pgsql-hackers@arkaria.postgresql.org; Sun, 18 Oct 2020 18:30:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kUDRW-0002aC-F4 for pgsql-hackers@lists.postgresql.org; Sun, 18 Oct 2020 18:30:06 +0000 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kUDRU-0003VC-AI for pgsql-hackers@lists.postgresql.org; Sun, 18 Oct 2020 18:30:06 +0000 Received: by mail-lf1-x12c.google.com with SMTP id b1so10540636lfp.11 for ; Sun, 18 Oct 2020 11:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=29hbA8KJput7mjPRIbL57rRK7kmpD8TPUT99pC324PA=; b=S2Jx7WLZDUqLY0VN17pe3P8b8rrLqzisMXVFY8PpQPoACwsmRn8dARw2JA4WYJUhNB mHcqStehn/ThJBaWX8W1K+4iG3e4+lKPy7ogST6pRSLcyyoXZx288xTWcVMG7u3KlU3N 6Usd5WKyl6OiLpFGiiBmJZn4dBAcfF8kfJGCmRXjLuiV3s0ol895PGQReUXwL/7k9P+n bfJ1u+IBwsPamgtPIl/L/7S7nc7qBLj/HoB1S5hTRsyJfw6emR+3ENQKmnQXUMlnFxIk XTxpU1Ym1B+WfGvtnTQM5OFo+/2s772MVgQ5ESVP76HQ8jMwVTXqEP/0G/BKBPEH+QXh aIqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=29hbA8KJput7mjPRIbL57rRK7kmpD8TPUT99pC324PA=; b=UT8J9PODctKXgcudWDToEb2djVIxMUk0VvVqmeLuc7aRDsZmCqI+P8l67B2I2q+ZhZ mxvRua3ayeiyjl1/ltmzNMQAnNwCTFeV9qwvoXrf+cV2iKctDJftGhSF1jYxiRkUHiNF jyWeVXpMH62Z3xjF3SGU/iCVRBHmqWZE+yCDc+IASRVt0+BKKx/FeFQHphYoDD6NCzq7 PcpVhN8b6rhNzQiUC6BxXnCiBhNItAKo84ZmFwU9OIzHXiufmqsEY61TZbKCDfppt5WT f9rKQJ6RbWAJO+ucDZGUibzFTy04frYmvUMVftlXTYlJUFjJt0QTzLYJ6CveCKpx8QMv zUXg== X-Gm-Message-State: AOAM5305vaC4r56m6Z3gukWvvaZj9pea60ZW0ighTOyExv8AXHypWDdj nan/bsmWUUCdAIVFKmh7oVO7yx9Nt20= X-Google-Smtp-Source: ABdhPJx3ztQAeS4Zd2teOHVAdWtlyR3UYV8/4E3vskU8ahUzUR4zvAE/dWs3MSIKQRrhOb0P0JTTgg== X-Received: by 2002:a05:6512:48e:: with SMTP id v14mr4673801lfq.359.1603045802418; Sun, 18 Oct 2020 11:30:02 -0700 (PDT) Received: from [1.0.0.7] ([178.155.6.49]) by smtp.gmail.com with ESMTPSA id j17sm3187510ljg.82.2020.10.18.11.30.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Oct 2020 11:30:01 -0700 (PDT) Subject: Re: Sometimes the output to the stdout in Windows disappears To: Tom Lane Cc: Victor Spirin , pgsql-hackers@lists.postgresql.org References: <4124040.1598898684@sss.pgh.pa.us> <855416.1600022228@sss.pgh.pa.us> <4156857.1602865112@sss.pgh.pa.us> <117919.1602949857@sss.pgh.pa.us> <132799.1602960277@sss.pgh.pa.us> <229665.1603044291@sss.pgh.pa.us> From: Alexander Lakhin Message-ID: <6480912b-c0e8-c153-a8b1-0d64b16f9cb9@gmail.com> Date: Sun, 18 Oct 2020 21:30:01 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <229665.1603044291@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 18.10.2020 21:04, Tom Lane wrote: > Alexander Lakhin writes: >> @@ -0,0 +1 @@ >> +SQL error: descriptor "mydesc" not found on line 31 > does not look like the same kind of failure as what we've been dealing > with up to now. So maybe what we've got is that we fixed the stdio > loss problem, and now the error rate is down to the point where we can > notice other, even-lower-probability issues. Yes, in this case stderr is not missing (it's present with the error). So it's really different case. As is another one: test connect/test5                ... stderr FAILED      238 ms diff -w -U3 .../src/interfaces/ecpg/test/expected/connect-test5.stderr .../src/interfaces/ecpg/test/results/connect-test5.stderr --- .../src/interfaces/ecpg/test/expected/connect-test5.stderr    2020-10-13 21:51:14 +0300 +++ .../src/interfaces/ecpg/test/results/connect-test5.stderr    2020-10-18 20:59:46 +0300 @@ -73,7 +73,9 @@  [NO_PID]: sqlca: code: -220, state: 08003  [NO_PID]: ECPGconnect: opening database on port   for user regress_ecpg_user2  [NO_PID]: sqlca: code: 0, state: 00000 -[NO_PID]: ECPGconnect: could not open database: FATAL:  database "regress_ecpg_user2" does not exist +[NO_PID]: ECPGconnect: could not open database: server closed the connection unexpectedly +    This probably means the server terminated abnormally +    before or while processing the request. and the server.log: 2020-10-18 20:59:45.731 MSK client backend[1380] ecpg/connect-test4 LOG:  could not receive data from client: An existing connection was forcibly closed by the remote host.     2020-10-18 20:59:45.898 MSK client backend[2884] [unknown] FATAL:  database "regress_ecpg_user2" does not exist 2020-10-18 20:59:45.992 MSK client backend[1640] [unknown] FATAL:  database "regress_ecpg_user2" does not exist I just wanted to inform that the ECPG-test failures can still persist in the buildfarm, unfortunately. Best regards, Alexander