it seems you already answered your own question, the old version have a bug
that causes segfault, consider upgrading

On Wed, Jan 9, 2019 at 11:08 PM Thomas-James Goin <james.g...@oracle.com>
wrote:

> I was referred to this mailing list by a coworker to ask for some help on
> a segfaulting issue I’m seeing with uwsgi.  Currently I’m overseeing a
> fleet of about a dozen machines, some old and some new.  The newer ones are
> running Ubuntu 14.04.5 LTS whereas the old ones are running 14.04.4 LTS.
> When we stood them up recently with our bootstrap process, we immediately
> noticed that uwsgi was throwing segfaults into the log.  I’ve posted the
> segfault below and a comparison of the libc and python2.7 packages
> installed on each for comparison.  For the record: uwsgi is running in a
> Python virtualenv with flask and pip manages the package itself from within
> the virtualenv.
>
> SEGFAULT:
> —
> !!! uWSGI process 5015 got Segmentation Fault !!!
> *** backtrace of 5016 ***
> /SCRUBBED/BINARY/PATH/bin/uwsgi(uwsgi_backtrace+0x2e) [0x46b54e]
> /SCRUBBED/BINARY/PATH/bin/uwsgi(uwsgi_segfault+0x21) [0x46b911]
> /lib/x86_64-linux-gnu/libc.so.6(+0x36cb0) [0x7f5e3acbecb0]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyObject_Malloc+0x248)
> [0x7f5e3b45f928]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(_PyObject_GC_Malloc+0x19)
> [0x7f5e3b3eae99]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyType_GenericAlloc+0x3b)
> [0x7f5e3b3f43bb]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x13d273) [0x7f5e3b3c7273]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x43)
> [0x7f5e3b3c46f3]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2316)
> [0x7f5e3b414906]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)
> [0x7f5e3b417149]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)
> [0x7f5e3b417149]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x1c4a93) [0x7f5e3b44ea93]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x9f196) [0x7f5e3b329196]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x88732) [0x7f5e3b312732]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x13d2bf) [0x7f5e3b3c72bf]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x43)
> [0x7f5e3b3c46f3]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x2316)
> [0x7f5e3b414906]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)
> [0x7f5e3b417149]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)
> [0x7f5e3b417149]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)
> [0x7f5e3b417149]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x4b59)
> [0x7f5e3b417149]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)
> [0x7f5e3b41863d]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x1c5010) [0x7f5e3b44f010]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x43)
> [0x7f5e3b3c46f3]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0xb96cd) [0x7f5e3b3436cd]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x43)
> [0x7f5e3b3c46f3]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x47)
> [0x7f5e3b43ebc7]
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(+0x66882) [0x7f5e3b2f0882]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x8184) [0x7f5e3c9be184]
> /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f5e3ad8603d]
> *** end of backtrace ***
> ---
>
> OLD:
> —
> # cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS”
>
> # dpkg --list | egrep 'libc6|python2\.7'
> ii  libc6:amd64                         2.19-0ubuntu6.11
>                   amd64        Embedded GNU C Library: Shared libraries
> ii  libc6-dbg:amd64                     2.19-0ubuntu6.11
>                   amd64        Embedded GNU C Library: detached debugging
> symbols
> ii  libc6-dev:amd64                     2.19-0ubuntu6.11
>                   amd64        Embedded GNU C Library: Development
> Libraries and Header Files
> ii  libpython2.7:amd64                  2.7.6-8ubuntu0.3
>                   amd64        Shared Python runtime library (version 2.7)
> ii  libpython2.7-dbg:amd64              2.7.6-8ubuntu0.3
>                   amd64        Debug Build of the Python Interpreter
> (version 2.7)
> ii  libpython2.7-dev:amd64              2.7.6-8ubuntu0.3
>                   amd64        Header files and a static library for Python
> (v2.7)
> ii  libpython2.7-minimal:amd64          2.7.6-8ubuntu0.3
>                   amd64        Minimal subset of the Python language
> (version 2.7)
> ii  libpython2.7-stdlib:amd64           2.7.6-8ubuntu0.3
>                   amd64        Interactive high-level object-oriented
> language (standard library, version 2.7)
> ii  python2.7                           2.7.6-8ubuntu0.3
>                   amd64        Interactive high-level object-oriented
> language (version 2.7)
> ii  python2.7-dbg                       2.7.6-8ubuntu0.3
>                   amd64        Debug Build of the Python Interpreter
> (version 2.7)
> ii  python2.7-dev                       2.7.6-8ubuntu0.3
>                   amd64        Header files and a static library for Python
> (v2.7)
> ii  python2.7-minimal                   2.7.6-8ubuntu0.3
>                   amd64        Minimal subset of the Python language
> (version 2.7)
> ---
>
> NEW:
> —
> # cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS”
>
> # dpkg --list | egrep 'libc6|python2\.7'
> ii  libc6:amd64                          2.19-0ubuntu6.14
>              amd64        Embedded GNU C Library: Shared libraries
> ii  libc6-dev:amd64                      2.19-0ubuntu6.14
>              amd64        Embedded GNU C Library: Development Libraries and
> Header Files
> ii  libpython2.7:amd64                   2.7.6-8ubuntu0.5
>              amd64        Shared Python runtime library (version 2.7)
> ii  libpython2.7-dev:amd64               2.7.6-8ubuntu0.5
>              amd64        Header files and a static library for Python
> (v2.7)
> ii  libpython2.7-minimal:amd64           2.7.6-8ubuntu0.5
>              amd64        Minimal subset of the Python language (version
> 2.7)
> ii  libpython2.7-stdlib:amd64            2.7.6-8ubuntu0.5
>              amd64        Interactive high-level object-oriented language
> (standard library, version 2.7)
> ii  python2.7                            2.7.6-8ubuntu0.5
>              amd64        Interactive high-level object-oriented language
> (version 2.7)
> ii  python2.7-dev                        2.7.6-8ubuntu0.5
>              amd64        Header files and a static library for Python
> (v2.7)
> ii  python2.7-minimal                    2.7.6-8ubuntu0.5
>              amd64        Minimal subset of the Python language (version
> 2.7)
> —
>
> —
>
>
>
> *James Goin* | Software Engineer, Liberator Squad
>
> _______________________________________________
> uWSGI mailing list
> uWSGI@lists.unbit.it
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to