[issue19293] test_asyncio hanging for 1 hour

Charles-François Natali report at bugs.python.org
Sun Oct 20 00:09:28 CEST 2013


Charles-François Natali added the comment:

> The patch cleans up a lot of the other failures for asyncio on AIX

Great.

> but does not fix the hang.

I was expecting this :-)

Note that the hang is really strange, especially since the first
run_until_complete() succeeds.

Without more information, it'll be really hard to debug.

If you don't have an strace equivalent, then the only option is to add
ad-hoc debug statements to see:
- if the data gets written to the pipe
- if data is read from the pipe

There's something strange in the stack you posted above: there seems
to be a single FD in the poll() set, whereas there should be at least
3 (stdin, stdout and stderr).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19293>
_______________________________________


More information about the Python-bugs-list mailing list