Re: double free issue in 2.4 (and previous versions) - Mailing list psycopg

From Federico Di Gregorio
Subject Re: double free issue in 2.4 (and previous versions)
Date
Msg-id 4D8C5EC2.6050200@dndg.it
Whole thread Raw
In response to double free issue in 2.4 (and previous versions)  ("Gavin M. Roy" <gmr@myyearbook.com>)
List psycopg
On 18/03/11 19:31, Gavin M. Roy wrote:
> Running into "python: double free or corruption " that causing my app to
> terminate while doing inserts. It seems to happen when inserts are
> happing at a fairly high velocity. I've included some info that might be
> helpful in tracking it down.  From the info, it looks like it may be on
> returning a ProgrammingError but I do not receive any errors in the
> PostgreSQL logs and the query that is executed right before the double
> free or corruption issue completes in Postgres without problem. 100% of
> queries are inserts and the debug output compared to the database
> validates the last command executed is successful.
>
> Does anyone have any suggestions?

First of all enable debug logging in setup.cfg to get an exact trace of
what psycopg is doing just before the crash and send it to this list. Also:

- which psycopg version are you using?
- is your application multithreaded?
- can you provide us the code that crashes? (not everything but a small
  enough piece of code that reproduce the error)

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
 I did appreciate the irony that I was whining about encoding issues on
  a mailing list that was unable to show those chars, too.
                                 -- Antti S. Lankila to mono-devel-list@

psycopg by date:

Previous
From: Jerry Schneider
Date:
Subject: Re: Different responses to description request between Mac and Linux
Next
From: Daniele Varrazzo
Date:
Subject: Stuff for 2.4.1