What steps will reproduce the problem?
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.
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