Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j4sY4-0005zy-US for pgsql-general@arkaria.postgresql.org; Thu, 20 Feb 2020 20:35:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j4sY3-0004ai-Of for pgsql-general@arkaria.postgresql.org; Thu, 20 Feb 2020 20:35:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j4sY3-0004Yc-EZ for pgsql-general@lists.postgresql.org; Thu, 20 Feb 2020 20:35:51 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.125]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j4sY1-0000Qj-9N for pgsql-general@postgresql.org; Thu, 20 Feb 2020 20:35:51 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 659691D6C for ; Thu, 20 Feb 2020 22:35:48 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 063PFqwQmm60 for ; Thu, 20 Feb 2020 22:35:46 +0200 (EET) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 1B27F1D65 for ; Thu, 20 Feb 2020 22:35:46 +0200 (EET) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost1.estpak.ee (Postfix) with ESMTPSA id 48NmZB0LxZz2Zd for ; Thu, 20 Feb 2020 22:35:44 +0200 (EET) Message-ID: From: "Andrus" To: "pgsql-general" Subject: How to fix 0xC0000005 exception in Postgres 9.0 Date: Thu, 20 Feb 2020 22:35:20 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1257"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi! Every time when user tries to log on from same virtual computer where Postgreql resides, Postgres terminates with 0xC0000005 exception. Log is below. About 65 users are accessing this server over VPN. They can use server normally. Logging from localhost using pgadmin 4 with user postgres also works. Only any attempt to log on from localhost with user dbadmin from psqlODBC client causes this exception. It has worked normally for many years but now suddenly stopped working for localhost. How to fix this ? Server: PostgreSQL 9.0.4, compiled by Visual C++ build 1500, 64-bit OS: Windows server 2008 R2 Version 6.1 Build 7601 Andrus. Postgres log: 2020-02-20 15:44:51 EET LOG: server process (PID 3788) was terminated by exception 0xC0000005 2020-02-20 15:44:51 EET HINT: See C include file "ntstatus.h" for a description of the hexadecimal value. 2020-02-20 15:44:51 EET LOG: terminating any other active server processes 2020-02-20 15:44:51 EET andrus mydatabase WARNING: terminating connection because of crash of another server process 2020-02-20 15:44:51 EET andrus mydatabase DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-02-20 15:44:51 EET andrus mydatabase HINT: In a moment you should be able to reconnect to the database and repeat your command. 2020-02-20 15:44:51 EET kati mydatabase WARNING: terminating connection because of crash of another server process 2020-02-20 15:44:51 EET kati mydatabase DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-02-20 15:44:51 EET kati mydatabase HINT: In a moment you should be able to reconnect to the database and repeat your command. 2020-02-20 15:44:51 EET julia mydatabase WARNING: terminating connection because of crash of another server process 2020-02-20 15:44:51 EET julia mydatabase DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-02-20 15:44:51 EET julia mydatabase HINT: In a moment you should be able to reconnect to the database and repeat your command. 2020-02-20 15:44:51 EET reinpuu mydatabase WARNING: terminating connection because of crash of another server process 2020-02-20 15:44:51 EET reinpuu mydatabase DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-02-20 15:44:51 EET reinpuu mydatabase HINT: In a moment you should be able to reconnect to the database and repeat your command. 2020-02-20 15:44:51 EET kokka mydatabase WARNING: terminating connection because of crash of another server process 2020-02-20 15:44:51 EET kokka mydatabase DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-02-20 15:44:51 EET kokka mydatabase HINT: In a moment you should be able to reconnect to the database and repeat your command. 2020-02-20 15:44:51 EET myll mydatabase WARNING: terminating connection because of crash of another server process 2020-02-20 15:44:51 EET myll mydatabase DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-02-20 15:44:51 EET myll mydatabase HINT: In a moment you should be able to reconnect to the database and repeat your command. 2020-02-20 15:44:51 EET WARNING: terminating connection because of crash of another server process 2020-02-20 15:44:51 EET DETAIL: The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory. 2020-02-20 15:44:51 EET HINT: In a moment you should be able to reconnect to the database and repeat your command. 2020-02-20 15:44:51 EET dbadmin mydatabase FATAL: the database system is in recovery mode 2020-02-20 15:44:51 EET LOG: all server processes terminated; reinitializing 2020-02-20 15:45:01 EET FATAL: pre-existing shared memory block is still in use 2020-02-20 15:45:01 EET HINT: Check if there are any old server processes still running, and terminate them.