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.

Segfault on OSX sleep

See original GitHub issue

Description of your problem

What steps will reproduce the problem?

  1. Run spyder 3.0.2
  2. Sleep the system (OSX Sierra)
  3. Wake the system up

What is the expected output? What do you see instead? Expected: spyder keeps on running. Instead:

/Users/kain/anaconda/bin/python.app: line 3: 23943 Segmentation fault: 11 /Users/kain/anaconda/python.app/Contents/MacOS/python “$@”

Please provide any additional information below

Versions and main components

  • Spyder Version: 3.0.2
  • Python Version: 3.5.2
  • Operating system: OSX Sierra

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

jedi >=0.8.1 : 0.9.0 (OK) matplotlib >=1.0 : 1.5.3 (OK) nbconvert >=4.0 : 4.2.0 (OK) numpy >=1.7 : 1.11.2 (OK) pandas >=0.13.1 : 0.19.1 (OK) pep8 >=0.6 : 1.7.0 (OK) psutil >=0.3 : 5.0.0 (OK) pyflakes >=0.6.0 : 1.3.0 (OK) pygments >=2.0 : 2.1.3 (OK) pylint >=0.25 : 1.5.4 (OK) qtconsole >=4.2.0: 4.2.1 (OK) rope >=0.9.4 : 0.9.4-1 (OK) sphinx >=0.6.6 : 1.4.8 (OK) sympy >=0.7.3 : 1.0 (OK)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
celstarkcommented, Jan 9, 2017

As ccordoba12 noted, it’s the Qt in Anaconda. They now have 5.6.2 up that fixes it with a simple “conda update qt”

1reaction
xhaincommented, May 3, 2018

@celstark

conda update qt worked for me. Was getting a segmentation error before when trying to launch spyder from terminal on OSX. Nothing at all happened when trying to launch from the conda launcher.

/bin/pythonw line 3: 46318 Segmentation fault: 11

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some macOS screen changes may cause a segmentation ...
Some macOS screen changes may cause a segmentation fault, e.g. when the system goes to sleep. GNU Image Manipulation Program version 2.10.14 ...
Read more >
Segmentation fault: 11Crash on MacBookPro, OK on iMac
On MBP I have a crash that I do not get on iMac ; it happens when I print some data (either select...
Read more >
Segfault with pop/push in x86/OSX - Stack Overflow
1 Answer 1 · This seg fault is due to a stack misalignment. · This occurs only on OSes that use the System...
Read more >
Issue 30385: Segfault on OSX with 3.6.1 - Python tracker
... will segfault on MacOS 16.4.0 with python 3.6.1. ... Version: 12 Anonymous UUID: DB16C70B-F979-86B6-864C-0AC84B0E6402 Sleep/Wake UUID: ...
Read more >
A segmentation fault when running sleep() - GNU mailing lists
Subject: A segmentation fault when running sleep() ... 15 Dec 2009 13:51:09 +0800. User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812) ...
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