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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22503>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to