Skip Menu |

This queue is for tickets about the ogd CPAN distribution.

Report information
The Basics
Id: 92270
Status: open
Priority: 0/
Queue: ogd

People
Owner: Nobody in particular
Requestors: blue [...] thisisnotmyrealemail.com
Cc:
AdminCc:

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



Subject: Can't locate object method "DESTROY" via package ...
I was frequently getting segfaults with EV, so tried using ogd, but that always resulted in the error: Can't locate object method "DESTROY" via package "AnyEvent::CondVar" at /dev/perls/perl-5.18/lib/site_perl/5.18.1/ogd.pm line 135. The below change fixes it. --- /tmp/ogd.pm 2014-01-19 19:58:59.000000000 +0000 +++ /tmp/new.pm 2014-01-19 19:59:08.000000000 +0000 @@ -132,7 +132,7 @@ foreach (reverse 0..$#object) { next unless defined $object[$_]; $package{blessed $object[$_]}++; - $object[$_]->DESTROY( 1 ); + $object[$_]->DESTROY( 1 ) if $object[$_]->can('DESTROY'); $done++ if DEBUG; } print STDERR "!$done\n" if DEBUG;
Subject: Re: [rt.cpan.org #92270] Can't locate object method "DESTROY" via package ...
Date: Mon, 20 Jan 2014 16:50:21 +0100
To: bug-ogd [...] rt.cpan.org
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Thank you for your report. Would you be interested in taking over maintenance of this module? It is up for grabs! Kind regards, Elizabeth Mattijsen =================================== On 19 Jan 2014, at 21:05, Bug Menot via RT <bug-ogd@rt.cpan.org> wrote: Show quoted text
> Sun Jan 19 15:05:24 2014: Request 92270 was acted upon. > Transaction: Ticket created by blue > Queue: ogd > Subject: Can't locate object method "DESTROY" via package ... > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: blue@thisisnotmyrealemail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92270 > > > > I was frequently getting segfaults with EV, so tried using ogd, but that always resulted in the error: Can't locate object method "DESTROY" via package "AnyEvent::CondVar" at /dev/perls/perl-5.18/lib/site_perl/5.18.1/ogd.pm line 135. The below change fixes it. > > --- /tmp/ogd.pm 2014-01-19 19:58:59.000000000 +0000 > +++ /tmp/new.pm 2014-01-19 19:59:08.000000000 +0000 > @@ -132,7 +132,7 @@ > foreach (reverse 0..$#object) { > next unless defined $object[$_]; > $package{blessed $object[$_]}++; > - $object[$_]->DESTROY( 1 ); > + $object[$_]->DESTROY( 1 ) if $object[$_]->can('DESTROY'); > $done++ if DEBUG; > } > print STDERR "!$done\n" if DEBUG;
On Mon Jan 20 10:50:33 2014, liz@dijkmat.nl wrote: Show quoted text
> Thank you for your report. > > Would you be interested in taking over maintenance of this module? It > is up for grabs!
Hi Liz I'm interested since I have to maintain old code with lots of global objects and am doing company internal tutorials on global destruction: See http://www.slideshare.net/rurban/global-destruction-in-5-minutes-34458961 My release candidate is at https://github.com/rurban/ogd Fixed this bug and a few others. May I? -- Reini Urban
Subject: Re: [rt.cpan.org #92270] Can't locate object method "DESTROY" via package ...
Date: Thu, 3 Jul 2014 07:39:06 +0200
To: bug-ogd [...] rt.cpan.org
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
Dear Reini, the module is all yours! Have fun with it! Liz ============= On 03 Jul 2014, at 06:06, Reini Urban via RT <bug-ogd@rt.cpan.org> wrote: Show quoted text
> Queue: ogd > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=92270 > > > On Mon Jan 20 10:50:33 2014, liz@dijkmat.nl wrote:
>> Thank you for your report. >> >> Would you be interested in taking over maintenance of this module? It >> is up for grabs!
> > Hi Liz > > I'm interested since I have to maintain old code with lots of global objects > and am doing company internal tutorials on global destruction: > See http://www.slideshare.net/rurban/global-destruction-in-5-minutes-34458961 > > My release candidate is at > https://github.com/rurban/ogd > > Fixed this bug and a few others. > > May I? > -- > Reini Urban >