Access violation writing 0x0000000000000000 when connecting to PostgreSQL server in pgAdmin 9.18 on Windows 10
Steps to reproduce the behavior:
-
Start pgAdmin 4 9.18 in Desktop mode on Windows 10.
-
Select an existing registered PostgreSQL server.
-
Attempt to connect to the server.
-
Enter the password in the "Connect to Server" dialog and click "OK".
-
The connection fails and the following error is displayed:
exception: access violation writing 0x0000000000000000
The issue started after upgrading to pgAdmin 4 version 9.18.
The connection worked correctly on pgAdmin 4 9.17
Error message
Full error message displayed by pgAdmin:
exception: access violation writing 0x0000000000000000
The same message is also visible in the Query Tool "Messages" tab.
Desktop (please complete the following information):
- OS: Windows 10 22H2, build 19045
- pgAdmin version: 9.18
- Mode: Desktop
- Package type: Windows x64 installer
- Python Version: 3.13.14
- Electron Version: 44.3.0
- Chromium/Chrome Version: 152.0.7977.78
- Commit: f09776c
Additional context
The issue appeared after installing/upgrading to pgAdmin 4 9.18.
The error occurs when pgAdmin attempts to establish a PostgreSQL connection. Instead of receiving a normal PostgreSQL connection/authentication error, pgAdmin reports a native access violation:
exception: access violation writing 0x0000000000000000
"Save Password" is not enabled.
The registered PostgreSQL server configuration already existed before the upgrade.
Access violation writing 0x0000000000000000 when connecting to PostgreSQL server in pgAdmin 9.18 on Windows 10
Steps to reproduce the behavior:
Start pgAdmin 4 9.18 in Desktop mode on Windows 10.
Select an existing registered PostgreSQL server.
Attempt to connect to the server.
Enter the password in the "Connect to Server" dialog and click "OK".
The connection fails and the following error is displayed:
exception: access violation writing 0x0000000000000000The issue started after upgrading to pgAdmin 4 version 9.18.
The connection worked correctly on pgAdmin 4 9.17
Error message
Full error message displayed by pgAdmin:
exception: access violation writing 0x0000000000000000The same message is also visible in the Query Tool "Messages" tab.
Desktop (please complete the following information):
Additional context
The issue appeared after installing/upgrading to pgAdmin 4 9.18.
The error occurs when pgAdmin attempts to establish a PostgreSQL connection. Instead of receiving a normal PostgreSQL connection/authentication error, pgAdmin reports a native access violation:
exception: access violation writing 0x0000000000000000"Save Password" is not enabled.
The registered PostgreSQL server configuration already existed before the upgrade.