Re: psycopg2 2.0.8 - segmentation fault

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <[email protected]>
Il giorno lun, 23/03/2009 alle 23.27 +0530, Gangadharan S.A. ha scritto:
> The application runs fine for sometime and then crashes with this
> backtrace (pasted at the bottom). I am unable to reliably reproduce
> this issue right now. Just that it happens within an hour or 2 of
> starting this application.  The application creates and closes db
> connections frequently and does various queries. From the logs, there
> does not seem to be any correlation between a particular action and
> the crash.
> 
> I noticed that this issue or something very similiar was fixed in
> psycopg2 2.0.8 http://initd.org/pub/software/psycopg/ChangeLog-2.0 :
> 
> "* psycopg/pqpath.c (pq_complete_error): get rid of double free
>         error in case when pgres is NULL."

It would really helpful if you could compile psycopg with debug symbols
and run it on a Python with debug symbols. Also please set PSYCOPG_DEBUG
in the environment and send me the log, a backtrace with symbols and
anything else you think would help to fix the problem.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
 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 mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAknIkcoACgkQvcCgrgZGjevGogCfY1h9nNvZtVME/JLxArZm5iuf
5XoAn17+NgD6pa/AC/jn6Jlpkj9cRCky
=wTrw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.