FAQ
A bit ago I tried to install the Coro module, and found that it didn't
work on 5.12.1 with -DDEBUGGING. The maintainer said that he'd given
up on supporting DEBUGGING. I chalked it up to the low-level and
basically cheating nature of what Coro does, and carried on.

But today I found that Devel::Size::Report also fails with DEBUGGING,
and with a similar assertion:

t/02_report.t ... 1/43 perl: av.c:776: Perl_av_len: Assertion
`((svtype)((av)->sv_flags & 0xff)) == SVt_PVAV' failed.

I'm sorry if this is a known problem but ... is this a known problem?
Does DEBUGGING break the API, or are these modules cheating?

Search Discussions

  • Leon Timmermans at Sep 22, 2010 at 10:35 pm

    On Wed, Sep 22, 2010 at 11:50 PM, Chip Salzenberg wrote:
    A bit ago I tried to install the Coro module, and found that it didn't
    work on 5.12.1 with -DDEBUGGING.  The maintainer said that he'd given
    up on supporting DEBUGGING.  I chalked it up to the low-level and
    basically cheating nature of what Coro does, and carried on.

    But today I found that Devel::Size::Report also fails with DEBUGGING,
    and with a similar assertion:

    t/02_report.t ... 1/43 perl: av.c:776: Perl_av_len: Assertion
    `((svtype)((av)->sv_flags & 0xff)) == SVt_PVAV' failed.

    I'm sorry if this is a known problem but ... is this a known problem?
    Does DEBUGGING break the API, or are these modules cheating?
    Judging by it's CPAN Testers results* I would say the fact that
    Devel::Size::Report doesn't work for you on 5.12.1 doesn't say all
    that much. It doesn't have any positive result on anything higher than
    5.8.8. I could be you're really on to something, but given the current
    noise one can't distinguish much of a signal.

    Leon

    * http://matrix.cpantesters.org/?dist=Devel-Size-Report+0.13
  • Leon Timmermans at Sep 22, 2010 at 10:37 pm

    On Thu, Sep 23, 2010 at 12:35 AM, Leon Timmermans wrote:
    Judging by it's CPAN Testers results* I would say the fact that
    Devel::Size::Report doesn't work for you on 5.12.1 doesn't say all
    that much. It doesn't have any positive result on anything higher than
    5.8.8.
    Erm, let me rephrase that. It does say a lot, but not that there's
    anything wrong with -DDEBUGGING.

    Leon
  • Florian Ragwitz at Sep 22, 2010 at 10:44 pm
  • Reverend Chip at Sep 22, 2010 at 10:49 pm

    On 9/22/2010 3:43 PM, Florian Ragwitz wrote:
    Chip Salzenberg <rev.chip@gmail.com> writes:
    But today I found that Devel::Size::Report also fails with DEBUGGING,
    and with a similar assertion:

    t/02_report.t ... 1/43 perl: av.c:776: Perl_av_len: Assertion
    `((svtype)((av)->sv_flags & 0xff)) == SVt_PVAV' failed.
    Fwiw, that's quite a different assertion than the one you'll see with
    Coro and DEBUGGING:

    pp_ctl.c:2099: Perl_pp_leaveloop: Assertion `((char*)(my_perl->Iscopestack_name)[(my_perl->Iscopestack_ix)-1] == (char*)"loop1") || (!strcmp((my_perl->Iscopestack_name)[(my_perl->Iscopestack_ix)-1],"loop1"))
    Ack, different indeed. Thanks, & thanks Leon.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-porters @
categoriesperl
postedSep 22, '10 at 9:50p
activeSep 22, '10 at 10:49p
posts5
users3
websiteperl.org

People

Translate

site design / logo © 2021 Grokbase