Spyder: Segfault on OSX sleep

Created on 23 Nov 2016  Â·  10Comments  Â·  Source: spyder-ide/spyder

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)

Most helpful comment

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"

All 10 comments

Actually, this happens even when not sleeping, just spurious during idleing. The segfault report is attached.
segfault.txt

If you're using Anaconda, its Qt version (5.6.0) is not ready for Sierra, but an update is coming which will fix this.

I _am_ using anaconda, and thank you for the information.

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"

@celstark, have you noticed more segfaults after updating to Qt 5.6.2?

@goanpeca has complained about segfaults in his macOS installation for some time now (even with 5.6.2)

Hello, I also have the new macbook pro (Sierra 10.12.2) and found Spyder crashing when my laptop is running for a while (more often when waking the system up from sleep).
Qt is already updated to 5.6.2.
Do you guys have any updates on this issue?
Thanks

I still have the same problem with Qt 5.6.2 in El Capitan.

Mine has been stable.

On Tue, Jan 31, 2017 at 5:15 PM, HM Chang notifications@github.com wrote:

I still have the same problem with Qt 5.6.2 in El Capitan.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/3732#issuecomment-276545482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJIanubtbkyupmH_bqxIZ8dhgLbdEZXHks5rX9ycgaJpZM4K7Hkc
.

--
Craig Stark
Stark Labs Astrophotography Software
http://www.stark-labs.com

I have this problem as well, also on macOS Sierra (v10.12.4 at the moment). I am currently using Spyder v3.1.4, with Python v3.5.3 and Qt v5.7.1, but I have experienced this with several of the latest versions of Spyder (not sure if Qt has been updated during this time).

Dependencies:
jedi >=0.9.0 : 0.10.2 (OK)
matplotlib >=1.0 : 2.0.0 (OK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : 1.12.1 (OK)
pandas >=0.13.1 : 0.20.0 (OK)
pep8 >=0.6 : 1.7.0 (OK)
psutil >=0.3 : 5.2.2 (OK)
pyflakes >=0.6.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.7.1 (OK)
qtconsole >=4.2.0: 4.3.0 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.5.5 (OK)
sympy >=0.7.3 : None (NOK)

crashreport.txt

@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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabrielclow picture gabrielclow  Â·  3Comments

JesterEE picture JesterEE  Â·  3Comments

LDONT picture LDONT  Â·  3Comments

cchu08 picture cchu08  Â·  3Comments

spyder-bot picture spyder-bot  Â·  3Comments