[Python-Dev] Segmentation fault on 3.4 with --pydebug
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
> $ MACOSX_DEPLOYMENT_TARGET=10.8 ./configure --with-pydebug
> $ make
> $ ./python.exe -Wd -m test.regrtest test_exceptions
> [1/1] test_exceptions
> 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