You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Python notebook that when run on Windows will produce:
10:55:33.249 [error] Disposing session as kernel process died ExitCode: 3221225477, Reason: 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
Windows fatal exception: access violation
While this points at arrow_flight.dll, I was curious if anyone knows what might cause the Windows access violation? I have all the Windows virus and data protections settings disabled.
When I run the same Python code as a script, outside of a notebook, it works as expected with no crash or errors.
After looking at vscode-jupyter kernel crashs wiki page, I can confirm I am not using conda, but pip to install everything locally.
Full fault handler trace:
Details
08:01:23.753 [info] Kernel acknowledged execution of cell 3 @ 1707836483753
08:01:25.119 [warn] StdErr from Kernel Process Windows fatal exception: access violation
Thread 0x00002704 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\parentpoller.py", line 93 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001f14 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 355 in wait
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py"
08:01:25.119 [debug] KernelProcess error: Windows fatal exception: access violation
Thread 0x00002704 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\parentpoller.py", line 93 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001f14 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 355 in wait
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py"
08:01:25.120 [warn] StdErr from Kernel Process , line 655 in wait
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 894 in run
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 60 in only_when_enabled
File "~\v3-ear\.venv\Lib\site-packages\decorator.py", line 232 in fun
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00000f04 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\control.py", line 23 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001020 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\heartbeat.py", line 106 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x0000215c (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\iostream.py", line 92 in _thread_main
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Current thread 0x000003d0 (most recent call first):
File "~\AppData\Local\Temp\ipykernel_7548\4048229254.py", line 2 in <module>
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3553 in run_code
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3493 in run_ast_nodes
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3311 in run_cell_async
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\async_helpers.py", line 129 in _pseudo_sync_runner
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3106 in _run_cell
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3051 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\zmqshell.py", line 549 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 446 in do_execute
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 775 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 359 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 437 in dispatch_shell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 531 in process_one
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 542 in dispatch_queue
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\events.py", line 88 in _run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1985 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelapp.py"
08:01:25.120 [debug] KernelProcess error: , line 655 in wait
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 894 in run
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 60 in only_when_enabled
File "~\v3-ear\.venv\Lib\site-packages\decorator.py", line 232 in fun
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00000f04 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\control.py", line 23 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001020 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\heartbeat.py", line 106 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x0000215c (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\iostream.py", line 92 in _thread_main
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Current thread 0x000003d0 (most recent call first):
File "~\AppData\Local\Temp\ipykernel_7548\4048229254.py", line 2 in <module>
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3553 in run_code
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3493 in run_ast_nodes
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3311 in run_cell_async
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\async_helpers.py", line 129 in _pseudo_sync_runner
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3106 in _run_cell
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3051 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\zmqshell.py", line 549 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 446 in do_execute
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 775 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 359 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 437 in dispatch_shell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 531 in process_one
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 542 in dispatch_queue
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\events.py", line 88 in _run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1985 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelapp.py"
08:01:25.120 [warn] StdErr from Kernel Process , line 739 in start
File "~\v3-ear\.venv\Lib\site-packages\traitlets\config\application.py", line 1075 in launch_instance
File "~\v3-ear\.venv\Lib\site-packages\ipykernel_launcher.py", line 17 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
08:01:25.120 [debug] KernelProcess error: , line 739 in start
File "~\v3-ear\.venv\Lib\site-packages\traitlets\config\application.py", line 1075 in launch_instance
File "~\v3-ear\.venv\Lib\site-packages\ipykernel_launcher.py", line 17 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
08:01:25.135 [debug] KernelProcess Exited, Exit Code - 3221225477 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
Windows fatal exception: access violation
Thread 0x00002704 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\parentpoller.py", line 93 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001f14 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 355 in wait
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 655 in wait
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 894 in run
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 60 in only_when_enabled
File "~\v3-ear\.venv\Lib\site-packages\decorator.py", line 232 in fun
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00000f04 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\control.py", line 23 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001020 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\heartbeat.py", line 106 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x0000215c (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\iostream.py", line 92 in _thread_main
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Current thread 0x000003d0 (most recent call first):
File "~\AppData\Local\Temp\ipykernel_7548\4048229254.py", line 2 in <module>
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3553 in run_code
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3493 in run_ast_nodes
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3311 in run_cell_async
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\async_helpers.py", line 129 in _pseudo_sync_runner
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3106 in _run_cell
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3051 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\zmqshell.py", line 549 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 446 in do_execute
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 775 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 359 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 437 in dispatch_shell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 531 in process_one
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 542 in dispatch_queue
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\events.py", line 88 in _run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1985 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 739 in start
File "~\v3-ear\.venv\Lib\site-packages\traitlets\config\application.py", line 1075 in launch_instance
File "~\v3-ear\.venv\Lib\site-packages\ipykernel_launcher.py", line 17 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
08:01:25.135 [error] Disposing session as kernel process died ExitCode: 3221225477, Reason: 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
Windows fatal exception: access violation
Thread 0x00002704 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\parentpoller.py", line 93 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001f14 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 355 in wait
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 655 in wait
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 894 in run
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\history.py", line 60 in only_when_enabled
File "~\v3-ear\.venv\Lib\site-packages\decorator.py", line 232 in fun
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00000f04 (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\control.py", line 23 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x00001020 (most recent call first):
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\heartbeat.py", line 106 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Thread 0x0000215c (most recent call first):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 314 in _select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\selectors.py", line 323 in select
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1947 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\iostream.py", line 92 in _thread_main
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010 in run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073 in _bootstrap_inner
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1030 in _bootstrap
Current thread 0x000003d0 (most recent call first):
File "~\AppData\Local\Temp\ipykernel_7548\4048229254.py", line 2 in <module>
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3553 in run_code
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3493 in run_ast_nodes
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3311 in run_cell_async
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\async_helpers.py", line 129 in _pseudo_sync_runner
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3106 in _run_cell
File "~\v3-ear\.venv\Lib\site-packages\IPython\core\interactiveshell.py", line 3051 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\zmqshell.py", line 549 in run_cell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 446 in do_execute
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 775 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\ipkernel.py", line 359 in execute_request
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 437 in dispatch_shell
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 531 in process_one
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelbase.py", line 542 in dispatch_queue
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\events.py", line 88 in _run
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 1985 in _run_once
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\asyncio\base_events.py", line 639 in run_forever
File "~\v3-ear\.venv\Lib\site-packages\tornado\platform\asyncio.py", line 205 in start
File "~\v3-ear\.venv\Lib\site-packages\ipykernel\kernelapp.py", line 739 in start
File "~\v3-ear\.venv\Lib\site-packages\traitlets\config\application.py", line 1075 in launch_instance
File "~\v3-ear\.venv\Lib\site-packages\ipykernel_launcher.py", line 17 in <module>
File "<frozen runpy>", line 88 in _run_code
File "<frozen runpy>", line 198 in _run_module_as_main
08:01:25.135 [info] Dispose Kernel process 2040.
08:01:25.138 [debug] Disposed Kernel process 2040.
08:01:25.149 [info] End cell 3 execution after -1707836483.753s, completed @ undefined, started @ 1707836483753
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have a Python notebook that when run on Windows will produce:
I also get a Windows event:
While this points at
arrow_flight.dll
, I was curious if anyone knows what might cause the Windows access violation? I have all the Windows virus and data protections settings disabled.When I run the same Python code as a script, outside of a notebook, it works as expected with no crash or errors.
After looking at vscode-jupyter kernel crashs wiki page, I can confirm I am not using conda, but pip to install everything locally.
Full fault handler trace:
Details
Beta Was this translation helpful? Give feedback.
All reactions