Skip Menu |

This queue is for tickets about the POE-Component-Supervisor CPAN distribution.

Report information
The Basics
Id: 34899
Status: resolved
Priority: 0/
Queue: POE-Component-Supervisor

People
Owner: NUFFIN [...] cpan.org
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

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



Subject: Hang at t/04_global_restart_policy.t When "make test"
Dear יובל קוג'מן(Yuval Kogman), Hi. This is imacat from Taiwan. I found that your POE-Component-Supervisor-0.01 hangs at t/04_global_restart_policy.t when running "make test". I tried to investigate further. It seems to spawn 4 children which does not exit by themselves if the exit when the test suite fails. I attached the terminal log below. Hope that this helps. Please tell me if you have any question, or if I could be of any help. Thank you. imacat@rinse tmp/POE-Component-Supervisor-0.01 % perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for POE::Component::Supervisor imacat@rinse tmp/POE-Component-Supervisor-0.01 % make cp lib/POE/Component/Supervisor.pm blib/lib/POE/Component/Supervisor.pm cp lib/POE/Component/Supervisor/LogDispatch.pm blib/lib/POE/Component/Supervisor/LogDispatch.pm cp lib/POE/Component/Supervisor/Supervised.pm blib/lib/POE/Component/Supervisor/Supervised.pm cp lib/POE/Component/Supervisor/Supervised/Proc.pm blib/lib/POE/Component/Supervisor/Supervised/Proc.pm cp lib/POE/Component/Supervisor/Handle.pm blib/lib/POE/Component/Supervisor/Handle.pm cp lib/POE/Component/Supervisor/Handle/Proc.pm blib/lib/POE/Component/Supervisor/Handle/Proc.pm Manifying blib/man3/POE::Component::Supervisor::LogDispatch.3 Manifying blib/man3/POE::Component::Supervisor.3 Manifying blib/man3/POE::Component::Supervisor::Supervised.3 Manifying blib/man3/POE::Component::Supervisor::Supervised::Proc.3 Manifying blib/man3/POE::Component::Supervisor::Handle.3 Manifying blib/man3/POE::Component::Supervisor::Handle::Proc.3 imacat@rinse tmp/POE-Component-Supervisor-0.01 % make test t/01_load.....................ok t/02_basic....................ok t/03_stubborn.................ok t/04_global_restart_policy....ok 3/0Can't call method "shutdown_stdin" on an undefined value at /home/imacat/tmp/POE-Component-Supervisor-0.01/blib/lib/POE/Component/Supervisor/Handle/Proc.pm line 247. # Looks like your test died just after 8. make: *** wait: No child processes. Stop. make: *** Waiting for unfinished jobs.... make: *** wait: No child processes. Stop. imacat@rinse tmp/POE-Component-Supervisor-0.01 % perl -Iblib/lib -Iblib/arch t/04_global_restart_policy.t ok 1 - use POE::Component::Supervisor; ok 2 - use POE::Component::Supervisor::Supervised::Proc; ok 3 - 5 children ok 4 - child 1 had 1 ok 5 - child 2 had 1 ok 6 - child 3 has 2 ok 7 - child 4 had 1 ok 8 - child 5 had 1 Can't call method "shutdown_stdin" on an undefined value at blib/lib/POE/Component/Supervisor/Handle/Proc.pm line 247. 1..8 # Looks like your test died just after 8. imacat@rinse tmp/POE-Component-Supervisor-0.01 % ps fw PID TTY STAT TIME COMMAND 4918 pts/3 Ss 0:00 -zsh 6004 pts/3 R+ 0:00 \_ ps fw 5978 pts/3 S 0:00 perl -Iblib/lib -Iblib/arch t/04_global_restart_policy.t 5977 pts/3 S 0:00 perl -Iblib/lib -Iblib/arch t/04_global_restart_policy.t 5976 pts/3 S 0:00 perl -Iblib/lib -Iblib/arch t/04_global_restart_policy.t 5974 pts/3 S 0:00 perl -Iblib/lib -Iblib/arch t/04_global_restart_policy.t imacat@rinse tmp/POE-Component-Supervisor-0.01 %
Subject: POE-Component-Supervisor-0.01-prereqpm.diff
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 diff -u -r POE-Component-Supervisor-0.01.orig/Makefile.PL POE-Component-Supervisor-0.01/Makefile.PL - --- POE-Component-Supervisor-0.01.orig/Makefile.PL 2008-03-22 00:01:38.000000000 +0800 +++ POE-Component-Supervisor-0.01/Makefile.PL 2008-04-12 16:37:45.000000000 +0800 @@ -16,7 +16,7 @@ 'MooseX::POE' => 0, 'MooseX::LogDispatch' => 0, 'Log::Dispatch::Config::TestLog' => 0, - - 'MooseX:Types::Set::Object' => 0, + 'MooseX::Types::Set::Object' => 0, 'Tie::RefHash' => 0, }, ); -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkgAdQIACgkQi9gubzC5S1zahACfdrP5kzaRLK94JQA4kx8v+ht/ qYsAmwRFyRsTcfrNcG6xX2JvG6MN2wl0 =Dr07 -----END PGP SIGNATURE-----
I think this is fixed now, can you confirm?
Dear יובל קוג'מן (Yuval Kogman) Hi. This is imacat from Taiwan. On 2008-06-21 14:12:46 Sat, NUFFIN wrote: Show quoted text
> I think this is fixed now, can you confirm?
I have tested your POE-Component-Supervisor-0.04. This seems to be fixed. Thank you. I think you may close this bug now.
Thanks for your smoke testing and reports!