Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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

Report information
The Basics
Id: 87132
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: ivan.wills [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From ivan.wills [...] gmail.com Sun Jul 21 17: 13:36 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="001a11c265bed346f804e20c071f"
Message-ID: <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com>
X-Received: by 10.180.206.70 with SMTP id lm6mr27833308wic.50.1374441205612; Sun, 21 Jul 2013 14:13:25 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.219
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id ACFA7240BE5 for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Sun, 21 Jul 2013 17:13:36 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9wiZnWBrR3Uz for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Sun, 21 Jul 2013 17:13:35 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 3EEB42404EB for <bug-XML-LibXML [...] rt.cpan.org>; Sun, 21 Jul 2013 17:13:35 -0400 (EDT)
Received: (qmail 18744 invoked by alias); 21 Jul 2013 21:13:34 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com) (74.125.82.42) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Sun, 21 Jul 2013 14:13:30 -0700
Received: by mail-wg0-f42.google.com with SMTP id j13so203577wgh.1 for <bug-XML-LibXML [...] rt.cpan.org>; Sun, 21 Jul 2013 14:13:25 -0700 (PDT)
Received: by 10.216.1.71 with HTTP; Sun, 21 Jul 2013 14:13:25 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
Subject: Perl 5.18.0 - XML::LibXML::XPathContext Loses it's document object
Return-Path: <ivan.wills [...] gmail.com>
X-RT-Mail-Extension: xml-libxml
X-Original-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=o8/YtoLptfAI9DLKndH4P8XpmCn42sB/rNzyLxsXYNE=; b=HEkAftY6Pn+1PfSRzz2IntuQo8aGNqZ1T7Xom3Tb/nH9+/f4RE6J/GZGkETdMasF43 3H7GY92piTVjfseHTGduc//Ym8nTQmE4keEgy+IMYgjDstMtspimUM2ioXGp7a4ga4Xy h+5ae9B49Xex3thPd3qin4ffblqyqWxHN4RNiHzWQwoh5naUIVA2k3BegFdm3IGTAh2p F4TpnPE6Qe5CfSS4xEo7kh5qr0ehzuzATdm3ibVgnJse4XrP6UaXrnSHPymFTFRzwLH7 zaK2TVTG1bE40s91EKQFaijLPlxQTHBKy+kkLSVgheWMBL2WxhEg36UP/DVkrRHV9Gar 19Fw==
Date: Mon, 22 Jul 2013 07:13:25 +1000
X-Spam-Level:
To: bug-XML-LibXML [...] rt.cpan.org
From: Ivan Wills <ivan.wills [...] gmail.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 402
Download (untitled) / with headers
text/plain 402b
The XML::LibXML::XPathContext- object appears to loose it's document object die()ing with "XPathContext: lost current node at lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. You can reproduce the bug with W3C-SOAP using the t/xsd_parser.t test, all earlier perl versions pass this test. Ivan. -- email/jabber: ivan.wills@gmail.com / / _ _ / \ / | | | | / \/ \_| | |
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 621
MIME-Version: 1.0
In-Reply-To: <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.13-27880-1374475419-1898.87132-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 564
Download (untitled) / with headers
text/plain 564b
Hi Ivan, On Sun Jul 21 17:13:37 2013, ivan.wills@gmail.com wrote: Show quoted text
> The XML::LibXML::XPathContext- object appears to loose it's document object > die()ing with "XPathContext: lost current node at > lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. > You can reproduce the bug with W3C-SOAP using the t/xsd_parser.t test, all > earlier perl versions pass this test. >
Thanks for reporting this - I'll try to investigate. In the meanwhile, you can help me, by writing a self-contained t/*.t file for XML::LibXML. Regards, -- Shlomi Fish Show quoted text
> Ivan. >
From ivan.wills [...] gmail.com Mon Jul 22 03: 24:31 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-4.0.13-27880-1374475419-163.87132-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-87132 [...] rt.cpan.org> <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com> <rt-4.0.13-27880-1374475419-163.87132-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.194.249.103 with SMTP id yt7mr4783769wjc.80.1374477855682; Mon, 22 Jul 2013 00:24:15 -0700 (PDT)
Message-ID: <CAEQqhsnnVXJ+2q=t-Hoyd1bNXsx-c2ywS4TPtvZVwSuPOkJ1vg [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="001a11c297de56f4f104e214905c"
X-Spam-Score: -6.219
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 01CE2240F5A for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Mon, 22 Jul 2013 03:24:31 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1kMAeB-y20UY for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Mon, 22 Jul 2013 03:24:29 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 371AF2404EB for <bug-XML-LibXML [...] rt.cpan.org>; Mon, 22 Jul 2013 03:24:29 -0400 (EDT)
Received: (qmail 21565 invoked by alias); 22 Jul 2013 07:24:28 -0000
Received: from mail-we0-f178.google.com (HELO mail-we0-f178.google.com) (74.125.82.178) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 22 Jul 2013 00:24:22 -0700
Received: by mail-we0-f178.google.com with SMTP id u57so1160120wes.37 for <bug-XML-LibXML [...] rt.cpan.org>; Mon, 22 Jul 2013 00:24:16 -0700 (PDT)
Received: by 10.216.1.71 with HTTP; Mon, 22 Jul 2013 00:24:15 -0700 (PDT)
Delivered-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #87132] Perl 5.18.0 - XML::LibXML::XPathContext Loses it's document object
Return-Path: <ivan.wills [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GAq/EZmGLxI4juZ85gqDkDdyCF/sbsYY1WB/C7YXyCs=; b=JVEC9hUHcua1wwdkpVGxe7jT7MIzh3MC8emIGvrP/8GDGfoMNTUPhDANMRVjQ/4f4L SnYoFa0VgxP9yo+/WygX9sAW6wWeUQRjtli0gXPR2oL5W+cFJOU09N3ljXKfwDMm2IWH D5nopJxqvvKEBr9hu6vCN1zua6Gy5wJngVuNLDC7LrU9D8yemtXAsSYEQdxnH3EFRq30 T8kOPNQLm/dssZoWvZi4KqBdTELig5J+/ymiXdcDXwp8MLQMJl5D+Mhz8IgtW4KFjTQU c9h5dXTixv4KqVTtaNp6knWFiuu8JP7MNfeYNGiNW/K+VOb5nP/qKfEn8hw2+rTfD8hI IiWw==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
X-RT-Mail-Extension: xml-libxml
Date: Mon, 22 Jul 2013 17:24:15 +1000
X-Spam-Level:
To: bug-XML-LibXML [...] rt.cpan.org
From: Ivan Wills <ivan.wills [...] gmail.com>
RT-Message-ID: <rt-4.0.13-27882-1374477871-871.87132-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 859
Download (untitled) / with headers
text/plain 859b
I'll shall try. On 22 July 2013 16:43, Shlomi Fish via RT <bug-XML-LibXML@rt.cpan.org>wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=87132 > > > Hi Ivan, > > On Sun Jul 21 17:13:37 2013, ivan.wills@gmail.com wrote:
> > The XML::LibXML::XPathContext- object appears to loose it's document
> object
> > die()ing with "XPathContext: lost current node at > > lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. > > You can reproduce the bug with W3C-SOAP using the t/xsd_parser.t test,
> all
> > earlier perl versions pass this test. > >
> > Thanks for reporting this - I'll try to investigate. In the meanwhile, you > can help me, by writing a self-contained t/*.t file for XML::LibXML. > > Regards, > > -- Shlomi Fish >
> > Ivan. > >
> > > >
-- email/jabber: ivan.wills@gmail.com / / _ _ / \ / | | | | / \/ \_| | |
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1507
MIME-Version: 1.0
In-Reply-To: <rt-4.0.13-27882-1374477871-871.87132-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-87132 [...] rt.cpan.org> <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com> <rt-4.0.13-27880-1374475419-163.87132-6-0 [...] rt.cpan.org> <CAEQqhsnnVXJ+2q=t-Hoyd1bNXsx-c2ywS4TPtvZVwSuPOkJ1vg [...] mail.gmail.com> <rt-4.0.13-27882-1374477871-871.87132-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.13-16211-1374607066-288.87132-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1137
Download (untitled) / with headers
text/plain 1.1k
Hi Ivan, On Mon Jul 22 03:24:31 2013, ivan.wills@gmail.com wrote: Show quoted text
> I'll shall try. > >
Just to let you know that I started the work on creating a self-contained executable for that here: https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML-crash-isolate--rt87132 (Note the branch). Regards, -- Shlomi Fish Show quoted text
> On 22 July 2013 16:43, Shlomi Fish via RT <bug-XML-LibXML@rt.cpan.org>wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=87132 > > > > > Hi Ivan, > > > > On Sun Jul 21 17:13:37 2013, ivan.wills@gmail.com wrote:
> > > The XML::LibXML::XPathContext- object appears to loose it's document
> > object
> > > die()ing with "XPathContext: lost current node at > > > lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. > > > You can reproduce the bug with W3C-SOAP using the t/xsd_parser.t test,
> > all
> > > earlier perl versions pass this test. > > >
> > > > Thanks for reporting this - I'll try to investigate. In the meanwhile, you > > can help me, by writing a self-contained t/*.t file for XML::LibXML. > > > > Regards, > > > > -- Shlomi Fish > >
> > > Ivan. > > >
> > > > > > > >
> >
MIME-Version: 1.0
In-Reply-To: <rt-4.0.13-27882-1374477871-871.87132-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-87132 [...] rt.cpan.org> <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com> <rt-4.0.13-27880-1374475419-163.87132-6-0 [...] rt.cpan.org> <CAEQqhsnnVXJ+2q=t-Hoyd1bNXsx-c2ywS4TPtvZVwSuPOkJ1vg [...] mail.gmail.com> <rt-4.0.13-27882-1374477871-871.87132-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.13-31428-1374768778-888.87132-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1457
Download (untitled) / with headers
text/plain 1.4k
Hi Ivan, On Mon Jul 22 03:24:31 2013, ivan.wills@gmail.com wrote: Show quoted text
> I'll shall try. >
In this branch where I demoosified the reduced program, I'm no longer ever getting a crash: https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML-crash-isolate--rt87132--no-moose To try it do: while perl Crash_Reproduce.t ; do echo $((i++)) ; done Inside bash. Works fine, while in the branch of https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML-crash-isolate--rt87132 - it crashes. Maybe my demoosification was wrong (I'll try to see using Devel::Cover), but maybe Moose is part fo the the problem. Regards, -- Shlomi Fish Show quoted text
> > On 22 July 2013 16:43, Shlomi Fish via RT <bug-XML-LibXML@rt.cpan.org>wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=87132 > > > > > Hi Ivan, > > > > On Sun Jul 21 17:13:37 2013, ivan.wills@gmail.com wrote:
> > > The XML::LibXML::XPathContext- object appears to loose it's document
> > object
> > > die()ing with "XPathContext: lost current node at > > > lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. > > > You can reproduce the bug with W3C-SOAP using the t/xsd_parser.t test,
> > all
> > > earlier perl versions pass this test. > > >
> > > > Thanks for reporting this - I'll try to investigate. In the meanwhile, you > > can help me, by writing a self-contained t/*.t file for XML::LibXML. > > > > Regards, > > > > -- Shlomi Fish > >
> > > Ivan. > > >
> > > > > > > >
> >
MIME-Version: 1.0
In-Reply-To: <rt-4.0.13-31428-1374768778-888.87132-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-87132 [...] rt.cpan.org> <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com> <rt-4.0.13-27880-1374475419-163.87132-6-0 [...] rt.cpan.org> <CAEQqhsnnVXJ+2q=t-Hoyd1bNXsx-c2ywS4TPtvZVwSuPOkJ1vg [...] mail.gmail.com> <rt-4.0.13-27882-1374477871-871.87132-0-0 [...] rt.cpan.org> <rt-4.0.13-31428-1374768778-888.87132-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.13-353-1374769547-511.87132-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1795
Download (untitled) / with headers
text/plain 1.7k
On Thu Jul 25 12:12:58 2013, SHLOMIF wrote: Show quoted text
> Hi Ivan, > > On Mon Jul 22 03:24:31 2013, ivan.wills@gmail.com wrote:
> > I'll shall try. > >
> > In this branch where I demoosified the reduced program, I'm no longer > ever getting a crash: > > https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML-crash- > isolate--rt87132--no-moose > > To try it do: > > while perl Crash_Reproduce.t ; do echo $((i++)) ; done > > Inside bash. Works fine, while in the branch of > https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML- > crash-isolate--rt87132 - it crashes. Maybe my demoosification was > wrong (I'll try to see using Devel::Cover), but maybe Moose is part > fo the the problem.
OK, in the same branch (the --nomoose one) I fixed a coverage bug, but it still doesn't crash anymore. Regards, -- Shlomi Fish Show quoted text
> > Regards, > > -- Shlomi Fish >
> > > > On 22 July 2013 16:43, Shlomi Fish via RT <bug-XML-
> LibXML@rt.cpan.org>wrote:
> >
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=87132 > > > > > > > Hi Ivan, > > > > > > On Sun Jul 21 17:13:37 2013, ivan.wills@gmail.com wrote:
> > > > The XML::LibXML::XPathContext- object appears to loose it's
> document
> > > object
> > > > die()ing with "XPathContext: lost current node at > > > > lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. > > > > You can reproduce the bug with W3C-SOAP using the t/xsd_parser.t
> test,
> > > all
> > > > earlier perl versions pass this test. > > > >
> > > > > > Thanks for reporting this - I'll try to investigate. In the
> meanwhile, you
> > > can help me, by writing a self-contained t/*.t file for
> XML::LibXML.
> > > > > > Regards, > > > > > > -- Shlomi Fish > > >
> > > > Ivan. > > > >
> > > > > > > > > > > >
> > > >
> >
MIME-Version: 1.0
In-Reply-To: <rt-4.0.13-353-1374769547-511.87132-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-87132 [...] rt.cpan.org> <CAEQqhsnuehjNyGyA5XF6X=MBFw9SSKpuxqJ=JUJgwkUey+JD2g [...] mail.gmail.com> <rt-4.0.13-27880-1374475419-163.87132-6-0 [...] rt.cpan.org> <CAEQqhsnnVXJ+2q=t-Hoyd1bNXsx-c2ywS4TPtvZVwSuPOkJ1vg [...] mail.gmail.com> <rt-4.0.13-27882-1374477871-871.87132-0-0 [...] rt.cpan.org> <rt-4.0.13-31428-1374768778-888.87132-0-0 [...] rt.cpan.org> <rt-4.0.13-353-1374769547-511.87132-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-8619-1375367049-862.87132-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 2341
Download (untitled) / with headers
text/plain 2.2k
Hi Ivan, I found out that in the “moose>” branch if I change «lazy_build => 0,» to «lazy_build => 1,», then the bug is fixed (this was some thing the --nomoose branch did differently). So this seems like an initialisation problem in the moose code and not a problem in XML-LibXML. Can I close this bug here (in XML-LibXML)? Regards, -- Shlomi Fish On Thu Jul 25 12:25:47 2013, SHLOMIF wrote: Show quoted text
> On Thu Jul 25 12:12:58 2013, SHLOMIF wrote:
> > Hi Ivan, > > > > On Mon Jul 22 03:24:31 2013, ivan.wills@gmail.com wrote:
> > > I'll shall try. > > >
> > > > In this branch where I demoosified the reduced program, I'm no longer > > ever getting a crash: > > > > https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML- > > crash- > > isolate--rt87132--no-moose > > > > To try it do: > > > > while perl Crash_Reproduce.t ; do echo $((i++)) ; done > > > > Inside bash. Works fine, while in the branch of > > https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML- > > crash-isolate--rt87132 - it crashes. Maybe my demoosification was > > wrong (I'll try to see using Devel::Cover), but maybe Moose is > > part > > fo the the problem.
> > OK, in the same branch (the --nomoose one) I fixed a coverage bug, but > it still doesn't crash anymore. > > Regards, > > -- Shlomi Fish >
> > > > Regards, > > > > -- Shlomi Fish > >
> > > > > > On 22 July 2013 16:43, Shlomi Fish via RT <bug-XML-
> > LibXML@rt.cpan.org>wrote:
> > >
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=87132 > > > > > > > > > Hi Ivan, > > > > > > > > On Sun Jul 21 17:13:37 2013, ivan.wills@gmail.com wrote:
> > > > > The XML::LibXML::XPathContext- object appears to loose it's
> > document
> > > > object
> > > > > die()ing with "XPathContext: lost current node at > > > > > lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. > > > > > You can reproduce the bug with W3C-SOAP using the > > > > > t/xsd_parser.t
> > test,
> > > > all
> > > > > earlier perl versions pass this test. > > > > >
> > > > > > > > Thanks for reporting this - I'll try to investigate. In the
> > meanwhile, you
> > > > can help me, by writing a self-contained t/*.t file for
> > XML::LibXML.
> > > > > > > > Regards, > > > > > > > > -- Shlomi Fish > > > >
> > > > > Ivan. > > > > >
> > > > > > > > > > > > > > > >
> > > > > >
> > > >
From ivan.wills [...] gmail.com Thu Aug 1 17: 57:01 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
X-Spam-Flag: NO
X-RT-Interface: API
X-Virus-Checked: Checked
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.194.249.103 with SMTP id yt7mr2744049wjc.80.1375394206849; Thu, 01 Aug 2013 14:56:46 -0700 (PDT)
Message-ID: <CAEQqhsk-KoEnL2+7oXV6Wvj-P9sgKgZZ08y6yZ8+DgSPMH3iCQ [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="001a11c297de20226704e2e9eb1d"
X-Spam-Score: -6.219
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 8250B241126 for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Thu, 1 Aug 2013 17:57:01 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vsZ41Ow9Ww15 for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Thu, 1 Aug 2013 17:56:59 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 8C657241117 for <bug-XML-LibXML [...] rt.cpan.org>; Thu, 1 Aug 2013 17:56:59 -0400 (EDT)
Received: (qmail 18655 invoked by alias); 1 Aug 2013 21:56:58 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com) (74.125.82.42) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 01 Aug 2013 14:56:51 -0700
Received: by mail-wg0-f42.google.com with SMTP id j13so112007wgh.3 for <bug-XML-LibXML [...] rt.cpan.org>; Thu, 01 Aug 2013 14:56:46 -0700 (PDT)
Received: by 10.216.1.71 with HTTP; Thu, 1 Aug 2013 14:56:46 -0700 (PDT)
Delivered-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #87132] Perl 5.18.0 - XML::LibXML::XPathContext Loses it's document object - CLOSE
Return-Path: <ivan.wills [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=UCUO7VYi3wUnpN4pBXOT957VtHZ+1T5Cm8zF4CBhPVU=; b=hcnpQhdGDbtDxj2FwK3i4oZzavu0ZN0nVqNcl0QaRKfFRajAiPvQ1cJaL6Axru/HJc /i0wMLz1Q6Lfy1W7N5O91CGTwqKBwmoxANEZwvQbqPjJrwS9xszvsDtjsKnBHJDxpim3 Wjsc+L6wO5epX8MmHbFMj8GT4pLw4hJTnBU/RHYb7zsLgZ8xYHdFEx81q8n1sHKg5+x+ mq6YDhusB/EeJMMspJPLPpvYEGOugTG8DEjqmbSpBYTa32mTiUlj5oWfmOeoNSZRuaxU EleHPgJNbxfn+r8aFDkZYlb2h4smil6t8SbcpxB/0RCoZl800wRWqDzyFLUKeYcUBhBQ dC2g==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
X-RT-Mail-Extension: xml-libxml
Date: Fri, 2 Aug 2013 07:56:46 +1000
X-Spam-Level:
To: bug-XML-LibXML [...] rt.cpan.org
From: Ivan Wills <ivan.wills [...] gmail.com>
RT-Message-ID: <rt-4.0.16-26886-1375394222-1261.87132-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 2914
Download (untitled) / with headers
text/plain 2.8k
Hi Shiomi, Thanks for the investigation, I would try to close the bug but I'm not sure how, will adding the CLOSE to the subject will do it? Regrads, Ivan On 2 August 2013 00:24, Shlomi Fish via RT <bug-XML-LibXML@rt.cpan.org>wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=87132 > > > Hi Ivan, > > I found out that in the “moose>” branch if I change «lazy_build => 0,» to > «lazy_build => 1,», then the bug is fixed (this was some thing the > --nomoose branch did differently). So this seems like an initialisation > problem in the moose code and not a problem in XML-LibXML. > Can I close this bug here (in XML-LibXML)? > > Regards, > > -- Shlomi Fish > > On Thu Jul 25 12:25:47 2013, SHLOMIF wrote:
> > On Thu Jul 25 12:12:58 2013, SHLOMIF wrote:
> > > Hi Ivan, > > > > > > On Mon Jul 22 03:24:31 2013, ivan.wills@gmail.com wrote:
> > > > I'll shall try. > > > >
> > > > > > In this branch where I demoosified the reduced program, I'm no longer > > > ever getting a crash: > > > > > > https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML- > > > crash- > > > isolate--rt87132--no-moose > > > > > > To try it do: > > > > > > while perl Crash_Reproduce.t ; do echo $((i++)) ; done > > > > > > Inside bash. Works fine, while in the branch of > > > https://github.com/shlomif/W3C-SOAP/tree/perl-5.18.0-XML-LibXML- > > > crash-isolate--rt87132 - it crashes. Maybe my demoosification was > > > wrong (I'll try to see using Devel::Cover), but maybe Moose is > > > part > > > fo the the problem.
> > > > OK, in the same branch (the --nomoose one) I fixed a coverage bug, but > > it still doesn't crash anymore. > > > > Regards, > > > > -- Shlomi Fish > >
> > > > > > Regards, > > > > > > -- Shlomi Fish > > >
> > > > > > > > On 22 July 2013 16:43, Shlomi Fish via RT <bug-XML-
> > > LibXML@rt.cpan.org>wrote:
> > > >
> > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=87132 > > > > > > > > > > > Hi Ivan, > > > > > > > > > > On Sun Jul 21 17:13:37 2013, ivan.wills@gmail.com wrote:
> > > > > > The XML::LibXML::XPathContext- object appears to loose it's
> > > document
> > > > > object
> > > > > > die()ing with "XPathContext: lost current node at > > > > > > lib/W3C/SOAP/XSD/Document.pm line 219." when scope changes. > > > > > > You can reproduce the bug with W3C-SOAP using the > > > > > > t/xsd_parser.t
> > > test,
> > > > > all
> > > > > > earlier perl versions pass this test. > > > > > >
> > > > > > > > > > Thanks for reporting this - I'll try to investigate. In the
> > > meanwhile, you
> > > > > can help me, by writing a self-contained t/*.t file for
> > > XML::LibXML.
> > > > > > > > > > Regards, > > > > > > > > > > -- Shlomi Fish > > > > >
> > > > > > Ivan. > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
-- email/jabber: ivan.wills@gmail.com / / _ _ / \ / | | | | / \/ \_| | |
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 4874
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-26886-1375394222-1261.87132-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAEQqhsk-KoEnL2+7oXV6Wvj-P9sgKgZZ08y6yZ8+DgSPMH3iCQ [...] mail.gmail.com> <rt-4.0.16-26886-1375394222-1261.87132-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-4108-1375444396-1425.87132-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 380
Download (untitled) / with headers
text/plain 380b
Hi Ivan, On Thu Aug 01 17:57:02 2013, ivan.wills@gmail.com wrote: Show quoted text
> Hi Shiomi, > > Thanks for the investigation,
You're welcome. Show quoted text
> I would try to close the bug but I'm not > sure > how, will adding the CLOSE to the subject will do it? >
There's a "Status" drop down in the "Ticket and Transaction" section on the right. I resolved it for you now. Regards, -- Shlomi Fish


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.