We have a elusive leak in DBI instrastructure that only happens in some kind
of DBI modules. In SUSE Enterprise and RedHat Enterprise works fine, but we
have problems in Ubuntu, Debian, Suse Pro, etc... This problem is now
You need to patch and rebuild your DBI.xs from DBI sources. This problem was
solved Jun 16th by Doru Theodor Petrescu.
diff -uBbr orig/DBI-1.51/DBI.xs DBI-1.51/DBI.xs
--- orig/DBI-1.51/DBI.xs 2006-06-06 12:49:13.000000000 +0300
+++ DBI-1.51/DBI.xs 2006-06-12 16:26:52.000000000 +0300
@@ -1069,6 +1069,8 @@
SV *sv = av_shift(av);
+ sv_free(sv); /* keep it leak-free by Doru Petrescu
Apply the patch:
patch DBI.xs /tmp/patch_dbi.patch
Build your DBI install
root@...:~/.cpan/build/DBI-1.51# perl Makefile.PL
Tested with debian and ubuntu and works fine !!, no more leaks !
C339 2886 D5E3 24E7 BC3E 2A62 5653 9A2B 3EBE C61E
Get latest updates about Open Source Projects, Conferences and News.