Skip Menu |

This queue is for tickets about the Event CPAN distribution.

Report information
The Basics
Id: 25542
Status: resolved
Priority: 0/
Queue: Event

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

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



Subject: "make test" Hanged at t/bored.t
Dear Joshua Nathaniel Pritikin, Hi. This is imacat from Taiwan. I'm running CPAN tests for my platform, a Linux 2.6 x86_64 box. Event 1.08 hanged at t/bored.t. I'm not good at xs/C, so I can't tell why. Many packages require Event and they all hang when testing their prerequisite Event. Could you please check this issue? Thank you. I attached the console log below. Hope that this helps. Please tell me if I could be of any help, or if you need any more information. Thank you. imacat@rinse ~/tmp % tar xzf Event-1.08.tar.gz imacat@rinse ~/tmp % cd Event-1.08 imacat@rinse tmp/Event-1.08 % perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Event imacat@rinse tmp/Event-1.08 % make cp lib/Event/signal.pm blib/lib/Event/signal.pm cp lib/Event/io.pm blib/lib/Event/io.pm cp lib/Event/generic.pod blib/lib/Event/generic.pod cp lib/Event/timer.pm blib/lib/Event/timer.pm cp lib/Event/generic.pm blib/lib/Event/generic.pm cp lib/Event/var.pm blib/lib/Event/var.pm cp lib/Event/idle.pm blib/lib/Event/idle.pm cp lib/Event/typemap blib/lib/Event/typemap cp lib/Event.pm blib/lib/Event.pm cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h cp lib/Event.pod blib/lib/Event.pod cp lib/Event/group.pm blib/lib/Event/group.pm cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm cp lib/Event/type.pm blib/lib/Event/type.pm cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm Running Mkbootstrap for Event () Manifying blib/man3/Event.3 Manifying blib/man3/Event::generic.3 Manifying blib/man3/Event::MakeMaker.3 imacat@rinse tmp/Event-1.08 % make test t/attach_to.......ok t/bored...........ok 1/5make: *** [test_dynamic] Interrupt imacat@rinse tmp/Event-1.08 % PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/bored.t t/bored....1..5 # Running under perl version 5.008008 for linux # Current time local: Mon Mar 19 22:48:00 2007 # Current time GMT: Mon Mar 19 14:48:00 2007 # Using Test.pm version 1.25 ok 1 ok 2 ok 3 imacat@rinse tmp/Event-1.08 % perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.16.29, archname=x86_64-linux-thread-multi-ld uname='linux rinse 2.6.16.29 #1 smp sun nov 5 23:08:05 cst 2006 x86_64 gnulinux ' config_args='-s -d -Dusethreads -Dcc=gcc -Duselongdouble -Doptimize=-g -O3 -Duse64bitint -Duse64bitall -Dprefix=/usr -Dd_dosuid -Dotherlibdirs=/usr/share/perl5 -Dinc_version_list=none -Acccdlflags=-fPIC -Duseshrplib=true -Dcf_email=imacat@mail.imacat.idv.tw' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=define uselongdouble=define usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-g -O3', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include' ccversion='', gccversion='3.4.4 20050314 (prerelease) (Debian 3.4.3-13sarge1)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8 alignbytes=16, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi-ld/CORE' cccdlflags=' -fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API Built under linux Compiled at Mar 15 2007 14:49:53 %ENV: PERL5LIB="/home/imacat/lib/perl5" PERL5_CPANPLUS_CONFIG="/home/imacat/.cpanplus/config" @INC: /home/imacat/lib/perl5 /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi-ld /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi-ld /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/share/perl5 . imacat@rinse tmp/Event-1.08 %
Dear Joshua Nathaniel Pritikin, Hi. This is imacat from Taiwan. I found that this is still broken in your Event-1.10 released earlier this year. Could you please take some time to look into this, because Event is listed as prerequisite in so many modules that, if Event does not work, many modules do not work in consequence. On 2007-03-19 10:51:16 Mon, IMACAT wrote Show quoted text
> Dear Joshua Nathaniel Pritikin, > > Hi. This is imacat from Taiwan. I'm running CPAN tests for my > platform, a Linux 2.6 x86_64 box. Event 1.08 hanged at t/bored.t. I'm > not good at xs/C, so I can't tell why. Many packages require Event and > they all hang when testing their prerequisite Event. Could you please > check this issue? Thank you. > > I attached the console log below. Hope that this helps. Please > tell me if I could be of any help, or if you need any more information. > Thank you. > > imacat@rinse ~/tmp % tar xzf Event-1.08.tar.gz > imacat@rinse ~/tmp % cd Event-1.08 > imacat@rinse tmp/Event-1.08 % perl Makefile.PL > Checking if your kit is complete... > Looks good > Writing Makefile for Event > imacat@rinse tmp/Event-1.08 % make > cp lib/Event/signal.pm blib/lib/Event/signal.pm > cp lib/Event/io.pm blib/lib/Event/io.pm > cp lib/Event/generic.pod blib/lib/Event/generic.pod > cp lib/Event/timer.pm blib/lib/Event/timer.pm > cp lib/Event/generic.pm blib/lib/Event/generic.pm > cp lib/Event/var.pm blib/lib/Event/var.pm > cp lib/Event/idle.pm blib/lib/Event/idle.pm > cp lib/Event/typemap blib/lib/Event/typemap > cp lib/Event.pm blib/lib/Event.pm > cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h > cp lib/Event.pod blib/lib/Event.pod > cp lib/Event/group.pm blib/lib/Event/group.pm > cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm > cp lib/Event/type.pm blib/lib/Event/type.pm > cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm > Running Mkbootstrap for Event () > Manifying blib/man3/Event.3 > Manifying blib/man3/Event::generic.3 > Manifying blib/man3/Event::MakeMaker.3 > imacat@rinse tmp/Event-1.08 % make test > t/attach_to.......ok > t/bored...........ok 1/5make: *** [test_dynamic] Interrupt > > imacat@rinse tmp/Event-1.08 % PERL_DL_NONLAZY=1 perl > "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', > 'blib/arch')" t/bored.t > t/bored....1..5 > # Running under perl version 5.008008 for linux > # Current time local: Mon Mar 19 22:48:00 2007 > # Current time GMT: Mon Mar 19 14:48:00 2007 > # Using Test.pm version 1.25 > ok 1 > ok 2 > ok 3 > > imacat@rinse tmp/Event-1.08 % perl -V > Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > Platform: > osname=linux, osvers=2.6.16.29, archname=x86_64-linux-thread-multi-ld > uname='linux rinse 2.6.16.29 #1 smp sun nov 5 23:08:05 cst 2006 > x86_64 gnulinux ' > config_args='-s -d -Dusethreads -Dcc=gcc -Duselongdouble > -Doptimize=-g -O3 -Duse64bitint -Duse64bitall -Dprefix=/usr -Dd_dosuid > -Dotherlibdirs=/usr/share/perl5 -Dinc_version_list=none > -Acccdlflags=-fPIC -Duseshrplib=true -Dcf_email=imacat@mail.imacat.idv.tw' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=define use64bitall=define uselongdouble=define > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS > -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', > optimize='-g -O3', > cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING > -fno-strict-aliasing -pipe -Wdeclaration-after-statement > -I/usr/local/include' > ccversion='', gccversion='3.4.4 20050314 (prerelease) (Debian > 3.4.3-13sarge1)', gccosandvers='' > intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 > ivtype='long', ivsize=8, nvtype='long double', nvsize=16, > Off_t='off_t', lseeksize=8 > alignbytes=16, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib > libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc > perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so > gnulibc_version='2.3.2' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E > -Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi-ld/CORE' > cccdlflags=' -fPIC', lddlflags='-shared -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: DEBUGGING MULTIPLICITY PERL_IMPLICIT_CONTEXT > PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_ALL > USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES > USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API > Built under linux > Compiled at Mar 15 2007 14:49:53 > %ENV: > PERL5LIB="/home/imacat/lib/perl5" > PERL5_CPANPLUS_CONFIG="/home/imacat/.cpanplus/config" > @INC: > /home/imacat/lib/perl5 > /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi-ld > /usr/lib/perl5/5.8.8 > /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi-ld > /usr/lib/perl5/site_perl/5.8.8 > /usr/lib/perl5/site_perl > /usr/share/perl5 > . > imacat@rinse tmp/Event-1.08 %
From: JPRIT [...] cpan.org
Please uncomment this line in the bored.t script and post the results. # $Event::DebugLevel = 3;
Dear Joshua Nathaniel Pritikin, Hi. This is imacat from Taiwan. On 2008-05-11 14:47:29 Sun, JPRIT wrote: Show quoted text
> # $Event::DebugLevel = 3;
The result is attached below. Hope that this helps. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@rinse tmp/Event-1.10 % perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Event imacat@rinse tmp/Event-1.10 % make cp lib/Event/signal.pm blib/lib/Event/signal.pm cp lib/Event/generic.pod blib/lib/Event/generic.pod cp lib/Event/io.pm blib/lib/Event/io.pm cp lib/Event/var.pm blib/lib/Event/var.pm cp lib/Event/timer.pm blib/lib/Event/timer.pm cp lib/Event/generic.pm blib/lib/Event/generic.pm cp lib/Event/idle.pm blib/lib/Event/idle.pm cp lib/Event/typemap blib/lib/Event/typemap cp lib/Event.pm blib/lib/Event.pm cp lib/Event.pod blib/lib/Event.pod cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h cp lib/Event/group.pm blib/lib/Event/group.pm cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm cp lib/Event/type.pm blib/lib/Event/type.pm cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm Running Mkbootstrap for Event () Manifying blib/man3/Event.3 Manifying blib/man3/Event::generic.3 Manifying blib/man3/Event::MakeMaker.3 imacat@rinse tmp/Event-1.10 % make test t/attach_to.........ok t/bored.............1/5 creating Event::timer desc='?? bored.t:9' at /home/imacat/tmp/Event-1.10/blib/lib/Event/Watcher.pm line 76 Event::Watcher::init('Event::timer=HASH(0x505fb0)', 'HASH(0x6b40b0)') called at /home/imacat/tmp/Event-1.10/blib/lib/Event/timer.pm line 46 Event::timer::new('Event::timer', 'after', 0.5, 'parked', 1) called at /home/imacat/tmp/Event-1.10/blib/lib/Event/Watcher.pm line 21 Event::Watcher::__ANON__('Event', 'after', 0.5, 'parked', 1) called at t/bored.t line 9 Event: multiplex 0.4986s at t/bored.t line 24 Event: multiplex 0.9952s at t/bored.t line 24 Event: multiplex 0.9928s at t/bored.t line 24 Event: multiplex 0.9905s at t/bored.t line 24 Event: multiplex 1.0087s at t/bored.t line 24 Event: multiplex 0.9962s at t/bored.t line 24 Event: multiplex 0.9938s at t/bored.t line 24 Event: multiplex 0.9913s at t/bored.t line 24 Event: multiplex 0.9976s at t/bored.t line 24 Event: multiplex 0.9952s at t/bored.t line 24 Event: multiplex 0.9922s at t/bored.t line 24 Event: multiplex 1.0000s at t/bored.t line 24 Event: multiplex 0.9978s at t/bored.t line 24 Event: multiplex 0.9954s at t/bored.t line 24 make: *** wait: No child processes. Stop. make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. imacat@rinse tmp/Event-1.10 % perl -Iblib/lib -Iblib/arch t/bored.t 1..5 # Running under perl version 5.008008 for linux # Current time local: Mon May 12 23:30:32 2008 # Current time GMT: Mon May 12 15:30:32 2008 # Using Test.pm version 1.25 creating Event::timer desc='?? bored.t:9' at blib/lib/Event/Watcher.pm line 76 Event::Watcher::init('Event::timer=HASH(0x505f60)', 'HASH(0x6a8530)') c lled at blib/lib/Event/timer.pm line 46 Event::timer::new('Event::timer', 'after', 0.5, 'parked', 1) called at lib/lib/Event/Watcher.pm line 21 Event::Watcher::__ANON__('Event', 'after', 0.5, 'parked', 1) called at /bored.t line 9 ok 1 ok 2 ok 3 Event: multiplex 0.4986s at t/bored.t line 24 Event: multiplex 0.0047s at t/bored.t line 24 Event: queue '?? bored.t:9' prio=4 at t/bored.t line 24 Event: [0]invoking '?? bored.t:9' (prio 4) at t/bored.t line 24 Event: completed '?? bored.t:9' at t/bored.t line 24 zsh: segmentation fault perl -Iblib/lib -Iblib/arch t/bored.t imacat@rinse tmp/Event-1.10 %
From: JPRIT [...] cpan.org
That's strange. Please try again with the attached patch.
Download z
application/octet-stream 1k

