This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients amaury.forgeotdarc, farshad, vstinner
Date 2008-11-21.14:23:17
SpamBayes Score 0.0028182482
Marked as misclassified No
Message-id <1227277398.76.0.13521260518.issue4358@psf.upfronthosting.co.za>
In-reply-to
Content
> The application is a web service with postgresql backend, so it
> heavily uses pyexpat and pygresql in a threaded environment.

pyexpat or pygresql is maybe not thread safe. To catch such error, you 
have to use Valgrind. And to use Valgrind, you have to recompile 
Python with the define "Py_USING_MEMORY_DEBUGGER": read 
Misc/valgrind.supp (comments at the top). Then, 
use "valgrind --suppressions=Misc/valgrind.supp <your program> 
<arguments...>". You might also try 
helgrind: "valgrind --tool=helgrind --suppressions=Misc/valgrind.supp 
<your program> <arguments...>".

Note: remember me to translate this article to english!
http://www.haypocalc.com/blog/index.php/2008/08/22/160-deboguer-programme-python-avec-gdb
History
Date User Action Args
2008-11-21 14:23:19vstinnersetrecipients: + vstinner, amaury.forgeotdarc, farshad
2008-11-21 14:23:18vstinnersetmessageid: <1227277398.76.0.13521260518.issue4358@psf.upfronthosting.co.za>
2008-11-21 14:23:18vstinnerlinkissue4358 messages
2008-11-21 14:23:17vstinnercreate