On Apr 10, 2006, at 02:53, <Jeremy.Palmer@xxxxxxxxx>
<Jeremy.Palmer@xxxxxxxxx> wrote:
I'm using POE with Activestate win32 perl 5.8 getting crashes while
debugging
a POE program with Komodo. I have to add a sig handler for SIGALRM
to my
session to stop it. My question is what's causing the sig_alarm to
happen in
the first place? My code does use POE alarms, is this causing it?
I'm also
using PoCo TCP clients and servers. Is it an alarm from the sysread/
write
timeout?
POE does not call Perl's built-in alarm(). The SIGALRM is coming
from somewhere else.
My guess is that another module is calling alarm(), but you aren't
stepping through the code fast enough to clear it before the signal
arrives. Perl's built-in alarm() is highly dependent on real time.
The operating system doesn't care if your code is paused on a
breakpoint.
--
Rocco Caputo - rcaputo@xxxxxxxxx
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|