Below is the error stack during 'make test': PERL_DL_NONLAZY=1 /usr/local/bin/perl5.8.0 "-MExtUtils::Command::MM" " +-e" "test_harness(0,'blib/lib', 'blib/arch')" t/*.t t/1....Can't undef active subroutine during global destruction. dubious Test returned status 255 (wstat 65280, 0xff00) after all the subtests completed successfully Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------- +--------- t/1.t 255 65280 176 0 0.00% ?? Failed 1/1 test scripts, 0.00% okay. 0/176 subtests failed, 100.00% ok +ay. make: *** [test_dynamic] Error 2

This is the FAIL report that I keep getting about Attribute::Property. I guess some Perl bug is involved, but before I report one I'd like to know a bit more.

All FAIL reports were sent by machines that use a threaded 5.8.0, so perhaps it has something to do with threading. Attribute::Property does not use threads, though.

The tests do not fail, as you can see: all 176 tests succeed, and then it dies during global destruction. Because global destruction is something internal to Perl, I can't control or debug this error.

If you have any information that could help me fix or work around this problem, or if you can explain why it goes wrong, please do so.

If you have both a threaded and a threadless Perl, please "make test" for Attribute::Property and let me know if both perls failed or only one did.

Thanks!

Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).


In reply to Can't undef active subroutine during global destruction in threaded 5.8.0 by Juerd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.