[PEAK] Memleak in PEAK with Python 2.3.5 with ldap-module installed ?

Phillip J. Eby pje at telecommunity.com
Tue Apr 12 16:55:35 EDT 2005


At 07:40 PM 04/12/2005 +0200, Ulrich Eck wrote:
>Hi Phillip,
>
>i just upgraded to the latest cvs of PEAK and rerun the tests.
>
>
>at this test:
>...
>testMergeHistory (peak.storage.tests.test_undo.HistoryTests) ... ok
>testBasics (peak.storage.tests.test_undo.UndoTests) ... ok
>testUndoRedo (peak.storage.tests.test_undo.UndoTests) ... ok
>**checkConversions (peak.storage.tests.LDAP.LDAPSchemaTest) ...
>
>the process hangs and eats all mem and cpu.
>....
>what should i do to help you tracking down the problem ?

Edit the 'checkConversions()' method and add 'import pdb; pdb.set_trace()' 
so you get into the debugger.  Then single-step until you find the 
statement that hangs.  Rerun it and step to just before the hang, then get 
a stack trace ('w' command in pdb) and print any variables you think are 
relevant.




More information about the PEAK mailing list