On May 16, 2007, at 7:37 AM, Marvin Humphrey wrote:

On May 15, 2007, at 11:14 AM, Xavier Noria wrote:

A tester reported the failure and I can reproduce it in my Mac with 5.6.2.

Do you have access to a Linux box with Valgrind on it? I think your best bet will be to use valgrind to track down exactly where the error is happening.

Thank you!

Fortunately the tester that reported the problem (David Cantrell) is so kind as to provide a SSH account on his Linux.

Indeed, if I run the test under Valgrind in 5.6.2 there's a

==15955== Invalid write of size 4
==15955== at 0x4A0829D: __next_partition_of_size_p (in /home/ perluser/FXN/Algorithm-Combinatorics-0.22/blib/arch/auto/Algorithm/ Combinatorics/Combinatorics.so)

But in 5.8.8 it completes the test, the only errors come at the beginning and seem to be unrelated to the module (reported about Perl_runops_standard). There were some under 5.6.2 like those as well, but much less.

Diffing the Combinatorics.c generated by each perl the only differences seem to be calls to PERL_UNUSED_VAR() in 5.6.2

#ifndef PERL_UNUSED_VAR
#  define PERL_UNUSED_VAR(var) if (0) var = var
#endif

that are not generated by 5.8.8. Looks harmless, hmmmmmmm.

-- fxn

Reply via email to