Actually, I'm chasing the exact same problem right now. I think either my 
ping volume or frequency dramatically dwarfs yours, because I can trigger 
a consistent failure within a few hours. =)

- billn

On Sun, 7 Oct 2007, William Fletcher wrote:

> Hi,
> 
> Not too sure if this is mildly off topic, so please let me know if it is... 
> 
> I have a piece of software using POE's Ping.pm component, etc... 
> 
> It is essentially a daemon.
> 
> It works for about 10-15 days before it dies with this the following:
> 
> Use of uninitialized value in subroutine entry at 
> /usr/local/lib/perl5/site_perl/5.8.8/POE/Component/Client/Ping.pm line 409.
> Can't use string ("") as a subroutine ref while "strict refs" in use at 
> /usr/local/lib/perl5/site_perl/5.8.8/POE/Component/Client/Ping.pm line 409.
> 
>   # Duplicate pings?  Forcibly time out the previous one.
>   if (exists $heap->{addr_to_seq}->{$sender}->{$address}) {
>     my $now = time();
>     my $old_seq = delete $heap->{addr_to_seq}->{$sender}->{$address};
>     my $old_info = delete $heap->{ping_by_seq}->{$old_seq};
>     $old_info->[PBS_POSTBACK]->( undef, undef, $now, undef ); # <--- 409.
>   }
> 
> Any help appreciated. I'm sure the developer behind Ping.pm would appreciate
> a fix for this, I'm just not sure how to even begin to fix this problem.
> 
> 

Reply via email to