Message body not shown because it is not plain text.

On Wed May 14 00:57:47 2008, JPRIT wrote: Show quoted text
> That's strange. Please try again with the attached patch.
Try #2
diff --git a/Event.h b/Event.h index 2852cc0..3d81bd4 100644 --- a/Event.h +++ b/Event.h @@ -95,7 +95,7 @@ struct pe_watcher_vtbl { #define PE_VISIBLE_FLAGS (PE_ACTIVE | PE_SUSPEND) -#ifdef DEBUGGING +#if 1 # define WaDEBUGx(ev) (SvIV(DebugLevel) + WaDEBUG(ev)) #else # define WaDEBUGx(ev) 0 diff --git a/Event.xs b/Event.xs index 412170e..71af63c 100644 --- a/Event.xs +++ b/Event.xs @@ -559,7 +559,8 @@ DESTROY(ref) if (WaDEBUGx(THIS) >= 3) { STRLEN n_a; warn("Event=0x%x '%s' DESTROY SV=0x%x", - THIS, SvPV(THIS->up->desc, n_a), SvRV(THIS->mysv)); + THIS, SvPV(THIS->up->desc, n_a), + THIS->mysv? SvRV(THIS->mysv) : 0); } (*THIS->vtbl->dtor)(THIS); } diff --git a/t/bored.t b/t/bored.t index 2ee0bf1..580dd63 100644 --- a/t/bored.t +++ b/t/bored.t @@ -2,11 +2,12 @@ use Test; plan test => 5; use Event; -# $Event::DebugLevel = 3; + $Event::DebugLevel = 5; my $really_bored; my $w; $w = Event->timer(after => .5, parked => 1); +$w->debug(1); ok !defined $w->cb; eval { $w->now() }; ok $@ =~ /callback unset/;
From: imacat [...] cpan.org
Dear Joshua Nathaniel Pritikin, Hi. This is imacat from Taiwan. On 2008-05-14 00:59:42 Wed, JPRIT wrote: Show quoted text
> On Wed May 14 00:57:47 2008, JPRIT wrote:
> > That's strange. Please try again with the attached patch.
> Try #2
The result is attached below. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@rinse tmp/Event-1.10 % patch -p 1 < ../z.xt (Stripping trailing CRs from patch.) patching file Event.h (Stripping trailing CRs from patch.) patching file Event.xs (Stripping trailing CRs from patch.) patching file t/bored.t imacat@rinse tmp/Event-1.10 % perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Event imacat@rinse tmp/Event-1.10 % make cp lib/Event/signal.pm blib/lib/Event/signal.pm cp lib/Event/generic.pod blib/lib/Event/generic.pod cp lib/Event/io.pm blib/lib/Event/io.pm cp lib/Event/var.pm blib/lib/Event/var.pm cp lib/Event/timer.pm blib/lib/Event/timer.pm cp lib/Event/generic.pm blib/lib/Event/generic.pm cp lib/Event/idle.pm blib/lib/Event/idle.pm cp lib/Event/typemap blib/lib/Event/typemap cp lib/Event.pm blib/lib/Event.pm cp lib/Event.pod blib/lib/Event.pod cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h cp lib/Event/group.pm blib/lib/Event/group.pm cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm cp lib/Event/type.pm blib/lib/Event/type.pm cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm Running Mkbootstrap for Event () Manifying blib/man3/Event.3 Manifying blib/man3/Event::generic.3 Manifying blib/man3/Event::MakeMaker.3 imacat@rinse tmp/Event-1.10 % make test t/attach_to.........ok t/bored.............1/5 creating Event::timer desc='?? bored.t:9' at /home/imacat/tmp/Event-1.10/blib/lib/Event/Watcher.pm line 76 Event::Watcher::init('Event::timer=HASH(0x505fb0)', 'HASH(0x6b40b0)') called at /home/imacat/tmp/Event-1.10/blib/lib/Event/timer.pm line 46 Event::timer::new('Event::timer', 'after', 0.5, 'parked', 1) called at /home/imacat/tmp/Event-1.10/blib/lib/Event/Watcher.pm line 21 Event::Watcher::__ANON__('Event', 'after', 0.5, 'parked', 1) called at t/bored.t line 9 Event: active ON '?? bored.t:9' at t/bored.t line 23 Event: multiplex 0.4987s at t/bored.t line 25 Event: multiplex 1.0008s at t/bored.t line 25 Event: multiplex 0.9985s at t/bored.t line 25 Event: multiplex 0.9964s at t/bored.t line 25 Event: multiplex 0.9942s at t/bored.t line 25 Event: multiplex 1.0026s at t/bored.t line 25 Event: multiplex 0.9904s at t/bored.t line 25 Event: multiplex 0.9982s at t/bored.t line 25 Event: multiplex 0.9958s at t/bored.t line 25 Event: multiplex 1.0031s at t/bored.t line 25 make: *** [test_dynamic] Interrupt imacat@rinse tmp/Event-1.10 % perl -Iblib/lib -Iblib/arch t/bored.t 1..5 # Running under perl version 5.008008 for linux # Current time local: Thu May 15 09:26:07 2008 # Current time GMT: Thu May 15 01:26:07 2008 # Using Test.pm version 1.25 creating Event::timer desc='?? bored.t:9' at blib/lib/Event/Watcher.pm line 76 Event::Watcher::init('Event::timer=HASH(0x505f60)', 'HASH(0x6a8530)') called at blib/lib/Event/timer.pm line 46 Event::timer::new('Event::timer', 'after', 0.5, 'parked', 1) called at blib/lib/Event/Watcher.pm line 21 Event::Watcher::__ANON__('Event', 'after', 0.5, 'parked', 1) called at t/bored.t line 9 ok 1 ok 2 ok 3 Event: active ON '?? bored.t:9' at t/bored.t line 23 Event: multiplex 0.4988s at t/bored.t line 25 Event: multiplex 0.9936s at t/bored.t line 25 Event: multiplex 1.0019s at t/bored.t line 25 Event: multiplex 0.9895s at t/bored.t line 25 Event: multiplex 0.9972s at t/bored.t line 25 Event: multiplex 0.9948s at t/bored.t line 25 Event: multiplex 1.0011s at t/bored.t line 25 Event: multiplex 0.9889s at t/bored.t line 25 Event: multiplex 0.9965s at t/bored.t line 25 Event: multiplex 0.9943s at t/bored.t line 25 imacat@rinse tmp/Event-1.10 %
I can't reproduce this problem. Furthermore, nobody else can either: http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=Event+1.10 Are you running Debian or Ubuntu? Can't you just install the binary deb "libevent-perl"? Why do you need to build from source?
Dear Joshua Nathaniel Pritikin, Hi. This is imacat from Taiwan. On 2008-05-15 00:32:11 Thu, JPRIT wrote: Show quoted text
> I can't reproduce this problem. Furthermore, nobody else can either: > Are you running Debian or Ubuntu? Can't you just install the binary deb > "libevent-perl"? Why do you need to build from source?
Oh. I see. Thank you for this information. I checked the building arguments between Debian Perl and mine, and made some experiments. It seems that, this issue only occurs when "-Duselongdouble" is used when building Perl. If "-Duselongdouble" is removed when building Perl, Event-1.10 works fine. If "-Duselongdouble" is added, Event-1.10 does not work. In other words, Event-1.10 does not work when Perl is built with "-Duselongdouble". Hope that this helps. Please tell me if you need any more information, or if I could be of any help. Thank you.
Ah ha! Can you try the attached patch?

Message body is not shown because it is too large.

Dear Joshua Nathaniel Pritikin, Hi. This is imacat from Taiwan. On 2008-05-16 20:46:57 Fri, JPRIT wrote Show quoted text
> Can you try the attached patch?
This patch works, though the source was not not cleanly patched. The terminal log is attached below. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@rinse tmp/Event-1.10 % patch -p 1 < ../z.txt patching file Event.xs patching file c/ev.c patching file c/group.c patching file c/idle.c patching file c/io.c patching file c/queue.c patching file c/timeable.c Hunk #1 FAILED at 18. Hunk #2 succeeded at 36 (offset -1 lines). Hunk #3 succeeded at 50 (offset -1 lines). Hunk #4 succeeded at 81 (offset -2 lines). 1 out of 4 hunks FAILED -- saving rejects to file c/timeable.c.rej patching file c/timer.c patching file c/typemap.c patching file c/unix.c patching file lib/Event/EventAPI.h imacat@rinse tmp/Event-1.10 % perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Event imacat@rinse tmp/Event-1.10 % make cp lib/Event/signal.pm blib/lib/Event/signal.pm cp lib/Event/generic.pod blib/lib/Event/generic.pod cp lib/Event/io.pm blib/lib/Event/io.pm cp lib/Event/var.pm blib/lib/Event/var.pm cp lib/Event/timer.pm blib/lib/Event/timer.pm cp lib/Event/generic.pm blib/lib/Event/generic.pm cp lib/Event/idle.pm blib/lib/Event/idle.pm cp lib/Event/typemap blib/lib/Event/typemap cp lib/Event.pm blib/lib/Event.pm cp lib/Event.pod blib/lib/Event.pod cp lib/Event/EventAPI.h blib/lib/Event/EventAPI.h cp lib/Event/group.pm blib/lib/Event/group.pm cp lib/Event/Watcher.pm blib/lib/Event/Watcher.pm cp lib/Event/type.pm blib/lib/Event/type.pm cp lib/Event/MakeMaker.pm blib/lib/Event/MakeMaker.pm Running Mkbootstrap for Event () Manifying blib/man3/Event.3 Manifying blib/man3/Event::generic.3 Manifying blib/man3/Event::MakeMaker.3 imacat@rinse tmp/Event-1.10 % make test t/attach_to.........ok t/bored.............ok t/callback..........ok t/data..............ok t/delete............ok t/eval..............ok t/fifo..............ok t/generic...........ok t/group.............ok t/hook..............ok t/hup...............ok t/idle..............ok t/idle2.............ok t/io................ok t/leak..............ok t/leak2.............ok t/loop..............ok t/now...............ok t/reenter...........ok t/signal............ok t/timeout_cb........ok t/timer.............ok t/unconfigured......ok t/var...............ok All tests successful. Files=24, Tests=126, 13 wallclock secs ( 0.13 usr 0.01 sys + 3.19 cusr 0.31 csys = 3.64 CPU) Result: PASS imacat@rinse tmp/Event-1.10 %
uploaded Event 1.11 with fix