• Home
  • Raw
  • Download

Lines Matching refs:fatal_error

88 } fatal_error = {0, NULL, -1, 0};  variable
348 const int fd = fatal_error.fd; in faulthandler_fatal_error()
353 if (!fatal_error.enabled) in faulthandler_fatal_error()
373 faulthandler_dump_traceback(fd, fatal_error.all_threads, in faulthandler_fatal_error()
374 fatal_error.interp); in faulthandler_fatal_error()
376 _Py_DumpExtensionModules(fd, fatal_error.interp); in faulthandler_fatal_error()
412 const int fd = fatal_error.fd; in faulthandler_exc_handler()
449 faulthandler_dump_traceback(fd, fatal_error.all_threads, in faulthandler_exc_handler()
450 fatal_error.interp); in faulthandler_exc_handler()
492 if (fatal_error.enabled) { in faulthandler_enable()
495 fatal_error.enabled = 1; in faulthandler_enable()
537 assert(fatal_error.exc_handler == NULL); in faulthandler_enable()
538 fatal_error.exc_handler = AddVectoredExceptionHandler(1, faulthandler_exc_handler); in faulthandler_enable()
565 Py_XSETREF(fatal_error.file, file); in faulthandler_py_enable()
566 fatal_error.fd = fd; in faulthandler_py_enable()
567 fatal_error.all_threads = all_threads; in faulthandler_py_enable()
568 fatal_error.interp = PyThreadState_GetInterpreter(tstate); in faulthandler_py_enable()
580 if (fatal_error.enabled) { in faulthandler_disable()
581 fatal_error.enabled = 0; in faulthandler_disable()
589 if (fatal_error.exc_handler != NULL) { in faulthandler_disable()
590 RemoveVectoredExceptionHandler(fatal_error.exc_handler); in faulthandler_disable()
591 fatal_error.exc_handler = NULL; in faulthandler_disable()
594 Py_CLEAR(fatal_error.file); in faulthandler_disable()
600 if (!fatal_error.enabled) { in faulthandler_disable_py()
610 return PyBool_FromLong(fatal_error.enabled); in faulthandler_is_enabled()
1223 Py_VISIT(fatal_error.file); in faulthandler_traverse()