Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Segmentation fault in uwsgi-1.4+python2.7 using ultramysql #56

Open
neerajkoul opened this issue Nov 24, 2014 · 0 comments
Open

Segmentation fault in uwsgi-1.4+python2.7 using ultramysql #56

neerajkoul opened this issue Nov 24, 2014 · 0 comments

Comments

@neerajkoul
Copy link

I am using uwsgi in an async ( ugreen) mode, and communicating with mysql using ultramysql, but am getting this trace, mentioning segmentation fault, quite a lot

Mon Nov 24 19:46:55 2014 - !!! uWSGI process 910 got Segmentation Fault !!!
Mon Nov 24 19:46:55 2014 - *** backtrace of 910 ***
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(uwsgi_backtrace+0x25) [0x4401c5]
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(uwsgi_segfault+0x21) [0x4402a1]
Mon Nov 24 19:46:55 2014 - /lib64/libc.so.6() [0x3ae0a329a0]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyObject_Call+0x3a) [0x7f425f2d5dba]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x43) [0x7f425f37d593]
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(python_call+0x25) [0x44d205]
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(uwsgi_gevent_current_wsgi_req+0x2a) [0x45d6ba]
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(warn_pipe+0xa) [0x43cc0a]
Mon Nov 24 19:46:55 2014 - /lib64/libc.so.6() [0x3ae0a329a0]
Mon Nov 24 19:46:55 2014 - /lib64/libpthread.so.0(send+0x6c) [0x3ae0e0ecdc]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/lib-dynload/_socket.so(+0x6df2) [0x7f4252b29df2]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5910) [0x7f425f383da0]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88e) [0x7f425f38591e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x75c21) [0x7f425f304c21]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyObject_Call+0x53) [0x7f425f2d5dd3]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x593df) [0x7f425f2e83df]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyObject_Call+0x53) [0x7f425f2d5dd3]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyObject_CallMethodObjArgs+0x1b2) [0x7f425f2da212]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/site-packages/umysql.so(API_sendSocket+0x50) [0x7f424f3c4730]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/site-packages/umysql.so(_ZN10Connection11writeSocketEv+0x59) [0x7f424f3c50e9]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/site-packages/umysql.so(_ZN10Connection10sendPacketEv+0x18) [0x7f424f3c5158]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/site-packages/umysql.so(_ZN10Connection5queryEPKcm+0x92) [0x7f424f3c57a2]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/site-packages/umysql.so(Connection_query+0x12d) [0x7f424f3c3bcd]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x5910) [0x7f425f383da0]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88e) [0x7f425f38591e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x75d28) [0x7f425f304d28]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyObject_Call+0x53) [0x7f425f2d5dd3]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x412a) [0x7f425f3825ba]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88e) [0x7f425f38591e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563a) [0x7f425f383aca]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x638e) [0x7f425f38481e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x638e) [0x7f425f38481e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88e) [0x7f425f38591e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563a) [0x7f425f383aca]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88e) [0x7f425f38591e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x563a) [0x7f425f383aca]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x6a8d7) [0x7f425f2f98d7]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0xbc1) [0x7f425f37f051]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x6a8d7) [0x7f425f2f98d7]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0xbc1) [0x7f425f37f051]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x6a8d7) [0x7f425f2f98d7]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0xbc1) [0x7f425f37f051]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x6a8d7) [0x7f425f2f98d7]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0xbc1) [0x7f425f37f051]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x6a8d7) [0x7f425f2f98d7]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyIter_Next+0xb) [0x7f425f2d50db]
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(uwsgi_response_subhandler_wsgi+0x5a) [0x45066a]
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(uwsgi_request_wsgi+0x3fd) [0x44f91d]
Mon Nov 24 19:46:55 2014 - /usr/local/uwsgi-1.4.4/uwsgi(py_uwsgi_gevent_request+0x92) [0x45c212]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x58ec) [0x7f425f383d7c]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x88e) [0x7f425f38591e]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x75c21) [0x7f425f304c21]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyObject_Call+0x53) [0x7f425f2d5dd3]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(+0x593df) [0x7f425f2e83df]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyObject_Call+0x53) [0x7f425f2d5dd3]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/libpython2.7.so.1.0(PyEval_CallObjectWithKeywords+0x43) [0x7f425f37d593]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/site-packages/greenlet.so(+0x31d5) [0x7f424f9791d5]
Mon Nov 24 19:46:55 2014 - /usr/local/python2.7/lib/python2.7/site-packages/greenlet.so(+0x28cb) [0x7f424f9788cb]
Mon Nov 24 19:46:55 2014 - [0x156f250]
Mon Nov 24 19:46:55 2014 - *** end of backtrace ***

Any clues as to what can be going wrong here??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant