STINNER Victor added the comment:

faulthandler._stack_overflow() is written to crash. The comparison on stack 
pointers is just here to avoid an unlimited loop. A stack of 100 MB is 
something really large. I never seen an OS where faulthandler._stack_overflow() 
doesn't crash yet.

Here is a patch using Py_uintptr_t instead of void*.

Can someone test with GCC 5?

----------
keywords: +patch
nosy: +haypo
Added file: http://bugs.python.org/file38083/faulthandler_uintptr.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23433>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to