Skip to content

uWSGI process got Segmentation Fault #330

Closed
@maximekl

Description

@maximekl

Hi,
It's look like one of our dependencies bumped greenlet to 2.0.1.
Last night we had a failure on our server :

!!! uWSGI process 2603100 got Segmentation Fault !!!
*** backtrace of 2603100 ***
uWSGI worker [634941: backend](uwsgi_backtrace+0x2a) [0x558b2fb529ca]
uWSGI worker [634941: backend](uwsgi_segfault+0x23) [0x558b2fb52db3]
/lib/x86_64-linux-gnu/libc.so.6(+0x37840) [0x7fdd9c614840]
.../lib/python3.7/site-packages/greenlet/_greenlet.cpython-37m-x86_64-linux-gnu.so(_ZN24ThreadState_DestroyNoGIL19DestroyQueueWithGILEPv+0x$
.../3.7.7/lib/libpython3.7m.so.1.0(Py_MakePendingCalls+0x112) [0x7fdd9c187662]
.../3.7.7/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x6b79) [0x7fdd9c145779]
.../3.7.7/lib/libpython3.7m.so.1.0(_PyFunction_FastCallDict+0x11a) [0x7fdd9c094c6a]
.../3.7.7/lib/libpython3.7m.so.1.0(_PyObject_CallMethodId+0x2de) [0x7fdd9c11548e]
.../3.7.7/lib/libpython3.7m.so.1.0(+0x21ff04) [0x7fdd9c1a1f04]
.../3.7.7/lib/libpython3.7m.so.1.0(Py_FinalizeEx+0x1f) [0x7fdd9c1bb98f]
uWSGI worker [634941: backend](uwsgi_plugins_atexit+0x71) [0x558b2fb50d51]
/lib/x86_64-linux-gnu/libc.so.6(+0x39d8c) [0x7fdd9c616d8c]
/lib/x86_64-linux-gnu/libc.so.6(+0x39eba) [0x7fdd9c616eba]
uWSGI worker [634941: backend](+0x2db5f) [0x558b2fb05b5f]
uWSGI worker [634941: backend](end_me+0x25) [0x558b2fb4f8d5]
uWSGI worker [634941: backend](uwsgi_ignition+0x138) [0x558b2fb52fa8]
uWSGI worker [634941: backend](uwsgi_worker_run+0x280) [0x558b2fb56650]
uWSGI worker [634941: backend](uwsgi_run+0x454) [0x558b2fb56bd4]
uWSGI worker [634941: backend](+0x2a4ee) [0x558b2fb024ee]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fdd9c60109b]
uWSGI worker [634941: backend](_start+0x2a) [0x558b2fb0251a]
*** end of backtrace ***

Remind me of #325 cause of _ZN24ThreadState_DestroyNoGIL19DestroyQueueWithGILEPv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions