-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Description
Hello - I've started experiencing crashing with psycopg on Windows 11 starting from version 3.2.8. When attempting to use psycopg.connect, I get a short delay and then a "Windows fatal exception: access violation".
Running this (with python -X dev):
import psycopg
conn = psycopg.connect(host="my.host", user="username", password="password", dbname="db")I get this output and a crash:
Windows fatal exception: access violation
Current thread 0x00002938 (most recent call first):
File "M:\Python\testenv\Lib\site-packages\psycopg\_connection_base.py", line 436 in _connect_gen
File "M:\Python\testenv\Lib\site-packages\psycopg\waiting.py", line 97 in wait_conn
File "M:\Python\testenv\Lib\site-packages\psycopg\connection.py", line 105 in connect
File "<stdin>", line 1 in <module>
This is on a fresh venv, with the only install being psycopg[binary] version 3.2.8. I've tested with Python 3.11, 3.12 and 3.13 and get the same result.
Running the same thing with psycopg version 3.2.7 gives no issue at all.
Happy to provide any extra information or output that may be helpful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels