[issue24851] infinite loop in faulthandler._stack_overflow

Paul Murphy report at bugs.python.org
Thu Aug 13 18:14:30 CEST 2015


Paul Murphy added the comment:

Somehow, you need to preserve access to the stack memory. The generated code is still growing the stack, it just fails to touch any of it.

I'm guessing a volatile access would just add an extra non-stack access to the infinite loop.

Initially, I had tried creating a non-inlined function to touch the stack memory. It worked in this case, but still required some undesirable compiler specific assistance.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24851>
_______________________________________


More information about the Python-bugs-list mailing list