Home
last modified time | relevance | path

Searched refs:faulthandler (Results 1 – 25 of 48) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_faulthandler.py3 import faulthandler
291 @unittest.skipIf(not hasattr(faulthandler, '_stack_overflow'),
400 was_enabled = faulthandler.is_enabled()
402 faulthandler.enable()
403 self.assertTrue(faulthandler.is_enabled())
404 faulthandler.disable()
405 self.assertFalse(faulthandler.is_enabled())
408 faulthandler.enable()
410 faulthandler.disable()
685 @unittest.skipIf(not hasattr(faulthandler, "register"),
[all …]
Dtest_xxtestfuzz.py1 import faulthandler
24 faulthandler.enable()
D_test_eintr.py12 import faulthandler
62 faulthandler.dump_traceback_later(10 * 60, exit=True,
72 faulthandler.cancel_dump_traceback_later()
Dtest_concurrent_futures.py1058 import faulthandler
1059 faulthandler.disable()
1060 faulthandler._sigsegv()
1130 import faulthandler
1133 faulthandler.dump_traceback(file=f)
Dtest_embed.py455 faulthandler=0,
919 faulthandler=1,
927 faulthandler=1,
/third_party/python/Doc/library/
Dfaulthandler.rst1 :mod:`faulthandler` --- Dump the Python traceback
4 .. module:: faulthandler
12 after a timeout, or on a user signal. Call :func:`faulthandler.enable` to
16 variable or by using the :option:`-X` ``faulthandler`` command line option.
38 alternatively be passed to :func:`faulthandler.enable`.
43 The :ref:`Python Development Mode <devmode>` calls :func:`faulthandler.enable`
71 :ref:`issue with file descriptors <faulthandler-fd>`.
108 descriptors <faulthandler-fd>`.
133 :func:`unregister`: see :ref:`issue with file descriptors <faulthandler-fd>`.
172 $ python3 -q -X faulthandler
Ddebug.rst16 faulthandler.rst
Ddevmode.rst24 PYTHONMALLOC=debug PYTHONASYNCIODEBUG=1 python3 -W default -X faulthandler
61 * Call :func:`faulthandler.enable` at Python startup to install handlers for
65 It behaves as if the :option:`-X faulthandler <-X>` command line option is
/third_party/python/Lib/test/libregrtest/
Dsetup.py2 import faulthandler
31 faulthandler.enable(all_threads=True, file=stderr_fd)
40 faulthandler.register(signum, chain=True, file=stderr_fd)
Druntest.py1 import faulthandler
184 faulthandler.dump_traceback_later(ns.timeout, exit=True)
229 faulthandler.cancel_dump_traceback_later()
Druntest_mp.py2 import faulthandler
405 faulthandler.dump_traceback_later(MAIN_PROCESS_TIMEOUT,
480 faulthandler.cancel_dump_traceback_later()
Dmain.py1 import faulthandler
662 faulthandler.dump_traceback_later(EXIT_TIMEOUT, exit=True)
/third_party/python/Lib/test/support/
Dthreading_helper.py119 import faulthandler
151 faulthandler.dump_traceback(sys.stdout)
D__init__.py1738 import faulthandler
1745 is_enabled = faulthandler.is_enabled()
1747 faulthandler.disable()
1751 faulthandler.enable(file=fd, all_threads=True)
/third_party/python/Python/
Dinitconfig.c605 assert(config->faulthandler >= 0); in config_check_consistency()
706 config->faulthandler = -1; in _PyConfig_InitCompatConfig()
786 config->faulthandler = 0; in PyConfig_InitIsolatedConfig()
896 COPY_ATTR(faulthandler); in _PyConfig_Copy()
1000 SET_ITEM_INT(faulthandler); in _PyConfig_AsDict()
1276 GET_UINT(faulthandler); in _PyConfig_FromDict()
1848 if (config->faulthandler < 0) { in config_read_complex_options()
1851 config->faulthandler = 1; in config_read_complex_options()
2154 if (config->faulthandler < 0) { in config_read()
2155 config->faulthandler = 1; in config_read()
[all …]
/third_party/python/Include/cpython/
Dinitconfig.h143 int faulthandler; member
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv336 Modules/faulthandler.c faulthandler_dump_traceback_later kwlist -
337 Modules/faulthandler.c faulthandler_dump_traceback_py kwlist -
338 Modules/faulthandler.c faulthandler_py_enable kwlist -
339 Modules/faulthandler.c faulthandler_register_py kwlist -
413 Modules/faulthandler.c - faulthandler_slots -
534 Modules/faulthandler.c - module_methods -
1534 Modules/faulthandler.c - faulthandler_handlers -
2159 Modules/faulthandler.c - module_def -
2427 Modules/faulthandler.c - PyId_enable -
2428 Modules/faulthandler.c - PyId_fileno -
[all …]
/third_party/python/Modules/
DSetup128 # faulthandler module
129 faulthandler faulthandler.c
/third_party/python/Tools/c-analyzer/
DTODO49 Modules/faulthandler.c:old_stack static stack_t old_stack
50 Modules/faulthandler.c:stack static stack_t stack
51 Modules/faulthandler.c:faulthandler_dump_traceback():reentrant static volatile int reentrant
133 Modules/faulthandler.c:fatal_error static struct { int enabled; PyObj…
134 Modules/faulthandler.c:thread static struct { PyObject *file; in…
316 Modules/faulthandler.c:PyId_enable _Py_IDENTIFIER(enable)
317 Modules/faulthandler.c:PyId_fileno _Py_IDENTIFIER(fileno)
318 Modules/faulthandler.c:PyId_flush _Py_IDENTIFIER(flush)
319 Modules/faulthandler.c:PyId_stderr _Py_IDENTIFIER(stderr)
/third_party/python/Doc/using/
Dcmdline.rst450 * ``-X faulthandler`` to enable :mod:`faulthandler`;
488 The ``-X faulthandler`` option.
763 :func:`faulthandler.enable` is called at startup: install a handler for
766 :option:`-X` ``faulthandler`` option.
/third_party/python/Doc/c-api/
Dinit_config.rst666 .. c:member:: int faulthandler
668 Enable faulthandler?
670 If non-zero, call :func:`faulthandler.enable` at startup.
672 Set to ``1`` by :option:`-X faulthandler <-X>` and the
1452 * Enable optional features like :mod:`faulthandler` and :mod:`tracemalloc`;
/third_party/python/Misc/NEWS.d/
D3.6.2rc1.rst342 faulthandler now correctly filters and displays exception codes on Windows
644 faulthandler: Restore the old sigaltstack during teardown. Patch by
D3.10.0b4.rst182 The :mod:`faulthandler` module now detects if a fatal error occurs during a
D3.5.0a3.rst449 of faulthandler now accept file descriptors. Patch by Wei Wu.
D3.5.0a4.rst437 Fix the faulthandler module to handle reentrant calls to its signal

12