Re: segmentation faults with psycopg2 and multiprocessing

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: Ryan Kelly <rpkelly22(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: segmentation faults with psycopg2 and multiprocessing
Date: 2012-09-28 22:48:54
Message-ID: CA+mi_8bkvWmeCEtAbJRPgiziCpdYDyrV4V31t40GxDgdcH0oKQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: psycopg

On Fri, Sep 28, 2012 at 10:43 PM, Ryan Kelly <rpkelly22(at)gmail(dot)com> wrote:

>> Ritual questions: what psycopg, postgres and python versions are?
> psycopg2: 2.4.2

Oh, there it is: it's a known issue, it has been fixed in 2.4.3. I've
missed it at a first scan of the git blame, but we were actually not
reacquiring the GIL before calling PyErr_Occurred().

Just bump to the latest psycopg version and everything should be fixed.

-- Daniele

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Ryan Kelly 2012-09-28 23:32:53 Re: segmentation faults with psycopg2 and multiprocessing
Previous Message Ryan Kelly 2012-09-28 21:43:05 Re: segmentation faults with psycopg2 and multiprocessing