Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Apparent race condition in psycopg2

#58

Submitted by: tgl@sss.pgh.pa.us

There's a report at https://bugzilla.redhat.com/show_bug.cgi?id=711095 of an apparent race condition in psycopg2: it neglects to increment a refcount while waiting for a query to execute, which means that a python garbage collection in another thread can cause a crash. Or at least that's Dave Malcolm's theory of what's happening. I'd appreciate your opinion on it. (If you can, please either add a comment to that bugzilla entry, or reply to me by email.)

Reported by Psycopg website · June 6th, 2011 @ 08:29 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. Daniele Varrazzo
    Daniele Varrazzo
    • State changed from new to resolved

    Thanks for the report. Fixed in devel. To be released. in 2.4.2.

    June 7th, 2011 @ 08:27 AM