This project is archived and is in readonly mode.
segfault reading isolation_level on closed connection
-
flox
>>> sys.version '2.6.6 (r266:84292, Sep 15 2010, 16:22:56) \n[GCC 4.4.5]' -
flox
Seems fixed with the @devel branch.
>>> >>> import psycopg2 as pg >>> print pg.__version__ 2.4.3.dev0 (dt dec pq3 ext) >>> cnx = pg.connect(dsn=dsn) >>> cnx.close() >>> cnx.isolation_level Traceback (most recent call last): File "<stdin>", line 1, in <module> psycopg2.OperationalError: connection pointer is NULL >>> -
Daniele Varrazzo
- State changed from new to open
Yes, but there is still a missing check somewhere: it needs a better message. Thanks for reporting.
-
Daniele Varrazzo
- State changed from open to resolved
Bug fixed, added proper check for connection closed, thank you for the report.
By the way, sorry for having made you wait 10 days: I don't receive email notification for new tickets opened by Lighthouse users, but I receive them from bugs open on the web interface. I've reported the issue one year ago (http://help.lighthouseapp.com/discussions/problems/2122-email-notif...) but it hasn't been fixed yet.