Spyder: Importing spyder.plugins.editor segfaults

Created on 25 Jan 2017  路  4Comments  路  Source: spyder-ide/spyder

Description of your problem

What steps will reproduce the problem?

  1. python -c "import spyder.plugins.editor"

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

I get a segmentation fault. I would expect an import never to lead to a segmentation fault.

Please provide any additional information below

This is Debian bug 844601. Issue #4014 is related.

Versions and main components

  • Spyder Version: Current head, either master branch or 3.x branch. PR #4036 does not fix this issue.
  • Python Version: 3.6.0 or 3.5.2
  • Operating system: Debian Linux
Bug

All 4 comments

The stack trace is the same as listed in #4014. The crash happens in QFontDatabase::addApplicationFont(QString const&), so the fix is probably similar.

Arguably, this issue is not as severe as #4014 because there is less reason for somebody to import spyder.plugins.editor.

@dalthviz could we add a test that tries to import each spyder file as @jitseniesen shows? By recursively going trhough all python files in the spyder folder驴

@goanpeca, I think @dalthviz's PR on QtAwesome is enough for now.

yep

Was this page helpful?
0 / 5 - 0 ratings