Hi Roberto,

after the new build the problem is solved, thanks for the help!

################# uWSGI configuration #################

pcre = True
kernel = Linux
malloc = libc
execinfo = False
ifaddrs = True
*ssl = False*
zlib = True
locking = pthread_mutex
plugin_dir = .
timer = timerfd
yaml = embedded
json = False
filemonitor = inotify
routing = True
debug = False
capabilities = False
xml = libxml2
event = epoll

############## end of uWSGI configuration #############




On Thu, Feb 26, 2015 at 4:36 PM, Roberto De Ioris <[email protected]> wrote:

>
> > Hello, i'm getting segfault, can anyone help me to debug this?
> > idk if this is enough but if you need me to do anything else just tell me
> > and i'll do it.
> >
> > i also tried with 2.0.9 and 1.4 versions and i also get segfaults.
> >
> > thanks!
> >
> >
> > ;uWSGI instance configuration
> > [uwsgi]
> > ini = /etc/uwsgi/uwsgi.ini
> > paste = config:/var/sites/evolux/production.ini
> > socket = /tmp/uwsgi.sock
> > home = /usr/local/pythonenv/evolux/
> > workers = 4
> > stats = 127.0.0.1:1717
> > pidfile = /var/run/evolux/uwsgi.pid
> > daemonize = /var/log/evolux/uwsgi.log
> > show-config = true
> > ;end of configuration
> >
> > *** Starting uWSGI 2.1 (64bit) on [Thu Feb 26 16:34:32 2015] ***
> > compiled with version: 4.4.5 on 26 February 2015 16:24:40
> > os: Linux-2.6.32-5-amd64 #1 SMP Tue Jun 14 09:42:28 UTC 2011
> > nodename: liga
> > machine: x86_64
> > clock source: unix
> > pcre jit disabled
> > detected number of CPU cores: 2
> > current working directory: /
> > writing pidfile to /var/run/evolux/uwsgi.pid
> > detected binary path: /usr/local/pythonenv/evolux/bin/uwsgi
> > your memory page size is 4096 bytes
> > detected max file descriptor number: 1024
> > lock engine: pthread robust mutexes
> > thunder lock: disabled (you can enable it with --thunder-lock)
> > uwsgi socket 0 bound to UNIX address /tmp/uwsgi.sock fd 3
> > Python version: 2.6.6 (r266:84292, Dec 26 2010, 22:48:11)  [GCC 4.4.5]
> > Set PythonHome to /usr/local/pythonenv/evolux/
> > *** Python threads support is disabled. You can enable it with
> > --enable-threads ***
> > Python main interpreter initialized at 0x11833c0
> > your server socket listen backlog is limited to 100 connections
> > your mercy for graceful operations on workers is 60 seconds
> > your request buffer size is 4096 bytes
> > mapped 363960 bytes (355 KB) for 4 cores
> > *** Operational MODE: preforking ***
> > Loading paste environment: config:/var/sites/evolux/production.ini
> > !!! uWSGI process 32331 got Segmentation Fault !!!
> > *** backtrace of 32331 ***
> > /usr/bin/uwsgi(uwsgi_backtrace+0x29) [0x476ad9]
> > /usr/bin/uwsgi(uwsgi_segfault+0x21) [0x476c61]
> > /lib/libc.so.6(+0x32230) [0x7f2e96b0f230]
> > /usr/lib/libcrypto.so.1.0.0(EVP_PKEY_CTX_dup+0x20) [0x7f2e97b80f10]
> > /usr/lib/libcrypto.so.1.0.0(EVP_MD_CTX_copy_ex+0xbe) [0x7f2e97b7341e]
> > /usr/lib/libpython2.6.so.1.0(+0x1500ea) [0x7f2e971c60ea]
> > /usr/lib/libpython2.6.so.1.0(+0x1503a4) [0x7f2e971c63a4]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x5180) [0x7f2e9716bf80]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x920) [0x7f2e9716dcc0]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x32) [0x7f2e9716dd92]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ExecCodeModuleEx+0xc2)
> > [0x7f2e9717f0d2]
> > /usr/lib/libpython2.6.so.1.0(+0x10b99e) [0x7f2e9718199e]
> > /usr/lib/libpython2.6.so.1.0(+0x10c7df) [0x7f2e971827df]
> > /usr/lib/libpython2.6.so.1.0(+0x10cab0) [0x7f2e97182ab0]
> > /usr/lib/libpython2.6.so.1.0(+0x10d0b0) [0x7f2e971830b0]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ImportModuleLevel+0x44)
> > [0x7f2e97183604]
> > /usr/lib/libpython2.6.so.1.0(+0xefbaf) [0x7f2e97165baf]
> > /usr/lib/libpython2.6.so.1.0(PyObject_Call+0x53) [0x7f2e970c6103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_CallObjectWithKeywords+0x43)
> > [0x7f2e97166103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x2d98) [0x7f2e97169b98]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x920) [0x7f2e9716dcc0]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x32) [0x7f2e9716dd92]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ExecCodeModuleEx+0xc2)
> > [0x7f2e9717f0d2]
> > /usr/lib/libpython2.6.so.1.0(+0x10b99e) [0x7f2e9718199e]
> > /usr/lib/libpython2.6.so.1.0(+0x10c7df) [0x7f2e971827df]
> > /usr/lib/libpython2.6.so.1.0(+0x10ca6f) [0x7f2e97182a6f]
> > /usr/lib/libpython2.6.so.1.0(+0x10d0f0) [0x7f2e971830f0]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ImportModuleLevel+0x44)
> > [0x7f2e97183604]
> > /usr/lib/libpython2.6.so.1.0(+0xefbaf) [0x7f2e97165baf]
> > /usr/lib/libpython2.6.so.1.0(PyObject_Call+0x53) [0x7f2e970c6103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_CallObjectWithKeywords+0x43)
> > [0x7f2e97166103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x2d98) [0x7f2e97169b98]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x920) [0x7f2e9716dcc0]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x32) [0x7f2e9716dd92]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ExecCodeModuleEx+0xc2)
> > [0x7f2e9717f0d2]
> > /usr/lib/libpython2.6.so.1.0(+0x10b99e) [0x7f2e9718199e]
> > /usr/lib/libpython2.6.so.1.0(+0x10c7df) [0x7f2e971827df]
> > /usr/lib/libpython2.6.so.1.0(+0x10ca6f) [0x7f2e97182a6f]
> > /usr/lib/libpython2.6.so.1.0(+0x10d0f0) [0x7f2e971830f0]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ImportModuleLevel+0x44)
> > [0x7f2e97183604]
> > /usr/lib/libpython2.6.so.1.0(+0xefbaf) [0x7f2e97165baf]
> > /usr/lib/libpython2.6.so.1.0(PyObject_Call+0x53) [0x7f2e970c6103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_CallObjectWithKeywords+0x43)
> > [0x7f2e97166103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x2d98) [0x7f2e97169b98]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x920) [0x7f2e9716dcc0]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x32) [0x7f2e9716dd92]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ExecCodeModuleEx+0xc2)
> > [0x7f2e9717f0d2]
> > /usr/lib/libpython2.6.so.1.0(+0x10b99e) [0x7f2e9718199e]
> > /usr/lib/libpython2.6.so.1.0(+0x10c22d) [0x7f2e9718222d]
> > /usr/lib/libpython2.6.so.1.0(+0x10c7df) [0x7f2e971827df]
> > /usr/lib/libpython2.6.so.1.0(+0x10ca6f) [0x7f2e97182a6f]
> > /usr/lib/libpython2.6.so.1.0(+0x10d0f0) [0x7f2e971830f0]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ImportModuleLevel+0x44)
> > [0x7f2e97183604]
> > /usr/lib/libpython2.6.so.1.0(+0xefbaf) [0x7f2e97165baf]
> > /usr/lib/libpython2.6.so.1.0(PyObject_Call+0x53) [0x7f2e970c6103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_CallObjectWithKeywords+0x43)
> > [0x7f2e97166103]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x2d98) [0x7f2e97169b98]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x920) [0x7f2e9716dcc0]
> > /usr/lib/libpython2.6.so.1.0(PyEval_EvalCode+0x32) [0x7f2e9716dd92]
> > /usr/lib/libpython2.6.so.1.0(PyImport_ExecCodeModuleEx+0xc2)
> > [0x7f2e9717f0d2]
> > /usr/lib/libpython2.6.so.1.0(+0x10b99e) [0x7f2e9718199e]
> > /usr/lib/libpython2.6.so.1.0(+0x10c7df) [0x7f2e971827df]
> > /usr/lib/libpython2.6.so.1.0(+0x10ca6f) [0x7f2e97182a6f]
> > /usr/lib/libpython2.6.so.1.0(+0x10d0f0) [0x7f2e971830f0]
> > *** end of backtrace ***
> >
> > --
> > Atenciosamente,
> >
> > *Lucas Marques de Castro*
> > Gerente de Operações
> >
> >
>
>
> The crash happens in openssl, not uWSGI (or python).
>
>
> Maybe your python is linked with a different openssl version than uWSGI ?
>
> Try disabling ssl from uWSGI build profile:
>
> UWSGI_PROFILE_OVERRIDE='ssl=false' pip install uwsgi
>
> or (from sources)
>
> UWSGI_PROFILE_OVERRIDE='ssl=false' make
>
> (ensure ssl flag is false in the configuration report at the end of the
> build)
>
>
> --
> Roberto De Ioris
> http://unbit.com
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
Atenciosamente,

*Lucas Marques de Castro*
Gerente de Operações


*EVOLUX - Call Center ACD & Analytics*
Rua Coronel Luiz Júlio, 2018, 59056-240 | Natal / RN | Brasil
Tel.: (84) 4008-9060 (Natal) | 4003-3833 (Demais localidades)
[email protected] | evolux.net.br | facebook.com/evoluxbr
<http://www.facebook.com/evoluxbr>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to