Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when trying to change keyboard shortcuts in Preferences #5426

Closed
Griffintaur opened this issue Oct 9, 2017 · 12 comments
Closed

Comments

@Griffintaur
Copy link

Description of your problem

There is a segmentation dump issue and spyder is getting crashed whenever I tried to change the default key combination for comment in Spyder. [Ubuntu]
What steps will reproduce the problem?

  1. Launch and go to preferences
  2. Click on the keyboard shortcuts and try to change it.
  3. Segmentation dump issue in Ubuntu

What is the expected output? What do you see instead?
No crash. changes should be successful.

Please provide any additional information below

Versions and main components

  • Spyder Version: 3.2.3
  • Python Version: 3.6.2
  • Qt Version:
  • PyQt Version:
  • Operating system: Ububtu

Dependencies

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

@ccordoba12
Copy link
Member

What are your Qt and PyQt versions?

@ccordoba12
Copy link
Member

Also, please run in a terminal

spyder --reset

and try again

@csabella
Copy link
Contributor

csabella commented Oct 9, 2017

I'm using Ubuntu 16.04 as well and I get the segmentation fault if I open any keyboard shortcut window, even if I click the Cancel button without making any changes.

I don't know if it's helpful, but I ran gdb and recreated the error:

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007ffff2c0816e in QMetaObject::activate(QObject*, int, int, void**) ()
from /home/cheryl/anaconda3/envs/spyder-dev/lib/python3.6/site-packages/PyQt5/../../../libQt5Core.so.5

@ccordoba12
Copy link
Member

ccordoba12 commented Oct 9, 2017 via email

@csabella
Copy link
Contributor

csabella commented Oct 9, 2017

Sorry, I wasn't trying to report a bug, just trying to help provide debugging information. But, here are my versions:
[Python 3.6.3 64bits, Qt 5.6.2, PyQt5 5.6 on Linux]

@ccordoba12
Copy link
Member

Thanks @csabella!

@ccordoba12
Copy link
Member

@csabella, is this still an issue for you?

@ccordoba12 ccordoba12 changed the title Segmentation fault issue when trying to change the default key combination for comment Segmentation fault issue when trying to change keyboard shortcuts in Preferences Nov 6, 2017
@ccordoba12 ccordoba12 changed the title Segmentation fault issue when trying to change keyboard shortcuts in Preferences Segmentation fault when trying to change keyboard shortcuts in Preferences Nov 6, 2017
@csabella
Copy link
Contributor

csabella commented Nov 7, 2017

@ccordoba12 It still happens on 3.x, but does not happen on master.

@ccordoba12 ccordoba12 modified the milestones: v3.2.5, v3.2.6 Dec 6, 2017
@ccordoba12
Copy link
Member

I can't reproduce this in Kubuntu 17.04.

@csabella
Copy link
Contributor

On the last update, I said it wasn't happening on master, but now it's happening on master for me, as well as 3.x and the release version of 3.2.5.

I open Preferences, then Keyboard Shortcuts, double click on 'Find Next/F3', press F4 for the new shortcut, and click OK. It closes Spyder and gives a seg fault. I looked at this a little bit when it was first reported, but I'm going to spend some more time on it now to try to track it down.

@ccordoba12
Copy link
Member

Thanks Cheryl! I don't think this is going to be easy to fix...

@ValerioB88
Copy link

Had this with sypder 3.4, solved it with spyder 3.6. Try conda update spyder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants