Spyder crashes with segmentation fault on startup in Anaconda 4.5.0
See original GitHub issueDEVELOPER NOTE: This error is now fixed in Spyder >= 3.3.0. To resolve it, please update to the current version with conda update spyder
from the Anaconda Prompt/Terminal/command line, which also fixes other bugs and adds new features, enhancement and usability/documentation improvements. Thanks!
Hi, after updating Spyder on Anaconda it crashes on startup. The splash screen shows up before terminating with a segmentation fault. It can be reproduced in a minimal Anaconda environment with:
# Create minimal environment:
~$ conda --version
conda 4.5.0
~$ conda create --name tst
~$ conda activate tst
~$ conda install spyder
~$ rm -rf ~/.config/spyder-py3
~$ SPYDER_DEBUG="3" spyder --reset
*** Reset Spyder settings to defaults ***
removing: /home/brunn/.config/spyder-py3/spyder.ini
removing: /home/brunn/.config/spyder-py3/langconfig
# Run spyder:
~$ SPYDER_DEBUG="3" spyder
Start of MainWindow constructor
End of MainWindow constructor
*** Start of MainWindow setup ***
..core actions
..toolbars
..tools
..sift?
..plugin: internal console
..internal console: initializing
..plugin: working directory
Loading help...
Loading outline explorer...
Loading editor...
Introspection Plugin Loaded: rope
Introspection Plugin Loaded: jedi
Introspection Plugin Loaded: fallback
setfocusto: <spyder.widgets.sourcecode.codeeditor.CodeEditor object at 0x7f99901c3948>
current_changed: 0 <spyder.widgets.sourcecode.codeeditor.CodeEditor object at 0x7f99901c3948> 140297524492616
Added thread <spyder.widgets.editor.AnalysisThread object at 0x7f9990155ee8> to queue
Added thread <spyder.widgets.editor.AnalysisThread object at 0x7f9990155f78> to queue
..widgets
Loading file explorer...
Loading history plugin...
Loading online help...
Loading project explorer...
Updating queue:
started: 0
pending: 2
===>starting: <spyder.widgets.editor.AnalysisThread object at 0x7f9990155ee8>
Updating queue:
started: 1
pending: 1
===>starting: <spyder.widgets.editor.AnalysisThread object at 0x7f9990155f78>
Loading namespace browser...
Updating queue:
started: 0
pending: 0
Updating queue:
started: 0
pending: 0
Loading IPython console...
Setting up main window...
Setting up window...
*** End of MainWindow setup ***
Speicherzugriffsfehler (means: segmentation fault)
I’m not quite sure how to continue debugging. Investigating the core dump did not yield in any results. I’m using Debian unstable. The conda package info returns:
spyder 3.2.8 py36_0
-------------------
file name : spyder-3.2.8-py36_0.tar.bz2
name : spyder
version : 3.2.8
build string: py36_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/linux-64
size : 2.6 MB
arch : None
constrains : ()
license : MIT
md5 : 9ad003181d3ce2134a6f024b86a2cdab
platform : None
subdir : linux-64
timestamp : 1521092348360
url : https://repo.anaconda.com/pkgs/main/linux-64/spyder-3.2.8-py36_0.tar.bz2
dependencies:
chardet >=2.0
cloudpickle
jedi >=0.9
nbconvert
numpydoc
pickleshare
psutil
pycodestyle
pyflakes
pygments >=2.0
pylint
pyqt
python >=3.6,<3.7.0a0
pyzmq
qtawesome >=0.4.1
qtconsole >=4.2
qtpy >=1.2.0
rope >=0.9.4
sphinx
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:38 (16 by maintainers)
Top Results From Across the Web
Spyder anaconda crashes on Linux with segmentation fault
(Spyder maintainer here) This problem is caused by faulty graphical card drivers and there are two ways to fix it: Update to Spyder...
Read more >Spyder on Anaconda crashes with Segmentation fault error on ...
Solution: I uninstalled the latest Anaconda release (5.2) and downgraded to Anaconda 5.0. Now everything works just fine.
Read more >Index of Portage & Programming - Gentoo Forums
Page:1 · "media-libs/mesa ERROR: Problem encountered: EGL requires dri" Page:1 · "xattr-install segmentation fault when installing compsize" Page:1 ...
Read more >conda-forge - :: Anaconda.org
aiohue, 4.5.0, Apache-2.0, X, Python module to talk to Philips Hue. ... Provider for Apache Airflow. Implements apache-airflow-providers-segment package.
Read more >spyder-ide/public - Gitter
@CAM-Gerlach the IPython console error is gone whith pip install -U matplotlib ... edge-case bugs I've never had any critical problems (crashes, freezes, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Following a suggestion in #3326, I was able to work around the problem by doing
This problem is also addressed in PR #7029. Thanks.
Same issue for me on Ubuntu 18.04. Doing a
conda install pyopengl
fixed it for me as well. Here is the output, which may shed some light.