Pycharm Debuggin Chrash

Answered

I am using Pycharm Community 2022.2.1 on Windows 11 x64, also i got same problem with Pycharm 2020 on the same OS.

Error in sys.excepthook:
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.2.1\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_breakpoints.py", line 169, in _fallback_excepthook
SystemError: PyEval_EvalFrameEx returned a result with an error set

Original exception was:
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "_pydevd_frame_eval/pydevd_frame_evaluator_common.pyx", line 150, in _pydevd_frame_eval.pydevd_frame_evaluator_common.get_func_code_info
SystemError: <class '_pydevd_frame_eval.pydevd_frame_evaluator_common.FuncCodeInfo'> returned a result with an error set
Exception ignored in: '_pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.get_bytecode_while_frame_eval'
Traceback (most recent call last):
  File "_pydevd_frame_eval/pydevd_frame_evaluator_common.pyx", line 150, in _pydevd_frame_eval.pydevd_frame_evaluator_common.get_func_code_info
SystemError: <class '_pydevd_frame_eval.pydevd_frame_evaluator_common.FuncCodeInfo'> returned a result with an error set
Error in sys.excepthook:
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.2.1\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_breakpoints.py", line 169, in _fallback_excepthook
SystemError: PyEval_EvalFrameEx returned a result with an error set

Original exception was:
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "_pydevd_frame_eval/pydevd_frame_evaluator_common.pyx", line 150, in _pydevd_frame_eval.pydevd_frame_evaluator_common.get_func_code_info
SystemError: <class '_pydevd_frame_eval.pydevd_frame_evaluator_common.FuncCodeInfo'> returned a result with an error set
Exception ignored in: '_pydevd_frame_eval.pydevd_frame_evaluator_win32_36_64.get_bytecode_while_frame_eval'
Traceback (most recent call last):
  File "_pydevd_frame_eval/pydevd_frame_evaluator_common.pyx", line 150, in _pydevd_frame_eval.pydevd_frame_evaluator_common.get_func_code_info
SystemError: <class '_pydevd_frame_eval.pydevd_frame_evaluator_common.FuncCodeInfo'> returned a result with an error set
Traceback (most recent call last):
  File "C:\Users\niorl\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run
SystemError: <function verify_processes at 0x000002503C003BF8> returned NULL without setting an error
Unhandled exception in thread started by <_pydev_bundle.pydev_monkey._NewThreadStartupWithTrace object at 0x000002503C6B24A8>
Error in sys.excepthook:
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

SystemError: PyEval_EvalFrameEx returned a result with an error set

Original exception was:
SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\niorl\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner
  File "_pydevd_bundle\pydevd_cython_win32_36_64.pyx", line 1179, in _pydevd_bundle.pydevd_cython_win32_36_64.SafeCallWrapper.__call__
  File "_pydevd_bundle\pydevd_cython_win32_36_64.pyx", line 1353, in _pydevd_bundle.pydevd_cython_win32_36_64.TopLevelThreadTracerOnlyUnhandledExceptions.trace_unhandled_exceptions
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.2.1\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_breakpoints.py", line 124, in stop_on_unhandled_exception
SystemError: PyEval_EvalFrameEx returned a result with an error set

During handling of the above exception, another exception occurred:

SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.2.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 798, in __call__
  File "C:\Users\niorl\AppData\Local\Programs\Python\Python36\lib\threading.py", line 884, in _bootstrap
  File "C:\Users\niorl\AppData\Local\Programs\Python\Python36\lib\threading.py", line 926, in _bootstrap_inner
  File "C:\Users\niorl\AppData\Local\Programs\Python\Python36\lib\traceback.py", line 163, in format_exc
SystemError: <built-in function exc_info> returned a result with an error set

During handling of the above exception, another exception occurred:

SystemError: ..\Objects\codeobject.c:851: bad argument to internal function

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.2.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_monkey.py", line 801, in __call__
  File "C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.1/plugins/python-ce/helpers/pydev/pydevd.py", line 779, in notify_thread_not_alive
SystemError: <built-in method __enter__ of _thread.lock object at 0x000002503A556BE8> returned a result with an error set

0

Please sign in to leave a comment.