> Sorry for the long callstack, but...we're getting a segfault running our
> pyramid stack under uWSGI on our dev OX machines.  Same setup runs fine on
> our Suse Linux hosts.  It happens every web request on my machine and
> intermittently on another machine when running apache perf tests.  My
> machine has less memory, which might be an indicator, but I still have 1GB
> of available ram at least.
>
> We thought maybe it was a threading issue since it is sibtramp, but still
> happens with threading disabled.
>
> Our settings:
> env = PYRAMID_INI=development.ini
> http = :6543
> master = true
> processes = 1
> harakiri = 60
> harakiri-verbose = true
> limit-post = 524288000
> post-buffering = 8192
> listen = 256
> #max-requests = 1000
> #reload-on-as = 128
> reload-on-rss = 96
> no-orphans = true
> log-slow = true
> enable-threads = false
> virtualenv = ../env
> wsgi-file = wsgi.py
> touch-chain-reload = ../Common/conf/restart
>
> Googling various versions of this doesn't turn up any useful results.
>  Anyone have any ideas?
>
> thanks
> michael
>
>
> *** Starting uWSGI 1.9.4 (64bit) on [Wed Apr 17 12:43:36 2013] ***
> compiled with version: 4.2.1 (Apple Inc. build 5666) (dot 3) on 04 April
> 2013 14:07:15
> os: Darwin-11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT
> 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
>
> <snip>
>
> 2013-04-17 12:44:00,476 INFO  [log_context] GET
> /event/1366222264472?callback=cc_event.cleanUp&_script_id=1366227840468&text=registering
> timeout&timeout_ms=14397532 200
> {address space usage: 2561396736 bytes/2442MB} {rss usage: 52396032
> bytes/49MB} [pid: 54600|app: 0|req: 13/13] 127.0.0.1 () {40 vars in 1091
> bytes} [Wed Apr 17 12:44:00 2013] GET
> /event/1366222264472?callback=cc_event.cleanUp&_script_id=1366227840468&text=registering%20timeout&timeout_ms=14397532
> => generated 31 bytes in 6 msecs (HTTP/1.1 200) 6 headers in 259 bytes (1
> switches on core 0)
> !!! uWSGI process 54600 got Segmentation Fault !!!
> *** backtrace of 54600 ***
> 0   uwsgi                               0x0000000104a37bc6 uwsgi_backtrace
> + 38
> 1   uwsgi                               0x0000000104a37cd2 uwsgi_segfault
> +
> 50
> 2   libsystem_c.dylib                   0x00007fff89c63cfa _sigtramp + 26
> 3   ???                                 0x00007fff645f9db8 0x0 +
> 140734877375928
> 4   Python                              0x00000001050f43a8 dict_traverse +
> 264
> 5   Python                              0x00000001051c3b17 collect + 375
> 6   Python                              0x00000001051c4564
> _PyObject_GC_Malloc + 308
> 7   Python                              0x0000000105114f88
> PyType_GenericAlloc + 72
> 8   Python                              0x000000010513cad6 unicode_new +
> 118
> 9   Python                              0x00000001051151f7 tp_new_wrapper
> +
> 391
> 10  Python                              0x000000010518352e
> PyEval_EvalFrameEx + 29774
> 11  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 12  Python                              0x00000001050e23fa function_call +
> 186
> 13  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 14  Python                              0x0000000105114494 slot_tp_new +
> 180
> 15  Python                              0x00000001051152c6 type_call + 38
> 16  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 17  Python                              0x00000001050b37d6
> PyObject_CallFunctionObjArgs + 406
> 18  _speedups.so                        0x00000001064a4b10 escape + 224
> 19  Python                              0x00000001051833f8
> PyEval_EvalFrameEx + 29464
> 20  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 21  Python                              0x00000001050e23fa function_call +
> 186
> 22  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 23  Python                              0x000000010517e503
> PyEval_EvalFrameEx + 9251
> 24  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 25  Python                              0x0000000105182b47
> PyEval_EvalFrameEx + 27239
> 26  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 27  Python                              0x00000001050e23fa function_call +
> 186
> 28  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 29  Python                              0x000000010517e503
> PyEval_EvalFrameEx + 9251
> 30  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 31  Python                              0x0000000105182b47
> PyEval_EvalFrameEx + 27239
> 32  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 33  Python                              0x00000001050e23fa function_call +
> 186
> 34  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 35  Python                              0x000000010517e503
> PyEval_EvalFrameEx + 9251
> 36  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 37  Python                              0x00000001050e23fa function_call +
> 186
> 38  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 39  Python                              0x00000001050cc88a method_call +
> 138
> 40  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 41  Python                              0x000000010511a693 slot_tp_call +
> 67
> 42  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 43  Python                              0x000000010517e90d
> PyEval_EvalFrameEx + 10285
> 44  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 45  Python                              0x0000000105182b47
> PyEval_EvalFrameEx + 27239
> 46  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 47  Python                              0x0000000105182b47
> PyEval_EvalFrameEx + 27239
> 48  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 49  Python                              0x0000000105182b47
> PyEval_EvalFrameEx + 27239
> 50  Python                              0x0000000105182ccf
> PyEval_EvalFrameEx + 27631
> 51  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 52  Python                              0x00000001050e23fa function_call +
> 186
> 53  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 54  Python                              0x000000010517e503
> PyEval_EvalFrameEx + 9251
> 55  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 56  Python                              0x0000000105182b47
> PyEval_EvalFrameEx + 27239
> 57  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 58  Python                              0x00000001050e23fa function_call +
> 186
> 59  Python                              0x00000001050b20b8 PyObject_Call +
> 104
> 60  Python                              0x000000010517e503
> PyEval_EvalFrameEx + 9251
> 61  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> 62  Python                              0x0000000105182b47
> PyEval_EvalFrameEx + 27239
> 63  Python                              0x00000001051846b8
> PyEval_EvalCodeEx + 2296
> *** end of backtrace ***
> DAMN ! worker 1 (pid: 54600) died :( trying respawn ...
> Respawned uWSGI worker 1 (new pid: 54608)
> _______________________________________________
>

Is it python 3 ?

In such a case you should upgrade to latest 1.9.6

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to