[issue23187] Segmentation fault, possibly asyncio related

STINNER Victor report at bugs.python.org
Sat Mar 14 09:29:58 CET 2015


STINNER Victor added the comment:

It looks like you are running your app on Windows. Are you using the
proactor event loop? I guess yes since you have more than 1000 clients and
select() is limited to 500 sockets.

In Python 3.4.3, I fixed a *lot* of crashes and race conditions in the
proactor event loop. There are maybe more race conditions. Are you running
subprocesses with asyncio?

Le 14 mars 2015 05:42, "Guido van Rossum" <report at bugs.python.org> a écrit :
> PyObject_GC_Malloc(unsigned __int64 basicsize=4046951880)
>
> That's nearly 4 GB. I somehow doubt your app is actually trying to
allocate
> that much memory

The caller is PyList_New(0).

When using a debugger on an optimized build, you should not trust the
debugger. For example, variables can be stored in registers. Displaying
values in the old frames can just display junk. In gdb, you see
<optimized>. The fast call convention uses registers to pass first
parameters to functions. I'm not sure that debuggers handle this case
correctly. Etc.

----------

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


More information about the Python-bugs-list mailing list