Closed asvetlov closed 5 years ago
Thanks @asvetlov! I'll try to repro and let you know how it goes.
At a first glance I don't see how it can fail, since we don't do any special allocations on gethostbyname
. I'll dig deeper.
FTR: the original issue (https://github.com/aio-libs/aiohttp/issues/3573) was a misuse of aiohttp, but I'm still uncertain about the memory error.
Fixed in https://github.com/saghul/aiodns/commit/fe57a6116e1ab3de4924ef59255e2c6f9183e740
After the change in pycares the ares channel will be automatically destroyed later.
Hi. I have a bug report for aiohttp. Looks like aiodns has a subtle bug: https://github.com/aio-libs/aiohttp/issues/3573 I cannot reproduce the problem but the reporter provided a stack trace which is weird:
Do you have any idea?