question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Project explorer widget crash if project located on UNC path after %clear command

See original GitHub issue

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

Spyder application crashes after the first script run if the project is located in UNC path and configured to run the script in dedicated console. It crashes after moving the mouse to the project tree.

Windows fatal exception: access violation Faulting application name: pythonw.exe, version: 3.8.5150.1013, time stamp: 0x5f15bf72 Faulting module name: Qt5Widgets.dll, version: 5.12.9.0, time stamp: 0x5ee1d6fa Exception code: 0xc0000005 Fault offset: 0x00000000002055ba Faulting application path: c:\python38\pythonw.exe Faulting module path: c:\python38\lib\site-packages\PyQt5\Qt\bin\Qt5Widgets.dll

As I understand, QtTree refreshes and crashes by access violation after %clear command. Also if you add file to project (which is located in UNC path) via the project widget it will not appear in project tree.

What steps reproduce the problem?

  1. Create a project located in UNC path
  2. Add new python file
  3. Configure to run script in dedicated console
  4. Run script (could be even empty)
  5. Move the mouse to project tree
  6. App crashes

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

No crash

Paste Traceback/Error Below (if applicable)

Windows fatal exception: access violation Faulting application name: pythonw.exe, version: 3.8.5150.1013, time stamp: 0x5f15bf72 Faulting module name: Qt5Widgets.dll, version: 5.12.9.0, time stamp: 0x5ee1d6fa Exception code: 0xc0000005

Versions

  • Spyder version: 4.1.5 None
  • Python version: 3.8.5 64-bit
  • Qt version: 5.12.9
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.6.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.18.1 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
nbconvert >=4.0                :  6.0.6 (OK)
numpydoc >=0.6.0               :  1.1.0 (OK)
paramiko >=2.4.0               :  2.7.2 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.2 (OK)
pygments >=2.0                 :  2.7.1 (OK)
pylint >=1.0                   :  2.6.0 (OK)
pyls >=0.34.0;<1.0.0           :  0.35.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  1.0.1 (OK)
qtconsole >=4.6.0              :  4.7.7 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
sphinx >=0.6.6                 :  3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 :  1.9.4 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  19.0.2 (OK)

# Optional:
cython >=0.21                  :  None (OK)
matplotlib >=2.0.0             :  None (OK)
numpy >=1.7                    :  None (OK)
pandas >=0.13.1                :  None (OK)
scipy >=0.17.0                 :  None (OK)
sympy >=0.7.3                  :  None (OK)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
ihormelnykcommented, Apr 14, 2022

Hi @dalthviz , looks like it works with the Windows installer, thanks!

1reaction
ihormelnykcommented, Oct 4, 2020

Hi @juanis2112 , @ccordoba12 Here is GIF file attached for Spyder crash demonstration. In my opinion, this is quite a critical issue, as it is almost impossible to work with projects on a network location spyder_crash

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows Explorer crashes when using a UNC path - Support
Windows Explorer can crash when attempting to navigate to a resource defined by a UNC path (i.e. \\server01\vol1\ ). A similar crash can ......
Read more >
Troubleshoot permission and security issues - ASP.NET
This article describes how to troubleshoot common permissions and security-related issues in ASP.NET.
Read more >
How to Fix a GPU Driver Crash - Unreal Engine Documentation
When working in graphics-heavy projects, it is possible that you may encounter a GPU crash. When this happens, you will see a window...
Read more >
Common Flutter errors
Introduction. This page explains several frequently-encountered Flutter framework errors and gives suggestions on how to resolve them.
Read more >
Bug List
444005, Platform, SWT, platform-swt-inbox, RESO, NOT_, Internet explorer integration crashes eclipse 3.7.2 up to 4.2.2 since Windows security updates from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found