Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spyder crashes at shutdown #20561

Closed
10 tasks
impact27 opened this issue Feb 19, 2023 · 0 comments · Fixed by #20562
Closed
10 tasks

Spyder crashes at shutdown #20561

impact27 opened this issue Feb 19, 2023 · 0 comments · Fixed by #20562

Comments

@impact27
Copy link
Contributor

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

What steps reproduce the problem?

Run spyder, close it. I get good results with:

  1. pytest spyder/app/tests/test_mainwindow.py::test_window_title

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)

QThread: Destroyed while thread is still running
Fatal Python error: Aborted

Thread 0x00000002dd79f000 (most recent call first):
  File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/selectors.py", line 562 in select
  File "/opt/homebrew/lib/python3.10/site-packages/nest_asyncio.py", line 107 in _run_once
  File "/opt/homebrew/lib/python3.10/site-packages/nest_asyncio.py", line 84 in run_until_complete
  File "/opt/homebrew/lib/python3.10/site-packages/jupyter_client/utils.py", line 27 in wrapped
  File "/opt/homebrew/lib/python3.10/site-packages/jupyter_client/manager.py", line 504 in _async_shutdown_kernel
  File "/opt/homebrew/lib/python3.10/site-packages/jupyter_client/manager.py", line 82 in wrapper
  File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/tasks.py", line 232 in __step
  File "/opt/homebrew/lib/python3.10/site-packages/nest_asyncio.py", line 196 in step
  File "/opt/homebrew/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/events.py", line 80 in _run
  File "/opt/homebrew/lib/python3.10/site-packages/nest_asyncio.py", line 120 in _run_once
  File "/opt/homebrew/lib/python3.10/site-packages/nest_asyncio.py", line 84 in run_until_complete
  File "/opt/homebrew/lib/python3.10/site-packages/jupyter_client/utils.py", line 27 in wrapped
  File "/Users/quentin/pyscripts/spyder/spyder/plugins/ipythonconsole/utils/kernel_handler.py", line 541 in _thread_shutdown_kernel

Thread 0x00000002ccd7b000 (most recent call first):
  File "/Users/quentin/pyscripts/spyder/spyder/plugins/ipythonconsole/utils/kernel_handler.py", line 104 in run

Thread 0x00000002cccef000 (most recent call first):
  File "/Users/quentin/pyscripts/spyder/spyder/plugins/ipythonconsole/utils/kernel_handler.py", line 104 in run

Current thread 0x00000001dfad7a80 (most recent call first):
  <no Python frame>

Versions

  • Spyder version: master
  • Python version:
  • Qt version: Python 3.10.8 64-bit | Qt 5.15.5 | PyQt5 5.15.7 | Darwin 22.2.0
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants