Serhiy Storchaka added the comment: I see a crash with valgring even without hitting Ctrl-D.
$ valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python ==26172== Memcheck, a memory error detector ==26172== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==26172== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==26172== Command: ./python ==26172== ==26172== Conditional jump or move depends on uninitialised value(s) ==26172== at 0x414E578: __wcslen_sse2 (wcslen-sse2.S:95) ==26172== by 0x807788D: calculate_path (getpath.c:647) ==26172== by 0x807803B: Py_GetProgramFullPath (getpath.c:875) ==26172== by 0x8070C5E: _PySys_Init (sysmodule.c:1628) ==26172== by 0x8060680: _Py_InitializeEx_Private (pythonrun.c:400) ==26172== by 0x8060939: Py_InitializeEx (pythonrun.c:467) ==26172== by 0x806094D: Py_Initialize (pythonrun.c:473) ==26172== by 0x807956A: Py_Main (main.c:683) ==26172== by 0x805CFE3: main (python.c:69) ==26172== ==26172== ==26172== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3367> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com