When I run my test suite using pycharm for a django app in my local machine, at certain test I got:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
If I run that test in isolation using pycharm, it succeeds, which means there's not a problem in the app or test. If I disable that particular test, down the line I get the same error, in a different test, this one a dummy test! This seems to indicate that it's a problem with pycharm itself. The full test suite succeeds in the CI environment.
I tried some suggestion from other stackoverflow questions, which didn't solve the issue:
- Unticking the Qt box in PyCharm Settings (Build, Ex... -> Python Debugger)
- Uninstalling python3-pyqt5 (same link as above): Pyqt is not installed in my local machine.
- Ticking gevent compatible in Pycharm Settings
My Environment: python 3.7.3, djando 2.2.8, Pycharm 2019.2.4 (professional edition)