CentOS release 6.8 (Final)
Python information:
Python 3.7.2
Uwsgi information
2.0.18
Framework:
Django 2.1
Problem: python SSL can be through the runserver then executes can send E-mail, but when put into the uwsgi environment, error message is as follows:
!!!!!!!!! UWSGI process 10068 got Segmentation Fault!!!!!!
Backtrace of 10068 * * * * * *
/usr/local/python3/bin/uwsgi (uwsgi_backtrace + 0 x29) x4c0309 [0]
/usr/local/python3/bin/uwsgi (uwsgi_segfault + 0 x21) x4c0491 [0]
/lib64/libc. So. 6 (+ 0 x32510) x7ff68abd0510 [0]
The/usr/lib64/libcrypto. So. 1.0.0 (X509_VERIFY_PARAM_set_hostflags + 0 x4) x7ff682c60d54 [0]
/home/python_envs/operation/lib/python3.7/lib - dynload/_ssl. Retaining 37 m - x86_64 - Linux - gnu. So (+ 0 xef37 x7ff681238f37 [0])
/usr/local/python3/bin/uwsgi x54e2a8 [0] ()
/usr/local/python3/bin/uwsgi (_PyMethodDef_RawFastCallKeywords + 0 x248) x50db38 [0]
/usr/local/python3/bin/uwsgi (_PyCFunction_FastCallKeywords + 0 x23) x50e9d3 [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x4807) x591147 [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x1ba) x595afa [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallDict + 0 x144) x50e4b4 [0]
/usr/local/python3/bin/uwsgi (_PyObject_Call_Prepend + 0 x8b) x50f58b [0]
/usr/local/python3/bin/uwsgi x54d304 [0] ()
/usr/local/python3/bin/uwsgi x54f0b3 [0] ()
/usr/local/python3/bin/uwsgi (_PyObject_FastCallKeywords + 0 x9e) x50ea8e [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x46e5) x591025 [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x51f) x595e5f [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallKeywords + 0 x100 x50e2a0 [0])
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x1404) x58dd44 [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x1ba) x595afa [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallDict + 0 x3ab) x50e71b [0]
/usr/local/python3/bin/uwsgi (_PyObject_Call_Prepend + 0 x8b) x50f58b [0]
/usr/local/python3/bin/uwsgi x552721 [0] ()
/usr/local/python3/bin/uwsgi x54f10b [0] ()
/usr/local/python3/bin/uwsgi (PyObject_Call + 0 x52) x50fae2 [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x1d30) x58e670 [0]
/usr/local/python3/bin/uwsgi x50e0da [0] ()
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x86c) x58d1ac [0]
/usr/local/python3/bin/uwsgi x50e0da [0] ()
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x86c) x58d1ac [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x1ba) x595afa [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallKeywords + 0 x100 x50e2a0 [0])
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x86c) x58d1ac [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x1ba) x595afa [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallKeywords + 0 x100 x50e2a0 [0])
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x1404) x58dd44 [0]
/usr/local/python3/bin/uwsgi x50e0da [0] ()
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallDict + 0 x3fb) x50e76b [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x1d30) x58e670 [0]
/usr/local/python3/bin/uwsgi x50e0da [0] ()
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x69e) x58cfde [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x1ba) x595afa [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallKeywords + 0 x100 x50e2a0 [0])
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x459a) x590eda [0]
/usr/local/python3/bin/uwsgi x50e0da [0] ()
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallDict + 0 x75) x50e3e5 [0]
/usr/local/python3/bin/uwsgi (_PyObject_Call_Prepend + 0 x8b) x50f58b [0]
/usr/local/python3/bin/uwsgi x54c2c4 [0] ()
/usr/local/python3/bin/uwsgi (_PyObject_FastCallKeywords + 0 x9e) x50ea8e [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x46e5) x591025 [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x1ba) x595afa [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallKeywords + 0 x100 x50e2a0 [0])
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x459a) x590eda [0]
/usr/local/python3/bin/uwsgi x50e0da [0] ()
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallDict + 0 x75) x50e3e5 [0]
/usr/local/python3/bin/uwsgi (_PyObject_Call_Prepend + 0 x8b) x50f58b [0]
/usr/local/python3/bin/uwsgi x54c2c4 [0] ()
/usr/local/python3/bin/uwsgi (_PyObject_FastCallKeywords + 0 x9e) x50ea8e [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x46e5) x591025 [0]
/usr/local/python3/bin/uwsgi (_PyEval_EvalCodeWithName + 0 x1ba) x595afa [0]
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallKeywords + 0 x100 x50e2a0 [0])
/usr/local/python3/bin/uwsgi (_PyEval_EvalFrameDefault + 0 x459a) x590eda [0]
/usr/local/python3/bin/uwsgi x50e0da [0] ()
/usr/local/python3/bin/uwsgi (_PyFunction_FastCallDict + 0 x75) x50e3e5 [0]
* * * * * * end of backtrace
DAMN! Worker 6 (pid: 10068) died: (trying to respawn...
Respawned uWSGI worker 6 (12244) new pid:
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull