[Python-Dev] Segmentation fault on 3.4 with --pydebug (original) (raw)

Benjamin Peterson benjamin at python.org
Thu May 30 18:19:45 CEST 2013


2013/5/30 Ɓukasz Langa <lukasz at langa.pl>:

This happens after Benjamin's changes in 83937. Anybody else seeing this?

Remember you need the hash to fully identify hg changesets. :)

Intel i5 2.4 GHz, Mac OS X 10.8.3, clang $ hg up default $ make distclean $ MACOSXDEPLOYMENTTARGET=10.8 ./configure --with-pydebug $ make $ ./python.exe -Wd -m test.regrtest testexceptions [1/1] testexceptions Fatal Python error: Segmentation fault

As noted, it's infinite recursion. Without optimization I've noticed clang is very inefficient with respect to stack space, so for example, each PyEval_FrameEx frame is 1/2 KB.

-- Regards, Benjamin



More information about the Python-Dev mailing list