Re: "double free" segfault back in pyscopg2 2.5

Поиск
Список
Период
Сортировка
От Gangadharan S.A.
Тема Re: "double free" segfault back in pyscopg2 2.5
Дата
Msg-id -5211100401285290505@unknownmsgid
обсуждение исходный текст
Ответ на Re: "double free" segfault back in pyscopg2 2.5  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Ответы Re: "double free" segfault back in pyscopg2 2.5  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
Thanks! Yes, this change should fix the issue - and it did in my testing.

Do we know of a rough esitmate on when this will be released as a version?


On 20-Jun-2013, at 9:12 PM, Daniele Varrazzo <daniele.varrazzo@gmail.com> wrote:

> On Thu, 2013-06-20 at 19:34 +0530, Gangadharan S.A. wrote:
>
>> The fix would be to call conn_close after untracking the object in
>> connection_type.c:connection_dealloc().
>
> Pushed correction at
> https://github.com/dvarrazzo/psycopg/commit/889b1d826e9cf0ecbc9af938bad72937592af5e4
>
> Is this enough to consider the issue fixed?
>
> I've checked other destructors and we untrack the object before any
> other operation in all the objects.
>
> Thanks
>
>
> --
> Daniele
>
>
>
> --
> Sent via psycopg mailing list (psycopg@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/psycopg

В списке psycopg по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: "double free" segfault back in pyscopg2 2.5
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: "double free" segfault back in pyscopg2 2.5