develooper Front page | perl.perl5.porters | Postings from September 2010

Devel::Size::Report and Coro vs. 5.12.1 and DEBUGGING?

Thread Next
Chip Salzenberg
September 22, 2010 14:50
Devel::Size::Report and Coro vs. 5.12.1 and DEBUGGING?
Message ID:
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?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About