mpbarrett: Found mpbarrett_reduce hanging on this testcase.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 20 Feb 2007 00:04:39 +0000 (00:04 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 21 Feb 2007 12:37:38 +0000 (12:37 +0000)
commit185bea10867984c15fc32bd720adb49011f71b32
tree549fe9621b8d277569d6791b266c5e4293bc8f22
parentf923fb18f61544edebfdbc65270c9da4eb95f58b
mpbarrett: Found mpbarrett_reduce hanging on this testcase.

A Python program spun inside mpbarrett_reduce, attempting the
computation in this testcase.  The test program hung too, and debugging
it yielded the following information.  On entry, d and m were equal; for
some reason, in the MP_DEST call, d was being aliased to m again, even
though m was still active; of course, m/d now had refcount 1, and all
hell broke loose when m got dropped.

A ground-up rebuild made the problem go away, so maybe it was just fluff
in the build tree.  I'm leaving this test here anyway so that it'll
catch a return of the bug, and maybe I can investigate it more carefully
then.
tests/mpbarrett