Syntactic Confectionery Delight | |
PerlMonks |
debugging a raceby geoffleach (Scribe) |
on Nov 24, 2011 at 18:08 UTC ( [id://939928]=perlquestion: print w/replies, xml ) | Need Help?? |
geoffleach has asked for the wisdom of the Perl Monks concerning the following question:
I'm debugging the tests of a large package of modules that interface to an even-larger C++ package. It was going well until some previously-passing tests began to fail. I profiled a test in an attempt to locate the failure, and --surprise-- the test passed. From this I conclude that there's a race condition somewhere.
No threads. Given that races tend to be highly context sensitive, I'm looking for hints. Here's the test driver
Result is "not ok" . With -d:DProf its "ok" My perl5 (revision 5 version 12 subversion 4) configuration: osname=linux, osvers=2.6.32-131.2.1.el6.x86_64, archname=i386-linux-thread-multi
Back to
Seekers of Perl Wisdom
|
|