[issue37573] asyncio: freeze when using MultiLoopChildWatcher on Solaris

Jakub Kulik report at bugs.python.org
Fri Jul 12 08:57:35 EDT 2019


New submission from Jakub Kulik <kulikjak at gmail.com>:

Hi,

since the 3.8.0b2 test_asyncio freezes in test_subprocess when MultiLoopChildWatcher is being used as a watcher (new in b2). All other watchers are working as expected. This is all on Solaris.

I tried to find out the reason for these issues and it seems that awaited coroutines never end (there are many tests with this problem - I tested it on test_cancel_make_subprocess_transport_exec). I found out that commenting out `signal.siginterrupt(signal.SIGCHLD, False)` in `attach_loop` method of MultiLoopChildWatcher seems to fix the issue, however, I don't understand this enough to see why that should be a problem...

I can provide more information if necessary.

----------
components: Library (Lib)
messages: 347743
nosy: kulikjak
priority: normal
severity: normal
status: open
title: asyncio: freeze when using MultiLoopChildWatcher on Solaris
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37573>
_______________________________________


More information about the Python-bugs-list mailing list