[resending... for some reason, this didn't go through this morning...] On Jun 22, 2006, at 7:45 AM, Sergei Serdyuk wrote:
>> If I were to wish for something in coming Ferret, I'd wish >> "stability". >> I am getting seg_faults every other time I am doing this: Dave, I see you've done some work with Valgrind, but I'm not sure how much. To catch errors and memory leaks with KinoSearch, I wrote up a simple script that runs the whole test suite under Valgrind. The test suite takes around 15 minutes to run that way instead of 9 seconds (on the one box where I have Valgrind available), so I only run it rarely -- always when preparing a release, and sometimes when debugging new or refactored C code. Some of the code in KinoSearch's test suite doesn't even produce output; it's just there to exercise an area where there might be memory problems. Do you have something like that going on with Ferret? It's been extremely helpful for me. I don't think I've seen a single segfault bug report since KinoSearch was released, though I have missed a couple memory leaks because the Valgrind output can be a little hard to interpret (there are a few harmless items in Perl that look like memory leaks to Valgrind, which makes real leaks harder to spot). Marvin Humphrey Rectangular Research http://www.rectangular.com/ _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

