Hi Saul,<div><br></div><div>This is the backtrace</div><div><br></div><div><div>#0 0xb6f601cd in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div><div>#1 0xb6f604c6 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div>
<div>#2 0xb6f60aa8 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div><div>#3 0xb6f60657 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div><div>#4 0xb6f44ae7 in ?? () from /lib/i386-linux-gnu/libgcrypt.so.11</div>
<div>#5 0xb6f3ae04 in gcry_cipher_setkey () from /lib/i386-linux-gnu/libgcrypt.so.11</div><div>#6 0xb706c44b in ?? () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div><div>#7 0xb6feeed2 in ?? () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div>
<div>#8 0xb6ffa1d5 in ?? () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div><div>#9 0xb6ffa791 in ?? () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div><div>#10 0xb6ffae67 in ?? () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div>
<div>#11 0xb6fe325d in ?? () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div><div>#12 0xb6fe6870 in ?? () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div><div>#13 0xb6fe824d in gnutls_handshake () from /usr/lib/i386-linux-gnu/libgnutls.so.26</div>
<div>#14 0xb71079cf in ffi_call_SYSV () from /usr/lib/python2.7/lib-dynload/_ctypes.so</div><div>#15 0xb710776e in ffi_call () from /usr/lib/python2.7/lib-dynload/_ctypes.so</div><div>#16 0xb70ffd32 in _call_function_pointer (argcount=1, resmem=0xbfa5bd30, restype=0x0, atypes=0x8c75050, avalues=0xbfa5bd10, </div>
<div> pProc=0xb6fe81f0 <gnutls_handshake>, flags=4353) at /home/packages/python/2.7/python2.7-2.7.2/Modules/_ctypes/callproc.c:827</div><div>#17 _ctypes_callproc (pProc=0xb6fe81f0 <gnutls_handshake>, argtuple=(<LP_gnutls_session_int at remote 0x8d9c8e4>,), flags=4353, argtypes=</div>
<div> (<built-in method from_param of _ctypes.PyCPointerType object at remote 0x90c46dc>,), restype=<_ctypes.PyCSimpleType at remote 0x8d8aa7c>, checker=0x0)</div><div> at /home/packages/python/2.7/python2.7-2.7.2/Modules/_ctypes/callproc.c:1174</div>
<div>#18 0xb70f739d in PyCFuncPtr_call (self=0x90a1164, inargs=(<LP_gnutls_session_int at remote 0x8d9c8e4>,), kwds=0x0)</div><div> at /home/packages/python/2.7/python2.7-2.7.2/Modules/_ctypes/_ctypes.c:3911</div>
<div>#19 0x080605d1 in PyObject_Call (func=<_FuncPtr(__name__='gnutls_handshake') at remote 0x90a1164>, arg=(<LP_gnutls_session_int at remote 0x8d9c8e4>,), kw=</div><div> 0x0) at ../Objects/abstract.c:2529</div>
<div>#20 0x080fa241 in do_call (nk=<optimized out>, na=1, pp_stack=0xbfa5bf54, func=<_FuncPtr(__name__='gnutls_handshake') at remote 0x90a1164>)</div><div> at ../Python/ceval.c:4239</div><div>#21 call_function (oparg=1, pp_stack=0xbfa5bf54) at ../Python/ceval.c:4044</div>
<div>#22 PyEval_EvalFrameEx (f=</div><div> Frame 0x91cac8c, for file /usr/lib/pymodules/python2.7/gnutls/connection.py, line 370, in handshake (self=<ClientSession(_Session__deinit=<_FuncPtr(__name__='gnutls_deinit') at remote 0x909c7e4>, _server_name=None, _credentials=<X509Credentials(_type=<GNUTLSConstant(name='CRED_CERTIFICATE') at remote 0x910c4ac>, session_params=<SessionParams(_compressions=(<GNUTLSConstant(name='COMP_NULL') at remote 0x910c48c>,), _protocols=(<GNUTLSConstant(name='PROTO_TLS1_1') at remote 0x910c12c>, <GNUTLSConstant(name='PROTO_TLS1_0') at remote 0x910c1ac>, <GNUTLSConstant(name='PROTO_SSL3') at remote 0x910c1ec>), _ciphers=(<GNUTLSConstant(name='CIPHER_AES_128_CBC') at remote 0x910c2ac>, <GNUTLSConstant(name='CIPHER_3DES_CBC') at remote 0x910c2cc>, <GNUTLSConstant(name='CIPHER_ARCFOUR_128') at remote 0x910c2ec>), _kx_algorithms=(<GNUTLSConstant(name='KX_RSA') at remote 0x910c20c>, <GNUTLSConstant(name='KX_DHE_DSS') at remote 0x910c22c>, <GNUTLSConstant(name='KX_DHE_RSA') at remote 0x910c24c>), _mac_algorithms=(<GNUTLSConstant...(truncated), throwflag=0) at ../Python/ceval.c:2666</div>
<div>#23 0x080f9e98 in fast_function (nk=<optimized out>, na=147279952, n=<optimized out>, pp_stack=0xbfa5c024, func=<function at remote 0x911cca4>)</div><div> at ../Python/ceval.c:4107</div><div>#24 call_function (oparg=0, pp_stack=0xbfa5c024) at ../Python/ceval.c:4042</div>
<div>#25 PyEval_EvalFrameEx (f=</div><div> Frame 0x91cab1c, for file /usr/lib/pymodules/python2.7/gnutls/interfaces/twisted/__init__.py, line 187, in doHandshake (self=<TLSClient(_tempDataBuffer=[], fileno=<instancemethod at remote 0x915e194>, protocol=None, reactor=<EPollReactor(_writes={}, _newTimedCalls=[], _pendingTimedCalls=[<DelayedCall(resetter=<instancemethod at remote 0x91564dc>, seconds=<built-in function time>, args=(), canceller=<instancemethod at remote 0x9156dc4>, delayed_time=0, kw={}, func=<RecurrentCall(callid=<...>, args=(...), period=15, next=None, func=<instancemethod at remote 0x912166c>, kwargs={}, now=None) at remote 0x9186ccc>, time=<float at remote 0x8facefc>, cancelled=0, called=0) at remote 0x9186cec>, <DelayedCall(resetter=<instancemethod at remote 0x915e3c4>, seconds=<built-in function time>, args=(<TimeoutError(osError=None) at remote 0x915e3ec>,), canceller=<instancemethod at remote 0x915634c>, delayed_time=0, kw={}, func=<instancemethod at remote 0x9156504>, time=<float at remote 0x8faceec>, cancelled=0, called=0) at re...(truncated), throwflag=0) at ../Python/ceval.c:2666</div>
<div>#26 0x080f9e98 in fast_function (nk=<optimized out>, na=147279952, n=<optimized out>, pp_stack=0xbfa5c0f4, func=<function at remote 0x91206bc>)</div><div> at ../Python/ceval.c:4107</div><div>#27 call_function (oparg=0, pp_stack=0xbfa5c0f4) at ../Python/ceval.c:4042</div>
<div>#28 PyEval_EvalFrameEx (f=</div><div> Frame 0x91ca9c4, for file /usr/lib/pymodules/python2.7/gnutls/interfaces/twisted/__init__.py, line 218, in startTLS (self=<TLSClient(_tempDataBuffer=[], </div><br><div class="gmail_quote">
I had the stable and unstable repositories configured on apt, so I disabled the stable repo and reinstalled everything but the problem persists. Thanks for your help.</div><div class="gmail_quote"><br></div><div class="gmail_quote">
Regards,</div><div class="gmail_quote"><br></div><div class="gmail_quote">2011/10/13 Saúl Ibarra Corretgé <span dir="ltr"><<a href="mailto:saul@ag-projects.com">saul@ag-projects.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div><div></div><div class="h5"><br>
On Oct 13, 2011, at 12:44 AM, Gabriel Bermudez wrote:<br>
<br>
> Hi Saul,<br>
><br>
> Im running debian wheezy with the following versions<br>
><br>
> root@server2:~# aptitude show libgnutls26<br>
> Paquete: libgnutls26<br>
> Estado: instalado<br>
> Instalado automáticamente: no<br>
> Versión: 2.12.10-2<br>
><br>
> root@server2:~# aptitude show python-gnutls<br>
> Paquete: python-gnutls<br>
> Estado: instalado<br>
> Instalado automáticamente: sí<br>
> Versión: 1.2.1squeeze<br>
><br>
> I also installed gnutls-bin just in case<br>
> root@server2:~# aptitude show gnutls-bin<br>
> Paquete: gnutls-bin<br>
> Estado: instalado<br>
> Instalado automáticamente: no<br>
> Versión: 2.12.10-2<br>
><br>
> I tried running mediaproxy-relay with the --no-fork option and this is what I get<br>
><br>
> root@server2:~# /etc/init.d/mediaproxy-dispatcher start<br>
> Starting MediaProxy dispatcher: media-dispatcher.<br>
> root@server2:~# media-relay --no-fork<br>
> Starting MediaProxy Relay 2.5.2<br>
> using set_wakeup_fd<br>
> Set resource limit for maximum open file descriptors to 11000<br>
> gc: collectable <tuple 0xa388e4c><br>
> gc: collectable <StgDict 0xa35829c><br>
> gc: collectable <_ctypes.ArrayType 0xa3fa48c><br>
> gc: collectable <getset_descriptor 0xa382f8c><br>
> gc: collectable <getset_descriptor 0xa3ad0ac><br>
> gc: collectable <tuple 0xb73253ec><br>
> gc: collectable <tuple 0xa3ad0cc><br>
> gc: collectable <StgDict 0xa35836c><br>
> gc: collectable <_ctypes.ArrayType 0xa3fecc4><br>
> gc: collectable <getset_descriptor 0xa3ad18c><br>
> gc: collectable <getset_descriptor 0xa3ad1ac><br>
> gc: collectable <tuple 0xa385dec><br>
> gc: collectable <getset_descriptor 0xa3ad1cc><br>
> gc: collectable <getset_descriptor 0xa3ad1ec><br>
> debug: Adding new dispatcher at <a href="http://212.231.8.132:25060" target="_blank">212.231.8.132:25060</a><br>
> Violación de segmento<br>
><br>
<br>
</div></div>Can you enable core dumping (ulimit -c unlimited) run it again and paste the backtrace? You can get as follows:<br>
<br>
gdb python path_to_the_core_file<br>
<br>
And in the prompt just type:<br>
<br>
bt<br>
<br>
Please make sure you have -dbg package installed for MediaProxy.<br>
<div><div></div><div class="h5"><br>
<br>
Regards,<br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>