Skip Menu |

This queue is for tickets about the Sys-SigAction CPAN distribution.

Report information
The Basics
Id: 128820
Status: open
Priority: 0/
Queue: Sys-SigAction

People
Owner: lab [...] lincolnbaxter.com.MAKE.ME.VALID
Requestors: gwmunroe [...] gmail.com
Cc:
AdminCc:

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



Subject: Possible bug in timeout_call
Date: Tue, 12 Mar 2019 08:11:27 +0000
To: bug-Sys-SigAction [...] rt.cpan.org
From: Glenn Munroe <gwmunroe [...] gmail.com>
Hello Lincoln, Thanks for your excellent work on this module. This is my first bug report for a CPAN module, so I hope I am following the correct protocol. I am using Sys-SigAction-0.23 on RHEL 7 (3.10.0-862.el7.x86_64) running perl 5.16.3. On line 169 there is a numeric comparison to a hash reference. This produced warnings and was causing the routine to die with the hash reference instead of returning the integer 1 indicating timeout. Replacing the line: die $@ if $@ and (not ref $@ or $@ != TIMEDOUT); with die $@ if $@ and (not ref $@ or %@); solved the problem for me, but I'm not sure if this is the intended behavior. Is this indeed a bug? Regards, -- Glenn
On Tue Mar 12 04:11:46 2019, gwmunroe@gmail.com wrote: Show quoted text
> Hello Lincoln, > > Thanks for your excellent work on this module. This is my first bug report > for a CPAN module, so I hope I am following the correct protocol. I am > using Sys-SigAction-0.23 on RHEL 7 (3.10.0-862.el7.x86_64) running perl > 5.16.3. > > On line 169 there is a numeric comparison to a hash reference. This > produced warnings and was causing the routine to die with the hash > reference instead of returning the integer 1 indicating timeout. Replacing > the line: > > die $@ if $@ and (not ref $@ or $@ != TIMEDOUT); > > with > > die $@ if $@ and (not ref $@ or %@); > > solved the problem for me, but I'm not sure if this is the intended > behavior. Is this indeed a bug? > > Regards,
I'll fix this soon, sorry it took me awhile to see this. It seems I have several on thing to work on. Lincoln
On Mon Sep 28 14:18:59 2020, LBAXTER wrote: Show quoted text
> On Tue Mar 12 04:11:46 2019, gwmunroe@gmail.com wrote:
> > Hello Lincoln, > > > > Thanks for your excellent work on this module. This is my first bug report > > for a CPAN module, so I hope I am following the correct protocol. I am > > using Sys-SigAction-0.23 on RHEL 7 (3.10.0-862.el7.x86_64) running perl > > 5.16.3. > > > > On line 169 there is a numeric comparison to a hash reference. This > > produced warnings and was causing the routine to die with the hash > > reference instead of returning the integer 1 indicating timeout. Replacing > > the line: > > > > die $@ if $@ and (not ref $@ or $@ != TIMEDOUT); > > > > with > > > > die $@ if $@ and (not ref $@ or %@); > > > > solved the problem for me, but I'm not sure if this is the intended > > behavior. Is this indeed a bug? > > > > Regards,
> > I'll fix this soon, sorry it took me awhile to see this. > It seems I have several on thing to work on. > > Lincoln >
Taking ownership.