Skip Menu |

This queue is for tickets about the Geo-Address-Formatter CPAN distribution.

Report information
The Basics
Id: 130195
Status: open
Priority: 0/
Queue: Geo-Address-Formatter

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Unsupported magic_ptr clone (with Clone 0.42?)
On some of my smokers the test suite fails: ... Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line 643. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 25. t/blackbox/countries.t .. Dubious, test returned 255 (wstat 65280, 0xff00) All 25 subtests passed Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line 643. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 255 just after 3. t/unit/abbreviate.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) All 3 subtests passed ... This seems to happen with the most recent Clone.pm version. Statistical analysis (theta=-1 means "bad"): **************************************************************** Regression 'mod:Clone' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 11034699526378720.00 [1='eq_0.39'] -0.0000 0.0000 -1.06 [2='eq_0.41'] -0.0000 0.0000 -3.36 [3='eq_0.42'] -1.0000 0.0000 -10564920452501012.00 R^2= 1.000, N= 80, K= 4 ****************************************************************
Subject: Re: [rt.cpan.org #130195] Unsupported magic_ptr clone (with Clone 0.42?)
Date: Sat, 27 Jul 2019 14:21:13 +0200
To: bug-Geo-Address-Formatter [...] rt.cpan.org
From: Ed Freyfogle <edf [...] sloan.mit.edu>
thanks for making me aware. Have released new version now which requires older version of Clone.pm Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via RT < bug-Geo-Address-Formatter@rt.cpan.org>: Show quoted text
> Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Geo-Address-Formatter > Subject: Unsupported magic_ptr clone (with Clone 0.42?) > Broken in: 1.77 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > On some of my smokers the test suite fails: > > ... > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line 643. > # Tests were run but no plan was declared and done_testing() was not seen. > # Looks like your test exited with 255 just after 25. > t/blackbox/countries.t .. > Dubious, test returned 255 (wstat 65280, 0xff00) > All 25 subtests passed > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line 643. > # Tests were run but no plan was declared and done_testing() was not seen. > # Looks like your test exited with 255 just after 3. > t/unit/abbreviate.t ..... > Dubious, test returned 255 (wstat 65280, 0xff00) > All 3 subtests passed > ... > > This seems to happen with the most recent Clone.pm version. Statistical > analysis (theta=-1 means "bad"): > > **************************************************************** > Regression 'mod:Clone' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 11034699526378720.00 > [1='eq_0.39'] -0.0000 0.0000 -1.06 > [2='eq_0.41'] -0.0000 0.0000 -3.36 > [3='eq_0.42'] -1.0000 0.0000 -10564920452501012.00 > > R^2= 1.000, N= 80, K= 4 > **************************************************************** > >
RT-Send-CC: edf [...] sloan.mit.edu
But in the CPAN world it is not possible to depend on an older version than the latest stable. I see that your Makefile.PL and META.* files now specify Clone => 0.41, but this means only *minimum* version. So if 0.42 is already installed, things will still fail. Do you know if the problem is a known issue in Clone.pm? Maybe it should be reported in their issue tracker? On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote: Show quoted text
> thanks for making me aware. Have released new version now which requires > older version of Clone.pm > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via RT < > bug-Geo-Address-Formatter@rt.cpan.org>: >
> > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > Transaction: Ticket created by SREZIC > > Queue: Geo-Address-Formatter > > Subject: Unsupported magic_ptr clone (with Clone 0.42?) > > Broken in: 1.77 > > Severity: (no value) > > Owner: Nobody > > Requestors: SREZIC@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > On some of my smokers the test suite fails: > > > > ... > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line 643. > > # Tests were run but no plan was declared and done_testing() was not seen. > > # Looks like your test exited with 255 just after 25. > > t/blackbox/countries.t .. > > Dubious, test returned 255 (wstat 65280, 0xff00) > > All 25 subtests passed > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line 643. > > # Tests were run but no plan was declared and done_testing() was not seen. > > # Looks like your test exited with 255 just after 3. > > t/unit/abbreviate.t ..... > > Dubious, test returned 255 (wstat 65280, 0xff00) > > All 3 subtests passed > > ... > > > > This seems to happen with the most recent Clone.pm version. Statistical > > analysis (theta=-1 means "bad"): > > > > **************************************************************** > > Regression 'mod:Clone' > > **************************************************************** > > Name Theta StdErr T-stat > > [0='const'] 1.0000 0.0000 11034699526378720.00 > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > [3='eq_0.42'] -1.0000 0.0000 -10564920452501012.00 > > > > R^2= 1.000, N= 80, K= 4 > > **************************************************************** > > > >
RT-Send-CC: edf [...] sloan.mit.edu
Another idea: maybe in your case Storable::dclone would also work as a cloning function. As a plus, Storable.pm is perl core module, so you have a dependency less. On 2019-07-27 09:37:40, SREZIC wrote: Show quoted text
> But in the CPAN world it is not possible to depend on an older version > than the latest stable. I see that your Makefile.PL and META.* files > now specify Clone => 0.41, but this means only *minimum* version. So > if 0.42 is already installed, things will still fail. > > Do you know if the problem is a known issue in Clone.pm? Maybe it > should be reported in their issue tracker? > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > thanks for making me aware. Have released new version now which > > requires > > older version of Clone.pm > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via RT < > > bug-Geo-Address-Formatter@rt.cpan.org>: > >
> > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > Transaction: Ticket created by SREZIC > > > Queue: Geo-Address-Formatter > > > Subject: Unsupported magic_ptr clone (with Clone 0.42?) > > > Broken in: 1.77 > > > Severity: (no value) > > > Owner: Nobody > > > Requestors: SREZIC@cpan.org > > > Status: new > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > ... > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > > > 643. > > > # Tests were run but no plan was declared and done_testing() was > > > not seen. > > > # Looks like your test exited with 255 just after 25. > > > t/blackbox/countries.t .. > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > All 25 subtests passed > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > > > 643. > > > # Tests were run but no plan was declared and done_testing() was > > > not seen. > > > # Looks like your test exited with 255 just after 3. > > > t/unit/abbreviate.t ..... > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > All 3 subtests passed > > > ... > > > > > > This seems to happen with the most recent Clone.pm version. > > > Statistical > > > analysis (theta=-1 means "bad"): > > > > > > **************************************************************** > > > Regression 'mod:Clone' > > > **************************************************************** > > > Name Theta StdErr T-stat > > > [0='const'] 1.0000 0.0000 > > > 11034699526378720.00 > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > [3='eq_0.42'] -1.0000 0.0000 > > > -10564920452501012.00 > > > > > > R^2= 1.000, N= 80, K= 4 > > > **************************************************************** > > > > > >
Subject: Re: [rt.cpan.org #130195] Unsupported magic_ptr clone (with Clone 0.42?)
Date: Mon, 29 Jul 2019 12:49:02 +0200
To: bug-Geo-Address-Formatter [...] rt.cpan.org
From: Ed Freyfogle <edf [...] sloan.mit.edu>
yes, definitely possible, but would prefer to understand why Clone.pm all of a sudden thinks my code is in error. I did not touch that code, and as far as I can tell I am following their publicly stated usage. I am on it, though not with massive urgency as I am on holiday thanks, Ed Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < bug-Geo-Address-Formatter@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > Another idea: maybe in your case Storable::dclone would also work as a > cloning function. As a plus, Storable.pm is perl core module, so you have a > dependency less. > > On 2019-07-27 09:37:40, SREZIC wrote:
> > But in the CPAN world it is not possible to depend on an older version > > than the latest stable. I see that your Makefile.PL and META.* files > > now specify Clone => 0.41, but this means only *minimum* version. So > > if 0.42 is already installed, things will still fail. > > > > Do you know if the problem is a known issue in Clone.pm? Maybe it > > should be reported in their issue tracker? > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > thanks for making me aware. Have released new version now which > > > requires > > > older version of Clone.pm > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via RT < > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > >
> > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > Transaction: Ticket created by SREZIC > > > > Queue: Geo-Address-Formatter > > > > Subject: Unsupported magic_ptr clone (with Clone 0.42?) > > > > Broken in: 1.77 > > > > Severity: (no value) > > > > Owner: Nobody > > > > Requestors: SREZIC@cpan.org > > > > Status: new > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > ... > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > > > > 643. > > > > # Tests were run but no plan was declared and done_testing() was > > > > not seen. > > > > # Looks like your test exited with 255 just after 25. > > > > t/blackbox/countries.t .. > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > All 25 subtests passed > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > > > > 643. > > > > # Tests were run but no plan was declared and done_testing() was > > > > not seen. > > > > # Looks like your test exited with 255 just after 3. > > > > t/unit/abbreviate.t ..... > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > All 3 subtests passed > > > > ... > > > > > > > > This seems to happen with the most recent Clone.pm version. > > > > Statistical > > > > analysis (theta=-1 means "bad"): > > > > > > > > **************************************************************** > > > > Regression 'mod:Clone' > > > > **************************************************************** > > > > Name Theta StdErr T-stat > > > > [0='const'] 1.0000 0.0000 > > > > 11034699526378720.00 > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > -10564920452501012.00 > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > **************************************************************** > > > > > > > >
> > > >
RT-Send-CC: edf [...] sloan.mit.edu, garu [...] cpan.org
Adding GARU to the discussion. On 2019-07-29 06:49:43, edf@sloan.mit.edu wrote: Show quoted text
> yes, definitely possible, but would prefer to understand why Clone.pm > all > of a sudden thinks my code is in error. > I did not touch that code, and as far as I can tell I am following > their > publicly stated usage. > > I am on it, though not with massive urgency as I am on holiday > > thanks, > Ed > > Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < > bug-Geo-Address-Formatter@rt.cpan.org>: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > Another idea: maybe in your case Storable::dclone would also work as > > a > > cloning function. As a plus, Storable.pm is perl core module, so you > > have a > > dependency less. > > > > On 2019-07-27 09:37:40, SREZIC wrote:
> > > But in the CPAN world it is not possible to depend on an older > > > version > > > than the latest stable. I see that your Makefile.PL and META.* > > > files > > > now specify Clone => 0.41, but this means only *minimum* version. > > > So > > > if 0.42 is already installed, things will still fail. > > > > > > Do you know if the problem is a known issue in Clone.pm? Maybe it > > > should be reported in their issue tracker? > > > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > > thanks for making me aware. Have released new version now which > > > > requires > > > > older version of Clone.pm > > > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via RT < > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > >
> > > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > > Transaction: Ticket created by SREZIC > > > > > Queue: Geo-Address-Formatter > > > > > Subject: Unsupported magic_ptr clone (with Clone 0.42?) > > > > > Broken in: 1.77 > > > > > Severity: (no value) > > > > > Owner: Nobody > > > > > Requestors: SREZIC@cpan.org > > > > > Status: new > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195
> > > > > >
> > > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > > > ... > > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm > > > > > line > > > > > 643. > > > > > # Tests were run but no plan was declared and done_testing() > > > > > was > > > > > not seen. > > > > > # Looks like your test exited with 255 just after 25. > > > > > t/blackbox/countries.t .. > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > All 25 subtests passed > > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm > > > > > line > > > > > 643. > > > > > # Tests were run but no plan was declared and done_testing() > > > > > was > > > > > not seen. > > > > > # Looks like your test exited with 255 just after 3. > > > > > t/unit/abbreviate.t ..... > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > All 3 subtests passed > > > > > ... > > > > > > > > > > This seems to happen with the most recent Clone.pm version. > > > > > Statistical > > > > > analysis (theta=-1 means "bad"): > > > > > > > > > > **************************************************************** > > > > > Regression 'mod:Clone' > > > > > **************************************************************** > > > > > Name Theta StdErr T-stat > > > > > [0='const'] 1.0000 0.0000 > > > > > 11034699526378720.00 > > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > > -10564920452501012.00 > > > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > > **************************************************************** > > > > > > > > > >
> > > > > > > >
Hey, Slaven! Hi Ed! Thank you for letting me know. Clone 0.42 changes the way magic is cloned to fix a segmentation fault. It was not supposed to break anything and we're looking into it. I'll let you know when we release 0.43 so all you need to do (then) is set the minimal version to 0.43. Thanks again! garu On Mon Jul 29 12:27:44 2019, SREZIC wrote: Show quoted text
> Adding GARU to the discussion. > > On 2019-07-29 06:49:43, edf@sloan.mit.edu wrote:
> > yes, definitely possible, but would prefer to understand why Clone.pm > > all > > of a sudden thinks my code is in error. > > I did not touch that code, and as far as I can tell I am following > > their > > publicly stated usage. > > > > I am on it, though not with massive urgency as I am on holiday > > > > thanks, > > Ed > > > > Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < > > bug-Geo-Address-Formatter@rt.cpan.org>: > >
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > Another idea: maybe in your case Storable::dclone would also work as > > > a > > > cloning function. As a plus, Storable.pm is perl core module, so you > > > have a > > > dependency less. > > > > > > On 2019-07-27 09:37:40, SREZIC wrote:
> > > > But in the CPAN world it is not possible to depend on an older > > > > version > > > > than the latest stable. I see that your Makefile.PL and META.* > > > > files > > > > now specify Clone => 0.41, but this means only *minimum* version. > > > > So > > > > if 0.42 is already installed, things will still fail. > > > > > > > > Do you know if the problem is a known issue in Clone.pm? Maybe it > > > > should be reported in their issue tracker? > > > > > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > > > thanks for making me aware. Have released new version now which > > > > > requires > > > > > older version of Clone.pm > > > > > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via RT < > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > >
> > > > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > > > Transaction: Ticket created by SREZIC > > > > > > Queue: Geo-Address-Formatter > > > > > > Subject: Unsupported magic_ptr clone (with Clone 0.42?) > > > > > > Broken in: 1.77 > > > > > > Severity: (no value) > > > > > > Owner: Nobody > > > > > > Requestors: SREZIC@cpan.org > > > > > > Status: new > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195
> > > > > > >
> > > > > > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > > > > > ... > > > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm > > > > > > line > > > > > > 643. > > > > > > # Tests were run but no plan was declared and done_testing() > > > > > > was > > > > > > not seen. > > > > > > # Looks like your test exited with 255 just after 25. > > > > > > t/blackbox/countries.t .. > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > All 25 subtests passed > > > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm > > > > > > line > > > > > > 643. > > > > > > # Tests were run but no plan was declared and done_testing() > > > > > > was > > > > > > not seen. > > > > > > # Looks like your test exited with 255 just after 3. > > > > > > t/unit/abbreviate.t ..... > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > All 3 subtests passed > > > > > > ... > > > > > > > > > > > > This seems to happen with the most recent Clone.pm version. > > > > > > Statistical > > > > > > analysis (theta=-1 means "bad"): > > > > > > > > > > > > **************************************************************** > > > > > > Regression 'mod:Clone' > > > > > > **************************************************************** > > > > > > Name Theta StdErr T-stat > > > > > > [0='const'] 1.0000 0.0000 > > > > > > 11034699526378720.00 > > > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > > > -10564920452501012.00 > > > > > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > > > **************************************************************** > > > > > > > > > > > >
> > > > > > > > > > > >
> >
Subject: Re: [rt.cpan.org #130195] Unsupported magic_ptr clone (with Clone 0.42?)
Date: Mon, 29 Jul 2019 21:13:07 +0200
To: bug-Geo-Address-Formatter [...] rt.cpan.org
From: Ed Freyfogle <edf [...] sloan.mit.edu>
Hi, thanks for the fast follow up. when using Clone 0.43, I now all of a sudden when running tests I see "Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line 721." this is the line in question: https://github.com/OpenCageData/perl-Geo-Address-Formatter/blob/master/lib/Geo/Address/Formatter.pm#L721 my $context = clone($components); In this specific test $components is a reference to hash that looks like this: { 'city' => 'Palo Alto', 'country' => 'USA', 'country_code' => 'US', 'county' => 'Santa Clara County', 'house_number' => '301', 'neighbourhood' => 'Crescent Park', 'postcode' => '94303', 'road' => 'Hamilton Ave', 'state' => 'California', 'state_code' => 'CA'; }; just strings as keys and values, nothing remarkable in my opinion. Thanks for having a look Ed Am Mo., 29. Juli 2019 um 21:02 Uhr schrieb Breno G. de Oliveira via RT < bug-Geo-Address-Formatter@rt.cpan.org>: Show quoted text
> Queue: Geo-Address-Formatter > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > Hey, Slaven! Hi Ed! > > Thank you for letting me know. Clone 0.42 changes the way magic is cloned > to fix a segmentation fault. It was not supposed to break anything and > we're looking into it. I'll let you know when we release 0.43 so all you > need to do (then) is set the minimal version to 0.43. > > Thanks again! > > garu > > On Mon Jul 29 12:27:44 2019, SREZIC wrote:
> > Adding GARU to the discussion. > > > > On 2019-07-29 06:49:43, edf@sloan.mit.edu wrote:
> > > yes, definitely possible, but would prefer to understand why Clone.pm > > > all > > > of a sudden thinks my code is in error. > > > I did not touch that code, and as far as I can tell I am following > > > their > > > publicly stated usage. > > > > > > I am on it, though not with massive urgency as I am on holiday > > > > > > thanks, > > > Ed > > > > > > Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > >
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > Another idea: maybe in your case Storable::dclone would also work as > > > > a > > > > cloning function. As a plus, Storable.pm is perl core module, so you > > > > have a > > > > dependency less. > > > > > > > > On 2019-07-27 09:37:40, SREZIC wrote:
> > > > > But in the CPAN world it is not possible to depend on an older > > > > > version > > > > > than the latest stable. I see that your Makefile.PL and META.* > > > > > files > > > > > now specify Clone => 0.41, but this means only *minimum* version. > > > > > So > > > > > if 0.42 is already installed, things will still fail. > > > > > > > > > > Do you know if the problem is a known issue in Clone.pm? Maybe it > > > > > should be reported in their issue tracker? > > > > > > > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > > > > thanks for making me aware. Have released new version now which > > > > > > requires > > > > > > older version of Clone.pm > > > > > > > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via RT < > > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > > >
> > > > > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > > > > Transaction: Ticket created by SREZIC > > > > > > > Queue: Geo-Address-Formatter > > > > > > > Subject: Unsupported magic_ptr clone (with Clone 0.42?) > > > > > > > Broken in: 1.77 > > > > > > > Severity: (no value) > > > > > > > Owner: Nobody > > > > > > > Requestors: SREZIC@cpan.org > > > > > > > Status: new > > > > > > > Ticket <URL:
> https://rt.cpan.org/Ticket/Display.html?id=130195
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > > > > > > > ... > > > > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm > > > > > > > line > > > > > > > 643. > > > > > > > # Tests were run but no plan was declared and done_testing() > > > > > > > was > > > > > > > not seen. > > > > > > > # Looks like your test exited with 255 just after 25. > > > > > > > t/blackbox/countries.t .. > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > All 25 subtests passed > > > > > > > Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm > > > > > > > line > > > > > > > 643. > > > > > > > # Tests were run but no plan was declared and done_testing() > > > > > > > was > > > > > > > not seen. > > > > > > > # Looks like your test exited with 255 just after 3. > > > > > > > t/unit/abbreviate.t ..... > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > All 3 subtests passed > > > > > > > ... > > > > > > > > > > > > > > This seems to happen with the most recent Clone.pm version. > > > > > > > Statistical > > > > > > > analysis (theta=-1 means "bad"): > > > > > > > > > > > > > >
> ****************************************************************
> > > > > > > Regression 'mod:Clone' > > > > > > >
> ****************************************************************
> > > > > > > Name Theta StdErr T-stat > > > > > > > [0='const'] 1.0000 0.0000 > > > > > > > 11034699526378720.00 > > > > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > > > > -10564920452501012.00 > > > > > > > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > > > >
> ****************************************************************
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > >
> > > >
Thanks for reporting this issue, this is coming from the updated clone logic to clone Magic I will have a check at it. nicolas On Mon Jul 29 15:13:45 2019, edf@sloan.mit.edu wrote: Show quoted text
> Hi, > > thanks for the fast follow up. > > when using Clone 0.43, I now all of a sudden when running tests I see > "Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > 721." > > this is the line in question: > https://github.com/OpenCageData/perl-Geo-Address- > Formatter/blob/master/lib/Geo/Address/Formatter.pm#L721 > > my $context = clone($components); > > In this specific test $components is a reference to hash that looks > like > this: > { > 'city' => 'Palo Alto', > 'country' => 'USA', > 'country_code' => 'US', > 'county' => 'Santa Clara County', > 'house_number' => '301', > 'neighbourhood' => 'Crescent Park', > 'postcode' => '94303', > 'road' => 'Hamilton Ave', > 'state' => 'California', > 'state_code' => 'CA'; > }; > > just strings as keys and values, nothing remarkable in my opinion. > > Thanks for having a look > > Ed > > > > > > > > Am Mo., 29. Juli 2019 um 21:02 Uhr schrieb Breno G. de Oliveira via RT > < > bug-Geo-Address-Formatter@rt.cpan.org>: >
> > Queue: Geo-Address-Formatter > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > Hey, Slaven! Hi Ed! > > > > Thank you for letting me know. Clone 0.42 changes the way magic is > > cloned > > to fix a segmentation fault. It was not supposed to break anything > > and > > we're looking into it. I'll let you know when we release 0.43 so all > > you > > need to do (then) is set the minimal version to 0.43. > > > > Thanks again! > > > > garu > > > > On Mon Jul 29 12:27:44 2019, SREZIC wrote:
> > > Adding GARU to the discussion. > > > > > > On 2019-07-29 06:49:43, edf@sloan.mit.edu wrote:
> > > > yes, definitely possible, but would prefer to understand why > > > > Clone.pm > > > > all > > > > of a sudden thinks my code is in error. > > > > I did not touch that code, and as far as I can tell I am > > > > following > > > > their > > > > publicly stated usage. > > > > > > > > I am on it, though not with massive urgency as I am on holiday > > > > > > > > thanks, > > > > Ed > > > > > > > > Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > >
> > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > > > Another idea: maybe in your case Storable::dclone would also > > > > > work as > > > > > a > > > > > cloning function. As a plus, Storable.pm is perl core module, > > > > > so you > > > > > have a > > > > > dependency less. > > > > > > > > > > On 2019-07-27 09:37:40, SREZIC wrote:
> > > > > > But in the CPAN world it is not possible to depend on an > > > > > > older > > > > > > version > > > > > > than the latest stable. I see that your Makefile.PL and > > > > > > META.* > > > > > > files > > > > > > now specify Clone => 0.41, but this means only *minimum* > > > > > > version. > > > > > > So > > > > > > if 0.42 is already installed, things will still fail. > > > > > > > > > > > > Do you know if the problem is a known issue in Clone.pm? > > > > > > Maybe it > > > > > > should be reported in their issue tracker? > > > > > > > > > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > > > > > thanks for making me aware. Have released new version now > > > > > > > which > > > > > > > requires > > > > > > > older version of Clone.pm > > > > > > > > > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via > > > > > > > RT < > > > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > > > >
> > > > > > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > > > > > Transaction: Ticket created by SREZIC > > > > > > > > Queue: Geo-Address-Formatter > > > > > > > > Subject: Unsupported magic_ptr clone (with Clone > > > > > > > > 0.42?) > > > > > > > > Broken in: 1.77 > > > > > > > > Severity: (no value) > > > > > > > > Owner: Nobody > > > > > > > > Requestors: SREZIC@cpan.org > > > > > > > > Status: new > > > > > > > > Ticket <URL:
> > https://rt.cpan.org/Ticket/Display.html?id=130195
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > > > > > > > > > ... > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > line > > > > > > > > 643. > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > done_testing() > > > > > > > > was > > > > > > > > not seen. > > > > > > > > # Looks like your test exited with 255 just after 25. > > > > > > > > t/blackbox/countries.t .. > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > All 25 subtests passed > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > line > > > > > > > > 643. > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > done_testing() > > > > > > > > was > > > > > > > > not seen. > > > > > > > > # Looks like your test exited with 255 just after 3. > > > > > > > > t/unit/abbreviate.t ..... > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > All 3 subtests passed > > > > > > > > ... > > > > > > > > > > > > > > > > This seems to happen with the most recent Clone.pm > > > > > > > > version. > > > > > > > > Statistical > > > > > > > > analysis (theta=-1 means "bad"): > > > > > > > > > > > > > > > >
> > ****************************************************************
> > > > > > > > Regression 'mod:Clone' > > > > > > > >
> > ****************************************************************
> > > > > > > > Name Theta StdErr T-stat > > > > > > > > [0='const'] 1.0000 0.0000 > > > > > > > > 11034699526378720.00 > > > > > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > > > > > -10564920452501012.00 > > > > > > > > > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > > > > >
> > ****************************************************************
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > >
> > > > > > > >
This is going to be fixed via https://github.com/garu/Clone/pull/26 We will need a new Clone release to take effect On Mon Jul 29 15:13:45 2019, edf@sloan.mit.edu wrote: Show quoted text
> Hi, > > thanks for the fast follow up. > > when using Clone 0.43, I now all of a sudden when running tests I see > "Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > 721." > > this is the line in question: > https://github.com/OpenCageData/perl-Geo-Address- > Formatter/blob/master/lib/Geo/Address/Formatter.pm#L721 > > my $context = clone($components); > > In this specific test $components is a reference to hash that looks > like > this: > { > 'city' => 'Palo Alto', > 'country' => 'USA', > 'country_code' => 'US', > 'county' => 'Santa Clara County', > 'house_number' => '301', > 'neighbourhood' => 'Crescent Park', > 'postcode' => '94303', > 'road' => 'Hamilton Ave', > 'state' => 'California', > 'state_code' => 'CA'; > }; > > just strings as keys and values, nothing remarkable in my opinion. > > Thanks for having a look > > Ed > > > > > > > > Am Mo., 29. Juli 2019 um 21:02 Uhr schrieb Breno G. de Oliveira via RT > < > bug-Geo-Address-Formatter@rt.cpan.org>: >
> > Queue: Geo-Address-Formatter > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > Hey, Slaven! Hi Ed! > > > > Thank you for letting me know. Clone 0.42 changes the way magic is > > cloned > > to fix a segmentation fault. It was not supposed to break anything > > and > > we're looking into it. I'll let you know when we release 0.43 so all > > you > > need to do (then) is set the minimal version to 0.43. > > > > Thanks again! > > > > garu > > > > On Mon Jul 29 12:27:44 2019, SREZIC wrote:
> > > Adding GARU to the discussion. > > > > > > On 2019-07-29 06:49:43, edf@sloan.mit.edu wrote:
> > > > yes, definitely possible, but would prefer to understand why > > > > Clone.pm > > > > all > > > > of a sudden thinks my code is in error. > > > > I did not touch that code, and as far as I can tell I am > > > > following > > > > their > > > > publicly stated usage. > > > > > > > > I am on it, though not with massive urgency as I am on holiday > > > > > > > > thanks, > > > > Ed > > > > > > > > Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > >
> > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > > > Another idea: maybe in your case Storable::dclone would also > > > > > work as > > > > > a > > > > > cloning function. As a plus, Storable.pm is perl core module, > > > > > so you > > > > > have a > > > > > dependency less. > > > > > > > > > > On 2019-07-27 09:37:40, SREZIC wrote:
> > > > > > But in the CPAN world it is not possible to depend on an > > > > > > older > > > > > > version > > > > > > than the latest stable. I see that your Makefile.PL and > > > > > > META.* > > > > > > files > > > > > > now specify Clone => 0.41, but this means only *minimum* > > > > > > version. > > > > > > So > > > > > > if 0.42 is already installed, things will still fail. > > > > > > > > > > > > Do you know if the problem is a known issue in Clone.pm? > > > > > > Maybe it > > > > > > should be reported in their issue tracker? > > > > > > > > > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > > > > > thanks for making me aware. Have released new version now > > > > > > > which > > > > > > > requires > > > > > > > older version of Clone.pm > > > > > > > > > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via > > > > > > > RT < > > > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > > > >
> > > > > > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > > > > > Transaction: Ticket created by SREZIC > > > > > > > > Queue: Geo-Address-Formatter > > > > > > > > Subject: Unsupported magic_ptr clone (with Clone > > > > > > > > 0.42?) > > > > > > > > Broken in: 1.77 > > > > > > > > Severity: (no value) > > > > > > > > Owner: Nobody > > > > > > > > Requestors: SREZIC@cpan.org > > > > > > > > Status: new > > > > > > > > Ticket <URL:
> > https://rt.cpan.org/Ticket/Display.html?id=130195
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > > > > > > > > > ... > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > line > > > > > > > > 643. > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > done_testing() > > > > > > > > was > > > > > > > > not seen. > > > > > > > > # Looks like your test exited with 255 just after 25. > > > > > > > > t/blackbox/countries.t .. > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > All 25 subtests passed > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > line > > > > > > > > 643. > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > done_testing() > > > > > > > > was > > > > > > > > not seen. > > > > > > > > # Looks like your test exited with 255 just after 3. > > > > > > > > t/unit/abbreviate.t ..... > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > All 3 subtests passed > > > > > > > > ... > > > > > > > > > > > > > > > > This seems to happen with the most recent Clone.pm > > > > > > > > version. > > > > > > > > Statistical > > > > > > > > analysis (theta=-1 means "bad"): > > > > > > > > > > > > > > > >
> > ****************************************************************
> > > > > > > > Regression 'mod:Clone' > > > > > > > >
> > ****************************************************************
> > > > > > > > Name Theta StdErr T-stat > > > > > > > > [0='const'] 1.0000 0.0000 > > > > > > > > 11034699526378720.00 > > > > > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > > > > > -10564920452501012.00 > > > > > > > > > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > > > > >
> > ****************************************************************
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > >
> > > > > > > >
Subject: Re: [rt.cpan.org #130195] Unsupported magic_ptr clone (with Clone 0.42?)
Date: Mon, 29 Jul 2019 21:39:19 +0200
To: bug-Geo-Address-Formatter [...] rt.cpan.org
From: Ed Freyfogle <edf [...] sloan.mit.edu>
fantastic, thanks Am Mo., 29. Juli 2019 um 21:36 Uhr schrieb Nicolas R. via RT < bug-Geo-Address-Formatter@rt.cpan.org>: Show quoted text
> Queue: Geo-Address-Formatter > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > This is going to be fixed via https://github.com/garu/Clone/pull/26 > > We will need a new Clone release to take effect > > On Mon Jul 29 15:13:45 2019, edf@sloan.mit.edu wrote:
> > Hi, > > > > thanks for the fast follow up. > > > > when using Clone 0.43, I now all of a sudden when running tests I see > > "Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > > 721." > > > > this is the line in question: > > https://github.com/OpenCageData/perl-Geo-Address- > > Formatter/blob/master/lib/Geo/Address/Formatter.pm#L721 > > > > my $context = clone($components); > > > > In this specific test $components is a reference to hash that looks > > like > > this: > > { > > 'city' => 'Palo Alto', > > 'country' => 'USA', > > 'country_code' => 'US', > > 'county' => 'Santa Clara County', > > 'house_number' => '301', > > 'neighbourhood' => 'Crescent Park', > > 'postcode' => '94303', > > 'road' => 'Hamilton Ave', > > 'state' => 'California', > > 'state_code' => 'CA'; > > }; > > > > just strings as keys and values, nothing remarkable in my opinion. > > > > Thanks for having a look > > > > Ed > > > > > > > > > > > > > > > > Am Mo., 29. Juli 2019 um 21:02 Uhr schrieb Breno G. de Oliveira via RT > > < > > bug-Geo-Address-Formatter@rt.cpan.org>: > >
> > > Queue: Geo-Address-Formatter > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > Hey, Slaven! Hi Ed! > > > > > > Thank you for letting me know. Clone 0.42 changes the way magic is > > > cloned > > > to fix a segmentation fault. It was not supposed to break anything > > > and > > > we're looking into it. I'll let you know when we release 0.43 so all > > > you > > > need to do (then) is set the minimal version to 0.43. > > > > > > Thanks again! > > > > > > garu > > > > > > On Mon Jul 29 12:27:44 2019, SREZIC wrote:
> > > > Adding GARU to the discussion. > > > > > > > > On 2019-07-29 06:49:43, edf@sloan.mit.edu wrote:
> > > > > yes, definitely possible, but would prefer to understand why > > > > > Clone.pm > > > > > all > > > > > of a sudden thinks my code is in error. > > > > > I did not touch that code, and as far as I can tell I am > > > > > following > > > > > their > > > > > publicly stated usage. > > > > > > > > > > I am on it, though not with massive urgency as I am on holiday > > > > > > > > > > thanks, > > > > > Ed > > > > > > > > > > Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > >
> > > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > > > > > Another idea: maybe in your case Storable::dclone would also > > > > > > work as > > > > > > a > > > > > > cloning function. As a plus, Storable.pm is perl core module, > > > > > > so you > > > > > > have a > > > > > > dependency less. > > > > > > > > > > > > On 2019-07-27 09:37:40, SREZIC wrote:
> > > > > > > But in the CPAN world it is not possible to depend on an > > > > > > > older > > > > > > > version > > > > > > > than the latest stable. I see that your Makefile.PL and > > > > > > > META.* > > > > > > > files > > > > > > > now specify Clone => 0.41, but this means only *minimum* > > > > > > > version. > > > > > > > So > > > > > > > if 0.42 is already installed, things will still fail. > > > > > > > > > > > > > > Do you know if the problem is a known issue in Clone.pm? > > > > > > > Maybe it > > > > > > > should be reported in their issue tracker? > > > > > > > > > > > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > > > > > > thanks for making me aware. Have released new version now > > > > > > > > which > > > > > > > > requires > > > > > > > > older version of Clone.pm > > > > > > > > > > > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via > > > > > > > > RT < > > > > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > > > > >
> > > > > > > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > > > > > > Transaction: Ticket created by SREZIC > > > > > > > > > Queue: Geo-Address-Formatter > > > > > > > > > Subject: Unsupported magic_ptr clone (with Clone > > > > > > > > > 0.42?) > > > > > > > > > Broken in: 1.77 > > > > > > > > > Severity: (no value) > > > > > > > > > Owner: Nobody > > > > > > > > > Requestors: SREZIC@cpan.org > > > > > > > > > Status: new > > > > > > > > > Ticket <URL:
> > > https://rt.cpan.org/Ticket/Display.html?id=130195
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > > > > > > > > > > > ... > > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > > line > > > > > > > > > 643. > > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > > done_testing() > > > > > > > > > was > > > > > > > > > not seen. > > > > > > > > > # Looks like your test exited with 255 just after 25. > > > > > > > > > t/blackbox/countries.t .. > > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > > All 25 subtests passed > > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > > line > > > > > > > > > 643. > > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > > done_testing() > > > > > > > > > was > > > > > > > > > not seen. > > > > > > > > > # Looks like your test exited with 255 just after 3. > > > > > > > > > t/unit/abbreviate.t ..... > > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > > All 3 subtests passed > > > > > > > > > ... > > > > > > > > > > > > > > > > > > This seems to happen with the most recent Clone.pm > > > > > > > > > version. > > > > > > > > > Statistical > > > > > > > > > analysis (theta=-1 means "bad"): > > > > > > > > > > > > > > > > > >
> > > ****************************************************************
> > > > > > > > > Regression 'mod:Clone' > > > > > > > > >
> > > ****************************************************************
> > > > > > > > > Name Theta StdErr T-stat > > > > > > > > > [0='const'] 1.0000 0.0000 > > > > > > > > > 11034699526378720.00 > > > > > > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > > > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > > > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > > > > > > -10564920452501012.00 > > > > > > > > > > > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > > > > > >
> > > ****************************************************************
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > >
> > > > > > > > > > > >
> > > >

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #130195] Unsupported magic_ptr clone (with Clone 0.42?)
Date: Mon, 29 Jul 2019 22:07:06 +0200
To: bug-Geo-Address-Formatter [...] rt.cpan.org
From: Ed Freyfogle <edf [...] sloan.mit.edu>
many thanks I can see the new release and have installed it and now all tests pass Am Mo., 29. Juli 2019 um 21:42 Uhr schrieb Ed Freyfogle via RT < bug-Geo-Address-Formatter@rt.cpan.org>: Show quoted text
> Queue: Geo-Address-Formatter > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > fantastic, thanks > > Am Mo., 29. Juli 2019 um 21:36 Uhr schrieb Nicolas R. via RT < > bug-Geo-Address-Formatter@rt.cpan.org>: >
> > Queue: Geo-Address-Formatter > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > This is going to be fixed via https://github.com/garu/Clone/pull/26 > > > > We will need a new Clone release to take effect > > > > On Mon Jul 29 15:13:45 2019, edf@sloan.mit.edu wrote:
> > > Hi, > > > > > > thanks for the fast follow up. > > > > > > when using Clone 0.43, I now all of a sudden when running tests I see > > > "Unsupported magic_ptr clone at lib/Geo/Address/Formatter.pm line > > > 721." > > > > > > this is the line in question: > > > https://github.com/OpenCageData/perl-Geo-Address- > > > Formatter/blob/master/lib/Geo/Address/Formatter.pm#L721 > > > > > > my $context = clone($components); > > > > > > In this specific test $components is a reference to hash that looks > > > like > > > this: > > > { > > > 'city' => 'Palo Alto', > > > 'country' => 'USA', > > > 'country_code' => 'US', > > > 'county' => 'Santa Clara County', > > > 'house_number' => '301', > > > 'neighbourhood' => 'Crescent Park', > > > 'postcode' => '94303', > > > 'road' => 'Hamilton Ave', > > > 'state' => 'California', > > > 'state_code' => 'CA'; > > > }; > > > > > > just strings as keys and values, nothing remarkable in my opinion. > > > > > > Thanks for having a look > > > > > > Ed > > > > > > > > > > > > > > > > > > > > > > > > Am Mo., 29. Juli 2019 um 21:02 Uhr schrieb Breno G. de Oliveira via RT > > > < > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > >
> > > > Queue: Geo-Address-Formatter > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > Hey, Slaven! Hi Ed! > > > > > > > > Thank you for letting me know. Clone 0.42 changes the way magic is > > > > cloned > > > > to fix a segmentation fault. It was not supposed to break anything > > > > and > > > > we're looking into it. I'll let you know when we release 0.43 so all > > > > you > > > > need to do (then) is set the minimal version to 0.43. > > > > > > > > Thanks again! > > > > > > > > garu > > > > > > > > On Mon Jul 29 12:27:44 2019, SREZIC wrote:
> > > > > Adding GARU to the discussion. > > > > > > > > > > On 2019-07-29 06:49:43, edf@sloan.mit.edu wrote:
> > > > > > yes, definitely possible, but would prefer to understand why > > > > > > Clone.pm > > > > > > all > > > > > > of a sudden thinks my code is in error. > > > > > > I did not touch that code, and as far as I can tell I am > > > > > > following > > > > > > their > > > > > > publicly stated usage. > > > > > > > > > > > > I am on it, though not with massive urgency as I am on holiday > > > > > > > > > > > > thanks, > > > > > > Ed > > > > > > > > > > > > Am Sa., 27. Juli 2019 um 15:45 Uhr schrieb Slaven_Rezic via RT < > > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > > >
> > > > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=130195 > > > > > > > > > > > > > > > Another idea: maybe in your case Storable::dclone would also > > > > > > > work as > > > > > > > a > > > > > > > cloning function. As a plus, Storable.pm is perl core module, > > > > > > > so you > > > > > > > have a > > > > > > > dependency less. > > > > > > > > > > > > > > On 2019-07-27 09:37:40, SREZIC wrote:
> > > > > > > > But in the CPAN world it is not possible to depend on an > > > > > > > > older > > > > > > > > version > > > > > > > > than the latest stable. I see that your Makefile.PL and > > > > > > > > META.* > > > > > > > > files > > > > > > > > now specify Clone => 0.41, but this means only *minimum* > > > > > > > > version. > > > > > > > > So > > > > > > > > if 0.42 is already installed, things will still fail. > > > > > > > > > > > > > > > > Do you know if the problem is a known issue in Clone.pm? > > > > > > > > Maybe it > > > > > > > > should be reported in their issue tracker? > > > > > > > > > > > > > > > > On 2019-07-27 08:21:47, edf@sloan.mit.edu wrote:
> > > > > > > > > thanks for making me aware. Have released new version now > > > > > > > > > which > > > > > > > > > requires > > > > > > > > > older version of Clone.pm > > > > > > > > > > > > > > > > > > Am Fr., 26. Juli 2019 um 19:29 Uhr schrieb Slaven_Rezic via > > > > > > > > > RT < > > > > > > > > > bug-Geo-Address-Formatter@rt.cpan.org>: > > > > > > > > >
> > > > > > > > > > Fri Jul 26 13:29:10 2019: Request 130195 was acted upon. > > > > > > > > > > Transaction: Ticket created by SREZIC > > > > > > > > > > Queue: Geo-Address-Formatter > > > > > > > > > > Subject: Unsupported magic_ptr clone (with Clone > > > > > > > > > > 0.42?) > > > > > > > > > > Broken in: 1.77 > > > > > > > > > > Severity: (no value) > > > > > > > > > > Owner: Nobody > > > > > > > > > > Requestors: SREZIC@cpan.org > > > > > > > > > > Status: new > > > > > > > > > > Ticket <URL:
> > > > https://rt.cpan.org/Ticket/Display.html?id=130195
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On some of my smokers the test suite fails: > > > > > > > > > > > > > > > > > > > > ... > > > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > > > line > > > > > > > > > > 643. > > > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > > > done_testing() > > > > > > > > > > was > > > > > > > > > > not seen. > > > > > > > > > > # Looks like your test exited with 255 just after 25. > > > > > > > > > > t/blackbox/countries.t .. > > > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > > > All 25 subtests passed > > > > > > > > > > Unsupported magic_ptr clone at > > > > > > > > > > lib/Geo/Address/Formatter.pm > > > > > > > > > > line > > > > > > > > > > 643. > > > > > > > > > > # Tests were run but no plan was declared and > > > > > > > > > > done_testing() > > > > > > > > > > was > > > > > > > > > > not seen. > > > > > > > > > > # Looks like your test exited with 255 just after 3. > > > > > > > > > > t/unit/abbreviate.t ..... > > > > > > > > > > Dubious, test returned 255 (wstat 65280, 0xff00) > > > > > > > > > > All 3 subtests passed > > > > > > > > > > ... > > > > > > > > > > > > > > > > > > > > This seems to happen with the most recent Clone.pm > > > > > > > > > > version. > > > > > > > > > > Statistical > > > > > > > > > > analysis (theta=-1 means "bad"): > > > > > > > > > > > > > > > > > > > >
> > > > ****************************************************************
> > > > > > > > > > Regression 'mod:Clone' > > > > > > > > > >
> > > > ****************************************************************
> > > > > > > > > > Name Theta StdErr T-stat > > > > > > > > > > [0='const'] 1.0000 0.0000 > > > > > > > > > > 11034699526378720.00 > > > > > > > > > > [1='eq_0.39'] -0.0000 0.0000 -1.06 > > > > > > > > > > [2='eq_0.41'] -0.0000 0.0000 -3.36 > > > > > > > > > > [3='eq_0.42'] -1.0000 0.0000 > > > > > > > > > > -10564920452501012.00 > > > > > > > > > > > > > > > > > > > > R^2= 1.000, N= 80, K= 4 > > > > > > > > > >
> > > > ****************************************************************
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > >
> >

Message body is not shown because it is too large.

On Mon Jul 29 16:07:39 2019, edf@sloan.mit.edu wrote: Show quoted text
> many thanks I can see the new release and have installed it and now > all > tests pass
That's fantastic news! Please make sure to set the minimal version of Clone to 0.43, so other users don't fall into the same trap. Cheers!