[issue20601] tracing and tests that raise an exception in a SIGALRM handler
Xavier de Gaye
report at bugs.python.org
Tue Feb 11 18:34:36 CET 2014
New submission from Xavier de Gaye:
After an alarm handler raises an exception while a tracing function is being invoked and when this exception is not caught by the tracing function, the call_trampoline() function in sysmodule.c returns NULL and its caller, trace_trampoline(), removes the trace function. Therefore, tests that raise an exception in an alarm handler should use the support.no_tracing decorator as it is done in test_io.py at check_reentrant_write().
Patch attached.
----------
components: Library (Lib)
files: no_tracing.diff
keywords: patch
messages: 210984
nosy: xdegaye
priority: normal
severity: normal
status: open
title: tracing and tests that raise an exception in a SIGALRM handler
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file34046/no_tracing.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20601>
_______________________________________
More information about the Python-bugs-list
mailing list