Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Test failure for t/010_internals/200_leaktrace.t line 25 #73

Closed
myra opened this Issue · 6 comments

5 participants

myra FUJI Goro (gfx) David Steinbrunner Syohei YOSHIDA lestrrat
myra

When attempting to install Text::XSlate as a dependency for GraphViz2, the following test failure occurs. I get the same result from 1.5012 through 1.6002.

[myra@gandalf ~/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002]$ prove -lvbm t/010_internals/200_leaktrace.t
t/010_internals/200_leaktrace.t ..
not ok 1 - new() and render() (leaks 1 <= 0)

Failed test 'new() and render() (leaks 1 <= 0)'
at t/010_internals/200_leaktrace.t line 25.
'1'
<=
'0'

{.........}

Died at t/010_internals/200_leaktrace.t line 25.
Tests were run but no plan was declared and done_testing() was not seen.
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 1/1 subtests

Test Summary Report
t/010_internals/200_leaktrace.t (Wstat: 6400 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 25
Parse errors: No plan found in TAP output
Files=1, Tests=1, 2 wallclock secs ( 0.04 usr 0.00 sys + 1.92 cusr 0.00 csys = 1.96 CPU)
Result: FAIL

The rest of the test output is below the build log below.

System:
Linux gandalf 3.7.1-2-ARCH #1 SMP PREEMPT Thu Dec 20 17:57:00 CET 2012 x86_64 GNU/Linux
perl 5, version 16, subversion 2 (v5.16.2) built for x86_64-linux-thread-multi
gcc : 4.7.2-3
glibc : 2.17-1

installed requires:
Any::Moose : 0.20-1
Data-Messagepack : 0.46-1
Mouse : 1.04-1
parent : 0.225-1
Scalar::List::Util : 1.27-1 => contains Scalar::Util
perl : 5.16.2 => containes XSLoader=0.16

build_requires:
Devel::PPPort : 3.20
ExtUtils::MakeMaker: 6.59
Test::Simple : 0.98-1 => contains Test::More
Test::Requires : 0.06-1
File::Copy::Recursive : 0.38-2

configure_requires:
ExtUtils::MakeMaker : 6.63 => included with perl => 5.16.2
ExtUtils::ParseXS : 3.16 included with perl => 5.16.2
Devel::PPPort : 3.20

Build log.

Writing ppport.h
Checking if your kit is complete...
Looks good
Writing Makefile for Text::Xslate
Writing MYMETA.yml and MYMETA.json
/usr/bin/perl "-Iinc" /usr/share/perl5/core_perl/ExtUtils/xsubpp -typemap /usr/share/perl5/core_perl/ExtUtils/typemap src/xslate_methods.xs > src/xslate_methods.xsc && mv src/xslate_methods.xsc src/xslate_methods.c
/usr/bin/perl "-Iinc" /usr/share/perl5/core_perl/ExtUtils/xsubpp -typemap /usr/share/perl5/core_perl/ExtUtils/typemap src/Text-Xslate.xs > src/Text-Xslate.xsc && mv src/Text-Xslate.xsc src/Text-Xslate.c
cp lib/Text/Xslate/PP/Const.pm blib/lib/Text/Xslate/PP/Const.pm
cp lib/Text/Xslate.pm blib/lib/Text/Xslate.pm
cp lib/Text/Xslate/Bridge.pm blib/lib/Text/Xslate/Bridge.pm
cp lib/Text/Xslate/Syntax/Kolon.pm blib/lib/Text/Xslate/Syntax/Kolon.pm
cp lib/Text/Xslate/Manual/Debugging.pod blib/lib/Text/Xslate/Manual/Debugging.pod
cp lib/Text/Xslate/Syntax/TTerse.pm blib/lib/Text/Xslate/Syntax/TTerse.pm
cp lib/Text/Xslate/Manual.pod blib/lib/Text/Xslate/Manual.pod
cp lib/Text/Xslate/Syntax/Metakolon.pm blib/lib/Text/Xslate/Syntax/Metakolon.pm
cp lib/Text/Xslate/HashWithDefault.pm blib/lib/Text/Xslate/HashWithDefault.pm
cp lib/Text/Xslate/PP.pm blib/lib/Text/Xslate/PP.pm
cp lib/Text/Xslate/Type/Raw.pm blib/lib/Text/Xslate/Type/Raw.pm
cp lib/Text/Xslate/Manual/Builtin.pod blib/lib/Text/Xslate/Manual/Builtin.pod
cp lib/Text/Xslate/Manual/Cookbook.pod blib/lib/Text/Xslate/Manual/Cookbook.pod
cp lib/Text/Xslate/Runner.pm blib/lib/Text/Xslate/Runner.pm
cp lib/Text/Xslate/PP/Type/Macro.pm blib/lib/Text/Xslate/PP/Type/Macro.pm
cp lib/Text/Xslate/Parser.pm blib/lib/Text/Xslate/Parser.pm
cp lib/Text/Xslate/Util.pm blib/lib/Text/Xslate/Util.pm
cp lib/Text/Xslate/PP/Method.pm blib/lib/Text/Xslate/PP/Method.pm
cp lib/Text/Xslate/Symbol.pm blib/lib/Text/Xslate/Symbol.pm
cp lib/Text/Xslate/PP/State.pm blib/lib/Text/Xslate/PP/State.pm
cp lib/Text/Xslate/PP/Type/Raw.pm blib/lib/Text/Xslate/PP/Type/Raw.pm
cp lib/Text/Xslate/Bridge/Star.pm blib/lib/Text/Xslate/Bridge/Star.pm
cp lib/Text/Xslate/Compiler.pm blib/lib/Text/Xslate/Compiler.pm
cp lib/Text/Xslate/Manual/FAQ.pod blib/lib/Text/Xslate/Manual/FAQ.pod
cp lib/Text/Xslate/PP/Type/Pair.pm blib/lib/Text/Xslate/PP/Type/Pair.pm
cp lib/Text/Xslate/PP/Opcode.pm blib/lib/Text/Xslate/PP/Opcode.pm
Running Mkbootstrap for Text::Xslate ()
chmod 644 Xslate.bs
cp script/xslate blib/script/xslate
/usr/bin/perl "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/xslate
cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"1.6002\" -DXS_VERSION=\"1.6002\" -o src/xslate_methods.o -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DUSE_PPPORT src/xslate_methods.c
cp Xslate.bs blib/arch/auto/Text/Xslate/Xslate.bs
chmod 644 blib/arch/auto/Text/Xslate/Xslate.bs
cc -c "-I." "-I." -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"1.6002\" -DXS_VERSION=\"1.6002\" -o src/Text-Xslate.o -fPIC "-I/usr/lib/perl5/core_perl/CORE" -DUSE_PPPORT src/Text-Xslate.c
In file included from src/Text-Xslate.xs:17:0:
./xslate_ops.h:37:5: warning: identifier "bitor" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:38:5: warning: identifier "bitand" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:41:10: warning: identifier "and" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:43:10: warning: identifier "or" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:45:5: warning: identifier "not" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h: In function ‘tx_init_ops’:
./xslate_ops.h:278:36: warning: identifier "bitor" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:279:36: warning: identifier "bitand" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:282:36: warning: identifier "and" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:284:36: warning: identifier "or" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:286:36: warning: identifier "not" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h: In function ‘tx_runops’:
./xslate_ops.h:448:19: warning: identifier "bitor" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:449:19: warning: identifier "bitand" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:452:19: warning: identifier "and" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:454:19: warning: identifier "or" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:456:19: warning: identifier "not" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:533:11: warning: identifier "bitor" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:534:11: warning: identifier "bitand" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:537:11: warning: identifier "and" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:539:11: warning: identifier "or" is a special operator name in C++ [-Wc++-compat]
./xslate_ops.h:541:11: warning: identifier "not" is a special operator name in C++ [-Wc++-compat]
In file included from src/Text-Xslate.xs:224:0:
./src/xslate_opcode.inc: At top level:
./src/xslate_opcode.inc:382:5: warning: identifier "bitor" is a special operator name in C++ [-Wc++-compat]
./src/xslate_opcode.inc:388:5: warning: identifier "bitand" is a special operator name in C++ [-Wc++-compat]
./src/xslate_opcode.inc:408:10: warning: identifier "and" is a special operator name in C++ [-Wc++-compat]
./src/xslate_opcode.inc:428:10: warning: identifier "or" is a special operator name in C++ [-Wc++-compat]
./src/xslate_opcode.inc:448:5: warning: identifier "not" is a special operator name in C++ [-Wc++-compat]
rm -f blib/arch/auto/Text/Xslate/Xslate.so
cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector src/xslate_methods.o src/Text-Xslate.o -o blib/arch/auto/Text/Xslate/Xslate.so \
\

chmod 755 blib/arch/auto/Text/Xslate/Xslate.so
Manifying blib/man1/xslate.1p
Manifying blib/man3/Text::Xslate::PP::Const.3pm
Manifying blib/man3/Text::Xslate::Syntax::Kolon.3pm
Manifying blib/man3/Text::Xslate::Bridge.3pm
Manifying blib/man3/Text::Xslate.3pm
Manifying blib/man3/Text::Xslate::Manual::Debugging.3pm
Manifying blib/man3/Text::Xslate::Syntax::TTerse.3pm
Manifying blib/man3/Text::Xslate::HashWithDefault.3pm
Manifying blib/man3/Text::Xslate::Manual.3pm
Manifying blib/man3/Text::Xslate::Syntax::Metakolon.3pm
Manifying blib/man3/Text::Xslate::Manual::Builtin.3pm
Manifying blib/man3/Text::Xslate::Type::Raw.3pm
Manifying blib/man3/Text::Xslate::PP.3pm
Manifying blib/man3/Text::Xslate::Manual::Cookbook.3pm
Manifying blib/man3/Text::Xslate::Runner.3pm
Manifying blib/man3/Text::Xslate::PP::Type::Macro.3pm
Manifying blib/man3/Text::Xslate::Parser.3pm
Manifying blib/man3/Text::Xslate::Util.3pm
Manifying blib/man3/Text::Xslate::Symbol.3pm
Manifying blib/man3/Text::Xslate::PP::Method.3pm
Manifying blib/man3/Text::Xslate::PP::State.3pm
Manifying blib/man3/Text::Xslate::PP::Type::Raw.3pm
Manifying blib/man3/Text::Xslate::Bridge::Star.3pm
Manifying blib/man3/Text::Xslate::Compiler.3pm
Manifying blib/man3/Text::Xslate::Manual::FAQ.3pm
Manifying blib/man3/Text::Xslate::PP::Type::Pair.3pm
Manifying blib/man3/Text::Xslate::PP::Opcode.3pm

[myra@gandalf ~/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002]$ prove -lvbm t/010_internals/200_leaktrace.t
t/010_internals/200_leaktrace.t ..
not ok 1 - new() and render() (leaks 1 <= 0)

Failed test 'new() and render() (leaks 1 <= 0)'
at t/010_internals/200_leaktrace.t line 25.
'1'
<=
'0'
leaked SCALAR(0x2c52858) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate.pm line 348.
347:sub load_file {
348: my($self, $file, $mtime, $omit_augment) = @;
349:
SV = PV(0x29b6b70) at 0x2c52858
REFCNT = 1
FLAGS = (PADMY,POK,pPOK)
PV = 0x2c5fa80 "hello.tx"\0
CUR = 8
LEN = 16
leaked SCALAR(0x2c523c0) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 208.
207: local $parser->{in_given} = 0;
208: local $parser->{scope} = [ map { +{ %{$
} } } @{ $parser->scope } ];
209: local $parser->{symbol_table} = { %{ $parser->symbol_table } };
SV = PV(0x29bd370) at 0x2c523c0
REFCNT = 1
FLAGS = (POK,FAKE,READONLY,pPOK)
PV = 0x2780510 "default"
CUR = 7
LEN = 0
leaked SCALAR(0x2c52198) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Compiler.pm line 217.
216: return $parser_class->new(
217: %{$self->parser_option},
218: engine => $self->engine,
SV = IV(0x2c52188) at 0x2c52198
REFCNT = 1
FLAGS = (IOK,pIOK)
IV = 38399072
leaked REGEXP(0x2c4a808) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 307.
306: # follwoing a newline, $tag_start, or end of the input
307: my $lex_text = qr/\A ( [^\n]? (?: \n | (?= \Q$tag_start\E ) | \z ) ) /xms;
308:
SV = REGEXP(0x2c49320) at 0x2c4a808
REFCNT = 1
FLAGS = (OBJECT,POK,FAKE,pPOK)
PV = 0x2c5ec50 "(?^msx:\A ( [^\n]
? (?: \n | (?= \<\: ) | \z ) ) )"
CUR = 50
LEN = 0
STASH = 0x2493608 "Regexp"
EXTFLAGS = 0x80b (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED,ANCH_SBOL)
INTFLAGS = 0x0
NPARENS = 1
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 0
MINLENRET = 0
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 0
SUBBEG = 0x0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c59d58
PAREN_NAMES = 0x0
SUBSTRS = 0x2d5cb70
PPRIVATE = 0x2c5eba0
OFFS = 0x2d3cb20
leaked SCALAR(0x2c4a580) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 72.
71:
72: default => sub{ {} },
73:
SV = PV(0x29b6ae0) at 0x2c4a580
REFCNT = 1
FLAGS = (POK,FAKE,READONLY,pPOK)
PV = 0x2780510 "default"
CUR = 7
LEN = 0
leaked REGEXP(0x2c4a370) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 320.
319: my $code = substr $, 0, $pos;
320: $code =~ s/$lex_code//xmsg;
321: if(length($code) == 0) {
SV = REGEXP(0x2c48770) at 0x2c4a370
REFCNT = 1
FLAGS = (POK,FAKE,pPOK)
PV = 0x2c5f140 "(?^msx:(?: (?^msx:\# [^\n;]* (?= [;\n] | \z)) | (?^msx: (?: (?^msx:(?: (?^msx:\" [^\"\\]* (?: \\. [^\"\\]* )* \") | (?^msx:' [^'\\]* (?: \\. [^'\\]* )* ') )) | [^'\"] ) ) ))"
CUR = 170
LEN = 0
EXTFLAGS = 0xb (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED)
INTFLAGS = 0x4
NPARENS = 0
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 1
MINLENRET = 1
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 8
SUBBEG = 0x2c5fbb0 "\0 $lang "\0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c62de0
PAREN_NAMES = 0x0
SUBSTRS = 0x2c5b440
PPRIVATE = 0x2c5ef20
OFFS = 0x2c5fbf0
leaked REGEXP(0x2c4a1d8) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 303.
302:
303: my $lex_tag_start = qr/\A \Q$tag_start\E ($CHOMP_FLAGS?)/xms;
304:
SV = REGEXP(0x2c48e58) at 0x2c4a1d8
REFCNT = 1
FLAGS = (OBJECT,POK,FAKE,pPOK)
PV = 0x2c5e9a0 "(?^msx:\A \<\: ((?^msx:-)?))"
CUR = 28
LEN = 0
STASH = 0x2493608 "Regexp"
EXTFLAGS = 0x64080b (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED,ANCH_SBOL,NOSCAN,USE_INTUIT_NOML,USE_INTUIT_ML)
INTFLAGS = 0x0
NPARENS = 1
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 2
MINLENRET = 2
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 0
SUBBEG = 0x0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c59d10
PAREN_NAMES = 0x0
SUBSTRS = 0x2d5c9a0
PPRIVATE = 0x2c5e940
OFFS = 0x2d3cb00
leaked REGEXP(0x2c4a190) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 315.
314: while($
) {
315: if($in_tag) {
316: my $start = 0;
SV = REGEXP(0x2c49430) at 0x2c4a190
REFCNT = 1
FLAGS = (POK,FAKE,pPOK)
PV = 0x2c5e9a0 "(?^msx:\A \<\: ((?^msx:-)?))"
CUR = 28
LEN = 0
EXTFLAGS = 0x74080b (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED,ANCH_SBOL,NOSCAN,MATCH_UTF8,USE_INTUIT_NOML,USE_INTUIT_ML)
INTFLAGS = 0x0
NPARENS = 1
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 2
MINLENRET = 2
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 0
SUBBEG = 0x0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c4a1d8
PAREN_NAMES = 0x0
SUBSTRS = 0x2c54270
PPRIVATE = 0x2c5e940
OFFS = 0x2d5d890
leaked SCALAR(0x2c49c68) from /usr/lib/perl5/vendor_perl/Mouse/Util/TypeConstraints.pm line 265.
264: optimized_as => sub{
265: return defined($[0]) && !ref($[0]) && exists $valid{$[0]};
266: },
SV = PV(0x29bd0b0) at 0x2c49c68
REFCNT = 1
FLAGS = (POK,FAKE,READONLY,pPOK)
PV = 0x2780510 "default"
CUR = 7
LEN = 0
leaked SCALAR(0x2c49968) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate.pm line 615.
614: my $input_layer = $self->input_layer;
615: $compiler = $compiler->new(
616: engine => $self,
SV = PV(0x29bd270) at 0x2c49968
REFCNT = 1
FLAGS = (POK,FAKE,READONLY,pPOK)
PV = 0x2780510 "default"
CUR = 7
LEN = 0
leaked REGEXP(0x2c53da0) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 300.
299:
300: my $lex_line_code = defined($line_start)
301: && qr/\A ^ [ \t]* \Q$line_start\E ([^\n]* \n?) /xms;
SV = REGEXP(0x2c48aa0) at 0x2c53da0
REFCNT = 1
FLAGS = (OBJECT,POK,FAKE,pPOK)
PV = 0x2c5e6a0 "(?^msx:\A ^ [ \t]* \: ([^\n]* \n?) )"
CUR = 36
LEN = 0
STASH = 0x2493608 "Regexp"
EXTFLAGS = 0x600c0b (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED,ANCH_MBOL,ANCH_SBOL,USE_INTUIT_NOML,USE_INTUIT_ML)
INTFLAGS = 0x4
NPARENS = 1
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 1
MINLENRET = 1
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 0
SUBBEG = 0x0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c59cc8
PAREN_NAMES = 0x0
SUBSTRS = 0x2d3c930
PPRIVATE = 0x2c5e5d0
OFFS = 0x2d3c910
leaked REGEXP(0x2c53818) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 315.
314: while($
) {
315: if($in_tag) {
316: my $start = 0;
SV = REGEXP(0x2c49210) at 0x2c53818
REFCNT = 1
FLAGS = (POK,FAKE,pPOK)
PV = 0x2c5e6a0 "(?^msx:\A ^ [ \t]* \: ([^\n]* \n?) )"
CUR = 36
LEN = 0
EXTFLAGS = 0x700c0b (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED,ANCH_MBOL,ANCH_SBOL,MATCH_UTF8,USE_INTUIT_NOML,USE_INTUIT_ML)
INTFLAGS = 0x4
NPARENS = 1
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 1
MINLENRET = 1
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 0
SUBBEG = 0x0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c53da0
PAREN_NAMES = 0x0
SUBSTRS = 0x2d5d090
PPRIVATE = 0x2c5e5d0
OFFS = 0x2d3c8f0
leaked SCALAR(0x2c56d10) from /usr/lib/perl5/vendor_perl/Mouse/Util/TypeConstraints.pm line 265.
264: optimized_as => sub{
265: return defined($[0]) && !ref($[0]) && exists $valid{$[0]};
266: },
SV = PV(0x29bd6b0) at 0x2c56d10
REFCNT = 1
FLAGS = (POK,FAKE,READONLY,pPOK)
PV = 0x2780510 "default"
CUR = 7
LEN = 0
leaked SCALAR(0x2c59e18) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 1067.
1066: my($parser, $symbol) = @
;
1067: if($symbol->arity ne 'name' or $symbol->is_reserved) {
1068: return $symbol;
SV = PV(0x29bd580) at 0x2c59e18
REFCNT = 1
FLAGS = (POK,FAKE,READONLY,pPOK)
PV = 0x2780510 "default"
CUR = 7
LEN = 0
leaked SCALAR(0x2c5d0e0) from /usr/lib/perl5/vendor_perl/Mouse.pm line 136.
135: $meta->add_method(meta => sub{
136: return $metaclass->initialize(ref($[0]) || $[0]);
137: });
SV = IV(0x2c5d0d0) at 0x2c5d0e0
REFCNT = 1
FLAGS = (IOK,pIOK)
IV = 41551984
leaked SCALAR(0x2c5ca68) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 59.
58:sub build_identity_pattern {
59: return qr/(?: (?:[A-Za-z
]|\$~?) [A-Za-z0-9_]* )/xms;
60:}
SV = PV(0x29bd980) at 0x2c5ca68
REFCNT = 1
FLAGS = (POK,FAKE,READONLY,pPOK)
PV = 0x2780510 "default"
CUR = 7
LEN = 0
leaked SCALAR(0x2c5c900) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 636.
635: else { # create a new symbol
636: $s = $parser->symbol_class->new(id => $id, lbp => $lbp || 0);
637: $stash->{$id} = $s;
SV = IV(0x2c5c8f0) at 0x2c5c900
REFCNT = 1
FLAGS = (IOK,pIOK)
IV = 41323776
leaked REGEXP(0x2c62de0) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 310.
309: my $lex_comment = $parser->comment_pattern;
310: my $lex_code = qr/(?: $lex_comment | $CODE )/xms;
311:
SV = REGEXP(0x2c49298) at 0x2c62de0
REFCNT = 1
FLAGS = (OBJECT,POK,FAKE,pPOK)
PV = 0x2c5f140 "(?^msx:(?: (?^msx:\# [^\n;]* (?= [;\n] | \z)) | (?^msx: (?: (?^msx:(?: (?^msx:\" [^\"\\]* (?: \\. [^\"\\]* )* \") | (?^msx:' [^'\\]* (?: \\. [^'\\]* )* ') )) | [^'\"] ) ) ))"
CUR = 170
LEN = 0
STASH = 0x2493608 "Regexp"
EXTFLAGS = 0xb (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED)
INTFLAGS = 0x4
NPARENS = 0
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 1
MINLENRET = 1
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 0
SUBBEG = 0x0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c59d40
PAREN_NAMES = 0x0
SUBSTRS = 0x2d5ce10
PPRIVATE = 0x2c5ef20
OFFS = 0x2d5cdf0
leaked REGEXP(0x2c62d80) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 389.
388: my $shortcut = join('|', map{ quotemeta } keys %shortcut_table);
389: my $shortcut_rx = qr/\A ($shortcut)/xms;
390:
SV = REGEXP(0x2c48b28) at 0x2c62d80
REFCNT = 1
FLAGS = (OBJECT,POK,FAKE,pPOK)
PV = 0x2c60260 "(?^msx:\A (\=))"
CUR = 15
LEN = 0
STASH = 0x2493608 "Regexp"
EXTFLAGS = 0x64080b (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED,ANCH_SBOL,NOSCAN,USE_INTUIT_NOML,USE_INTUIT_ML)
INTFLAGS = 0x0
NPARENS = 1
LASTPAREN = 0
LASTCLOSEPAREN = 0
MINLEN = 1
MINLENRET = 1
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 0
SUBBEG = 0x0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c59c68
PAREN_NAMES = 0x0
SUBSTRS = 0x2c5f790
PPRIVATE = 0x2c60210
OFFS = 0x2d5df60
leaked REGEXP(0x2c62b40) from /home/myra/build/perl-graphviz2/perl-text-xslate-1.6002/src/Text-Xslate-1.6002/lib/Text/Xslate/Parser.pm line 407.
406: # shortcut commands
407: $s =~ s/$shortcut_rx/$shortcut_table->{$1}/xms
408: if $shortcut;
SV = REGEXP(0x2c48880) at 0x2c62b40
REFCNT = 1
FLAGS = (POK,FAKE,pPOK)
PV = 0x2c60260 "(?^msx:\A (\=))"
CUR = 15
LEN = 0
EXTFLAGS = 0x264080b (PMf_MULTILINE,PMf_SINGLELINE,PMf_EXTENDED,ANCH_SBOL,NOSCAN,USE_INTUIT_NOML,USE_INTUIT_ML,COPY_DONE)
INTFLAGS = 0x0
NPARENS = 1
LASTPAREN = 1
LASTCLOSEPAREN = 1
MINLEN = 1
MINLENRET = 1
GOFS = 0
PRE_PREFIX = 7
SEEN_EVALS = 0
SUBLEN = 8
SUBBEG = 0x2c5f270 "= $lang "\0
ENGINE = 0x7f1409795720
MOTHER_RE = 0x2c62d80
PAREN_NAMES = 0x0
SUBSTRS = 0x2c5b3d0
PPRIVATE = 0x2c60210
OFFS = 0x2c57af0
Died at t/010_internals/200_leaktrace.t line 25.
Tests were run but no plan was declared and done_testing() was not seen.
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 1/1 subtests

Test Summary Report

t/010_internals/200_leaktrace.t (Wstat: 6400 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 25
Parse errors: No plan found in TAP output
Files=1, Tests=1, 2 wallclock secs ( 0.04 usr 0.00 sys + 1.92 cusr 0.00 csys = 1.96 CPU)
Result: FAIL

FUJI Goro (gfx) gfx was assigned
FUJI Goro (gfx)
Owner

Looks strange.

As CPAN test report shows, the issue occurs in random.

David Steinbrunner

I'm trying to install version 3.1.2 with cpanm on Mac OS X 10.6.8 with perl 5.10.0 and it has failed 3 times in a row with this test failure.

David Steinbrunner

with a perl brewed to 5.16.3, tests pass. I have not tried any other perl versions.

Syohei YOSHIDA
Owner

http://matrix.cpantesters.org/?dist=Text-Xslate-3.1.2

From test results of latest version, the test(t/010_internals/200_leaktrace.t) is failed

  • Perl 5.10.0
  • Development Perl 5.19.4 or higher
  • Windows WIN32(except cygwin)
David Steinbrunner

Tests appear to pass with perl 5.10.1 and 5.12.5 brewed on this 10.6.8 install. Note that the brew of 5.10.1 had to be installed without all tests passing for it to test it against Text::Xslate 3.1.2.

lestrrat
Owner

This has not been discussed in a while, and the aforementioned perl versions are starting to be pretty old. Closing.

lestrrat lestrrat closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.