[Python-Dev] Need help in debugging the python core (original) (raw)
Victor Stinner victor.stinner at gmail.com
Fri Sep 2 13:44:45 EDT 2016
- Previous message (by thread): [Python-Dev] Need help in debugging the python core
- Next message (by thread): [Python-Dev] Need help in debugging the python core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2016-09-02 8:49 GMT+02:00 Sajjanshetty, Amresh <Amresh.Sajjanshetty at netapp.com>:
I’m using asyncio and paramiko to multiplex different channels into a single SSH connection.
Hum, asyncio found bugs in CPython. Please try with a more recent version of CPython than 3.4.3 :-/
Program terminated with signal 11, Segmentation fault.
#0 PyObjectMalloc (ctx=0x0, nbytes=52) at Objects/obmalloc.c:1159
Hum, a crash on a memory allocation is usually a buffer overflow.
Please retry with Python 3.6 using PYTHONMALLOC=debug: https://docs.python.org/dev/using/cmdline.html#envvar-PYTHONMALLOC
Calling regulary gc.collect() may help PYTHONMALLOC=debug to detect buffer overflows earlier.
Victor
- Previous message (by thread): [Python-Dev] Need help in debugging the python core
- Next message (by thread): [Python-Dev] Need help in debugging the python core
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]