[Python-Dev] Segmentaion fault with wrongly set PYTHONPATH on Windows
Christian Heimes
christian at python.org
Mon Oct 22 18:37:57 CEST 2012
Am 22.10.2012 18:26, schrieb anatoly techtonik:
> I don't know what is abort() on Linux, but I believe coredumps is not
> something you want to get while setting some environment variable. On
> Windows it outputs a standard crash dialog box, which immediately
> raises questions about Python stability and potential exploitability
> in this direction.
abort() is a C stdlib function that kills the current process with
SGIABRT or similar. It's designed to draw attention to a fatal error.
Are you proposing that Python should rather use _exit() than abort()
here? Both forcedly shut down the process immediately.
Christian
More information about the Python-Dev
mailing list