FAIL AnyEvent-2.1 i486-linux 2.4.31
  Home FAQ Contact Sign in
perl.cpan.testers only
 
Advanced search
POPULAR GROUPS

more...

perl.cpan.testers Profile…
 Up
FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: David Precious
Date: Nov 29, 2006 05:50

This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/

Please cc any replies to cpan-testers@perl.org to keep other
test volunteers informed and to prevent any duplicate effort.

--
Dear Marc Lehmann,

This is a computer-generated test report for AnyEvent-2.1, created
automatically by CPAN::Reporter, version 0.35, and sent to the CPAN
Testers mailing list. If you have received this email directly, it is
because the person testing your distribution chose to send a copy to your
CPAN email address.

Thank you for uploading your work to CPAN. However, it appears that
there were some problems testing your distribution.

Sections of this report:

* Tester comments
* Prerequisites
* Environment and other context
* Test output
Show full article (4.81Kb)
9 Comments
Untitled         


Author: davidp
Date: Nov 30, 2006 07:02

no comments
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: David Precious
Date: Nov 30, 2006 07:25

On Thu, 30 Nov 2006, David Precious wrote:
> Maybe the download of AnyEvent got corrupted in some way - I'll delete any
> cached files and try again.
>
> If I still get the error (I'll prevent it sending a dupe to the
> cpan-testers list) then I'll give the machine a thorough checkover with
> memtest etc to look for any problems.

Hmm. I deleted it and redownloaded, same issue (that was using the CPAN
module), also downloaded it myself and did perl Makefile.PL; make; make
test and got the same error.

I don't believe this is machine related.

I've just had the same error from a different machine:

t/01_basic....nyEven: not a valid method for AnyEvent objects at
t/01_basic.t line 8

I also see some other failures which look like the same problem, for an
example:
http://www.nntp.perl.org/group/perl.cpan.testers/379277

and some others which don't give the error message but are also failing at
01_basic.t (could be completely unrelated).
Show full article (0.98Kb)
no comments
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: Marc Lehmann
Date: Nov 30, 2006 06:20

On Wed, Nov 29, 2006 at 01:50:28PM +0000, David Precious preshweb.co.uk> wrote:
> Thank you for uploading your work to CPAN. However, it appears that
> there were some problems testing your distribution.

Are you sure your hardware is working?
> t/00 load.....ok
> t/01 basic....1 e,Ue,U-- ishpe,Uq`

There is no such thing in t/01 basic.t. The line looks like:

my $cv = AnyEvent->condvar;

Please note that your error message contains a binary zero, which can only
be caused by some form of memory corruption, as you can't specify 0 bytes
as method names unquoted.

Can you retry the test on a non-faulty machine?

--
The choice of a
-----==- GNU
----==-- generation Marc Lehmann
---==---( ) pcg@goof.com
--==---/ / \/ // /\ \/ / http://schmorp.de/
-=====/ / // /\ , / / /\ \ XX11-RIPE
1 Comment
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: David Golden
Date: Dec 1, 2006 04:50

On 11/30/06, David Precious preshweb.co.uk> wrote:
> I've just had the same error from a different machine:
>
> t/01_basic....nyEven: not a valid method for AnyEvent objects at
> t/01_basic.t line 8

Ditto. After some digging, it looks like $AUTOLOAD is getting mangled
before the method call (somewhere during detection of event modules),
so that the method call turns into another call to AUTOLOAD().

I saved it away in a lexical instead

(my $fcn = $AUTOLOAD) =~ s/.*://;

and changed all references to $AUTOLOAD accordingly and it seemed to
work. (Well, it hung up at first, then I upgraded Event.pm and then
it worked, but it didn't die the way it was.)

Also, for testing, you might want to force a particular event module
rather than rely upon whatever gets detected. You could even re-run
the tests for each event module that is available. You'd probably
have to use a code reference in @INC to make it work, but it would
probably lead to better information back from your test reports as
you'd be able to know exactly what the underlying module is.
Show full article (1.10Kb)
1 Comment
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: Marc Lehmann
Date: Dec 1, 2006 16:42

On Thu, Nov 30, 2006 at 03:25:50PM +0000, David Precious preshweb.co.uk> wrote:
> On Thu, 30 Nov 2006, David Precious wrote:
>> Maybe the download of AnyEvent got corrupted in some way - I'll delete any
>> cached files and try again.
>>
>> If I still get the error (I'll prevent it sending a dupe to the
>> cpan-testers list) then I'll give the machine a thorough checkover with
>> memtest etc to look for any problems.
>
> Hmm. I deleted it and redownloaded, same issue (that was using the CPAN
> module), also downloaded it myself and did perl Makefile.PL; make; make

(Sorry for answering in reverse order).
> I've just had the same error from a different machine:
>
> t/01_basic....nyEven: not a valid method for AnyEvent objects at
> t/01_basic.t line 8

Thats not the same symptom.

That neither.
Show full article (1.92Kb)
no comments
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: Marc Lehmann
Date: Dec 1, 2006 16:31

On Fri, Dec 01, 2006 at 07:50:39AM -0500, David Golden gmail.com> wrote:
>>I've just had the same error from a different machine:
>>
>>t/01_basic....nyEven: not a valid method for AnyEvent objects at
>>t/01_basic.t line 8
>
> Ditto. After some digging, it looks like $AUTOLOAD is getting mangled
> before the method call (somewhere during detection of event modules),
> so that the method call turns into another call to AUTOLOAD().
>
> I saved it away in a lexical instead
>
> (my $fcn = $AUTOLOAD) =~ s/.*://;

This looks like a rather disastrous case of memory corruption. If hardware
can be ruled out, and issues like compilers too, it is likely a bug in perl.

As I cannot reproduce this with 5.8.8, could you try it with a current
version of perl to see wether this bug has been fixed in the meantime?
Show full article (2.10Kb)
no comments
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: David Golden
Date: Dec 2, 2006 06:13

On 12/1/06, Marc Lehmann wrote:
> This looks like a rather disastrous case of memory corruption. If hardware
> can be ruled out, and issues like compilers too, it is likely a bug in perl.
>
> As I cannot reproduce this with 5.8.8, could you try it with a current
> version of perl to see wether this bug has been fixed in the meantime?

It is.

$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.17-10-generic, archname=i686-linux-64int-ld
uname='linux vulcan 2.6.17-10-generic...
Show full article (4.04Kb)
1 Comment
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: David Golden
Date: Dec 2, 2006 13:19

On 12/2/06, Marc Lehmann wrote:
> I do not have the time.

OK. I can understand that
-- I'm being very careful where I make
maintenance commitments myself.

David
no comments
Re: FAIL AnyEvent-2.1 i486-linux 2.4.31         


Author: Marc Lehmann
Date: Dec 2, 2006 11:47

On Sat, Dec 02, 2006 at 09:13:47AM -0500, David Golden gmail.com> wrote:
>>As I cannot reproduce this with 5.8.8, could you try it with a current
>>version of perl to see wether this bug has been fixed in the meantime?
>
> It is.

Thanks, thats good, although at least one very similar failure was
reported with a 5.8.8 perl.
>>The purpose of tests is actually to test stuff: Forcing the module to use
>>an event model that works over the one that will get used will only hide
>>bugs.
>
> You're missing my broader point

I do not think so, but you might know better than me, of course.
> you're not running a controlled test.

I am. What makes you think differently?
> For each Event module you support, you should force the usage
> of a particular module if its available on the system running tests
> (and skip otherwise). Then you could more easily isolate problems to
> Event, Coro, Tk, etc.
Show full article (2.97Kb)
no comments