Message46129
Logged In: YES
user_id=413
DB_get and DBC_set_range were the two leaks that showed up in valgrind using the existing testsuite. however there were plenty more possible leak cases (most of them in odd situations like out of memory or passing a non DBTxn object in the txn parameter).
The most common trigger for a leak in various places would be an exception exit from a many functions when using integer keys (queue & recno databases). I have a patch which i believe fixes all of these and more after a lot of code inspection that i'll commit once my valgrind run finishes and reveals no bsddb related leaks or double frees. (ugh running valgrind -v --leak-check=yes ./python Lib/bsddb/test/test_all.py on a 5 year old laptop is slow...)
"manual memory management... how quaint." |
|
Date |
User |
Action |
Args |
2007-08-23 15:38:02 | admin | link | issue967763 messages |
2007-08-23 15:38:02 | admin | create | |
|