This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nvetoshkin
Recipients BreamoreBoy, exarkun, giampaolo.rodola, lekma, nvetoshkin, pitrou, r.david.murray
Date 2010-10-13.20:49:51
SpamBayes Score 0.05445811
Marked as misclassified No
Message-id <1287002992.51.0.578800523452.issue7523@psf.upfronthosting.co.za>
In-reply-to
Content
Here's what strace on FAIL shows (print "in alarm_handler" added)

alarm(2)                                = 0
poll([{fd=3, events=POLLIN}], 1, 5000)  = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xffffffff)                = -1 EINTR (Interrupted system call)
accept4(3, 0x7fffa94c4780, [16], 0)     = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}], 1, 2999)  = 0 (Timeout)
accept4(3, 0x7fffa94c4780, [16], 0)     = -1 EAGAIN (Resource temporarily unavailable)
write(1, "in alarm_handler\n", 17)      = 17
alarm(0)                                = 0

Here's on OK:

alarm(2)                                = 0
poll([{fd=3, events=POLLIN}], 1, 5000)  = ? ERESTART_RESTARTBLOCK (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xffffffff)                = -1 EINTR (Interrupted system call)
write(1, "in alarm_handler\n", 17)      = 17
alarm(0)

For some reason does another trip through BEGIN_SELECT_LOOP() macro
History
Date User Action Args
2010-10-13 20:49:52nvetoshkinsetrecipients: + nvetoshkin, exarkun, pitrou, giampaolo.rodola, r.david.murray, lekma, BreamoreBoy
2010-10-13 20:49:52nvetoshkinsetmessageid: <1287002992.51.0.578800523452.issue7523@psf.upfronthosting.co.za>
2010-10-13 20:49:51nvetoshkinlinkissue7523 messages
2010-10-13 20:49:51nvetoshkincreate