[New-bugs-announce] [issue22503] Signal stack overflow in faulthandler_user

Andreas Schwab report at bugs.python.org
Sat Sep 27 14:41:37 CEST 2014


New submission from Andreas Schwab:

test_register_chain fails on aarch64 due to signal stack overflow, when re-raising the signal in faulthandler_user.  The problem is that the signal stack can only handle a single signal frame, but faulthandler_user adds a second one.  _Py_Faulthandler_Init should allocate twice the amount of stack to cater for the two signal frames.

======================================================================
FAIL: test_register_chain (test.test_faulthandler.FaultHandlerTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/abuild/rpmbuild/BUILD/Python-3.4.1/Lib/test/test_faulthandler.py", line 592, in test_register_chain
    self.check_register(chain=True)
  File "/home/abuild/rpmbuild/BUILD/Python-3.4.1/Lib/test/test_faulthandler.py", line 576, in check_register
    self.assertEqual(exitcode, 0)
AssertionError: -11 != 0

----------------------------------------------------------------------

----------
components: Extension Modules
messages: 227667
nosy: schwab
priority: normal
severity: normal
status: open
title: Signal stack overflow in faulthandler_user
type: resource usage
versions: Python 3.4

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


More information about the New-bugs-announce mailing list