Skip Menu |
 

This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id: 23949
Status: resolved
Priority: 0/
Queue: XML-Twig

People
Owner: Nobody in particular
Requestors: KevinAMcGrail-CPAN [...] mcgrail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 3.26
Fixed in: 3.28



Subject: Failed Memory Leak Test - Fails make test
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 2612
Download (untitled) / with headers
text/plain 2.5k
XML-Twig-3.26 on RedHat 7.3 Linux System using custom-compiled Perl Version 5.8.6, a make test fails. t/test_memory.......................memory leak parsing xml: expected '7660', got '7672' t/test_memory.......................NOK 1 need HTML::TreeBuilder 3.13+: skipping 1 tests t/test_memory.......................FAILED test 1 Failed 1/2 tests, 50.00% okay Perhaps this is a bug in Perl? Any hints on directions to head off in? I'm also partial to not caring about a 2 byte leak ;-) Configuration: perl: 5.008006 OS: linux - i686-linux XML::Parser : 2.34 (required) Can't exec "xmlwf": No such file or directory at t/zz_dump_config.t line 34. Use of uninitialized value in pattern match (m//) at t/zz_dump_config.t line 35. Use of uninitialized value in sprintf at t/zz_dump_config.t line 106. expat : <no version information found> Scalar::Util : 1.14 (for improved memory management) Encode : 2.08 (for encoding conversions) LWP : 5.69 (for the parseurl method) HTML::Entities : 1.25 (for the html_encode filter) Tie::IxHash : <not available> (for the keep_atts_order option) XML::XPathEngine : <not available> (to use XML::Twig::XPath) XML::XPath : <not available> (to use XML::Twig::XPath if Tree::XPathEngine not available) HTML::TreeBuilder : <not available> (to use parse_html and parsefile_html) Text::Wrap : 2001.09292 (to use the "wrapped" option for pretty_print) Test : 1.25 (for testing purposes) Test::Pod : <not available> (for testing purposes) XML::Simple : <not available> (for testing purposes) XML::Handler::YAWriter : <not available> (for testing purposes) XML::SAX::Writer : <not available> (for testing purposes) XML::Filter::BufferText : <not available> (for testing purposes) IO::Scalar : 1.119 (for testing purposes) Please add this information to bug reports (you can run t/zz_dump_config.t to get it) t/zz_dump_config....................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/test_memory.t 2 1 50.00% 1 Failed 1/87 test scripts, 98.85% okay. 1/2066 subtests failed, 99.95% okay. make: *** [test_dynamic] Error 29
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,SPF_HELO_PASS
In-Reply-To: <rt-3.6.HEAD-23144-1166198457-1671.23949-4-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-23949 [...] rt.cpan.org> <rt-3.6.HEAD-23144-1166198457-1671.23949-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id BA9AB4D80AA for <bug-XML-Twig [...] rt.cpan.org>; Fri, 15 Dec 2006 14:27:27 -0500 (EST)
Received: (qmail 28864 invoked by alias); 15 Dec 2006 17:40:46 -0000
Received: from mail-relay-2.tiscali.it (HELO mail-relay-2.tiscali.it) (213.205.33.42) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 15 Dec 2006 09:40:38 -0800
Received: from [192.168.2.200] (217.133.3.216) by mail-relay-2.tiscali.it (7.2.078) id 4576D9970012042F for bug-XML-Twig [...] rt.cpan.org; Fri, 15 Dec 2006 18:40:31 +0100
Delivered-To: cpan-bug+xml-twig [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #23949] Failed Memory Leak Test - Fails make test
User-Agent: Thunderbird 1.5.0.8 (X11/20061115)
Return-Path: <mirod [...] xmltwig.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-XML-Twig [...] rt.cpan.org
Date: Fri, 15 Dec 2006 18:43:04 +0100
Message-Id: <4582DEA8.9000800 [...] xmltwig.com>
To: bug-XML-Twig [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: mirod <mirod [...] xmltwig.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-23198-1166210854-151.23949-0-0 [...] rt.cpan.org>
Content-Length: 815
Download (untitled) / with headers
text/plain 815b
via RT wrote: Show quoted text
> t/test_memory.......................memory leak parsing xml: expected > '7660', got '7672' > t/test_memory.......................NOK 1 > > need HTML::TreeBuilder 3.13+: skipping 1 tests > t/test_memory.......................FAILED test 1 > > Failed 1/2 tests, 50.00% okay > > Perhaps this is a bug in Perl? Any hints on directions to head off in? > I'm also partial to not caring about a 2 byte leak ;-)
The next version of the module has a somewhat relaxed condition on the test, so even with such a huge leak the test should pass. So you can either ignore the failure and most likely live happily ever after, or install the development version, available at http://xmltwig.com/xmltwig/ Does this help? -- mirod
X-Scanned-BY: MIMEDefang 2.57 on 63.216.184.10
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,SPF_PASS
X-Mailer: Microsoft Outlook Express 6.00.2900.3028
Received-SPF: pass (x1.develooper.com: domain of kevin.mcgrail [...] mcgrail.com designates 63.216.184.10 as permitted sender)
X-Pop-Before-SMTP-Auth: 69.3.86.30
References: <RT-Ticket-23949 [...] rt.cpan.org> <rt-3.6.HEAD-23144-1166198457-1671.23949-4-0 [...] rt.cpan.org> <4582DEA8.9000800 [...] xmltwig.com> <rt-3.6.HEAD-23198-1166210854-151.23949-6-0 [...] rt.cpan.org>
Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 9127E4D80AC for <bug-XML-Twig [...] rt.cpan.org>; Fri, 15 Dec 2006 14:45:21 -0500 (EST)
Received: (qmail 5327 invoked by alias); 15 Dec 2006 19:45:15 -0000
Received: from intel1.peregrinehw.com (HELO intel1.peregrinehw.com) (63.216.184.10) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 15 Dec 2006 11:45:06 -0800
Received: from PCCC20061 (Fairfax-fw.pccc.com [69.3.86.30]) by intel1.peregrinehw.com (8.13.6/8.13.6) with SMTP id kBFJiiU0008579 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 15 Dec 2006 14:44:44 -0500
Delivered-To: cpan-bug+xml-twig [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #23949] Failed Memory Leak Test - Fails make test
Return-Path: <kevin.mcgrail [...] mcgrail.com>
X-Msmail-Priority: Normal
X-Priority: 3
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-XML-Twig [...] rt.cpan.org
Date: Fri, 15 Dec 2006 14:44:54 -0500
Message-Id: <061f01c72081$7ea15200$8b0a0a0a [...] thoughtworthy.internal>
X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.3028
To: <bug-XML-Twig [...] rt.cpan.org>, <KMCGRAIL [...] cpan.org>
Content-Transfer-Encoding: 7bit
From: "Kevin A. McGrail" <kevin.mcgrail [...] mcgrail.com>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-23169-1166211935-585.23949-0-0 [...] rt.cpan.org>
Content-Length: 1164
Download (untitled) / with headers
text/plain 1.1k
Yep, thanks! Show quoted text
----- Original Message ----- From: "mirod@xmltwig.com via RT" <bug-XML-Twig@rt.cpan.org> To: <KMCGRAIL@cpan.org> Sent: Friday, December 15, 2006 2:27 PM Subject: Re: [rt.cpan.org #23949] Failed Memory Leak Test - Fails make test
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=23949 > > > via RT wrote: >
>> t/test_memory.......................memory leak parsing xml: expected >> '7660', got '7672' >> t/test_memory.......................NOK 1 >> >> need HTML::TreeBuilder 3.13+: skipping 1 tests >> t/test_memory.......................FAILED test 1 >> >> Failed 1/2 tests, 50.00% okay >> >> Perhaps this is a bug in Perl? Any hints on directions to head off in? >> I'm also partial to not caring about a 2 byte leak ;-)
> > The next version of the module has a somewhat relaxed condition on the > test, so even with such a huge leak the test should pass. > > So you can either ignore the failure and most likely live happily ever > after, or install the development version, available at > http://xmltwig.com/xmltwig/ > > Does this help? > > -- > mirod >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.