Closed dosyoyas closed 5 years ago
Are you able to capture a backtrace?
I'll try but I'm not sure if I'll be able to reproduce locally. The above stuff was what I got from faulthandler for the current thread.
If you enable core dumping with ulimit -c unlimited
I think a core file will be generated which we can inspect with gdb and see if the trace is meaningful.
I'm trying that locally but it hasn't crashed that way. Unfortunately I can't do the same in the environment it does crash (docker+ecs I can't modify)
I haven't been able to reproduce this locally, so this can be closed.
Not really sure if it's an issue with aiodns or pycares. I'm using aiodns to resolve ~300k domains/hour and it works great most of the time, but I'm getting "Fatal Python error: Segmentation fault" from time to time, and it doesn't seem to be related to the load.
Asyncio loop is running in a separate thread and queries are executed using asyncio.run_coroutine_threadsafe(query(domain, 'A'), loop):
Package versions: