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.

Segmentation fault (core dumped) when trying to start conda-installed spyder 3.2.8

See original GitHub issue

Developer Note: *This issue is now resolved in Spyder >=3.3.0. Therefore, to fix the problem, just run conda update spyder from the command line (Anaconda Prompt if on Windows) to get the latest version, or pip install -U spyder if you don’t have Anaconda.

If this doesn’t work, then you are experiencing a different issue; try conda install pyqt=5.9 and conda install pyqt=5.6 to see if it fixes it.*

Problem Description

I have Spyder 3.2.8 installed through conda. Two days ago it worked, today I am getting a segmentation fault:

$ spyder Segmentation fault (core dumped)

What steps will reproduce the problem?

  1. Type in “spyder” at the command line.

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

I expect Spyder to start. Instead I get Segmentation fault (core dumped)

Paste Traceback/Error Below (if applicable)

There’s no traceback or error, just Segmentation fault (core dumped)

Package Versions

  • Spyder: 3.2.8 (installed with conda)
  • Python: 2.7.14
  • Qt: 5.6.2
  • PyQt: 5.6.0
  • Operating System: Ubuntu 16.04 LTS

Dependencies

I can’t start Spyder.


I’ve gone through the troubleshooting document and have tried the various suggestions within including uninstalling and reinstalling through conda. I haven’t tried installing via source, I’m hoping there is something else going on that won’t require that.


Update: aaaaaand ten minutes later it’s working. I did absolutely nothing different since posting this question, I could not tell you what changed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:58 (23 by maintainers)

github_iconTop GitHub Comments

23reactions
CAM-Gerlachcommented, Jun 21, 2018

@addyblue Try conda install pyopengl

10reactions
ccordoba12commented, Oct 12, 2018

@Samarth-Tripathi3, this should be solved by doing

conda install pyopengl

EDIT: Now that Spyder >= 3.3.0 is released with the built-in fix for this, the current solution that should fix this is now just conda update spyder.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix spyder segmentation fault in Xubuntu?
spyder Segmentation fault (core dumped). I am using xubuntu 18.04, anaconda 1.8.7,spyder 3.2.8 . How can I fix this?
Read more >
spyder-ide/public - Gitter
Hello, my Spyder input() function generates an error. Anaconda update and installing new Spyder do not help. What can be the reason? 1...
Read more >
Spyder on Anaconda crashes with Segmentation fault error on ...
All conda commands work perfectly, but when I try to open Spyder, I get the error Segmentation fault (core dumped).
Read more >
Newest 'spyder' Questions - Ask Ubuntu
I have installed spyder via apt under Ubuntu 22.04LTS: $ dpkg -l | grep spyder ... line 3: 2111 Segmentation fault (core dumped)...
Read more >
Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. ... assertion failures and code errors that cause segmentation faults or other...
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