Hi Saul,<div><br></div><div>Im running debian wheezy with the following versions</div><div><br></div><div><div>root@server2:~# aptitude show libgnutls26</div><div>Paquete: libgnutls26 </div><div>
Estado: instalado</div><div>Instalado automáticamente: no</div><div>Versión: 2.12.10-2</div><div><br></div><div><div>root@server2:~# aptitude show python-gnutls</div><div>Paquete: python-gnutls </div>
<div>Estado: instalado</div><div>Instalado automáticamente: sí</div><div>Versión: 1.2.1squeeze</div></div><div><br></div><div>I also installed gnutls-bin just in case</div><div><div>root@server2:~# aptitude show gnutls-bin</div>
<div>Paquete: gnutls-bin </div><div>Estado: instalado</div><div>Instalado automáticamente: no</div><div>Versión: 2.12.10-2</div></div><div><br></div><div>I tried running mediaproxy-relay with the --no-fork option and this is what I get</div>
<div><br></div><div><div>root@server2:~# /etc/init.d/mediaproxy-dispatcher start</div><div>Starting MediaProxy dispatcher: media-dispatcher.</div><div>root@server2:~# media-relay --no-fork</div><div>Starting MediaProxy Relay 2.5.2</div>
<div>using set_wakeup_fd</div><div>Set resource limit for maximum open file descriptors to 11000</div><div>gc: collectable <tuple 0xa388e4c></div><div>gc: collectable <StgDict 0xa35829c></div><div>gc: collectable <_ctypes.ArrayType 0xa3fa48c></div>
<div>gc: collectable <getset_descriptor 0xa382f8c></div><div>gc: collectable <getset_descriptor 0xa3ad0ac></div><div>gc: collectable <tuple 0xb73253ec></div><div>gc: collectable <tuple 0xa3ad0cc></div>
<div>gc: collectable <StgDict 0xa35836c></div><div>gc: collectable <_ctypes.ArrayType 0xa3fecc4></div><div>gc: collectable <getset_descriptor 0xa3ad18c></div><div>gc: collectable <getset_descriptor 0xa3ad1ac></div>
<div>gc: collectable <tuple 0xa385dec></div><div>gc: collectable <getset_descriptor 0xa3ad1cc></div><div>gc: collectable <getset_descriptor 0xa3ad1ec></div><div>debug: Adding new dispatcher at <a href="http://212.231.8.132:25060">212.231.8.132:25060</a></div>
<div>Violación de segmento</div></div><div><br></div><div>Regards,</div><div><br></div><br><div class="gmail_quote">2011/10/8 Saul Ibarra Corretge <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 6, 2011, at 8:54 PM, Gabriel Bermudez wrote:<br>
<br>
> Hi,<br>
><br>
> When I run mediaproxy-relay a segmetation fault raises, this crashes the previously running mediaproxy-dispatcher. I found this reference <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/MediaProxy-2-3-1-td2147452.html" target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/MediaProxy-2-3-1-td2147452.html</a> but reinstalling the software didn't help. Changing to Ubuntu is not an option, I'm on a VPS with Debian Wheezy.<br>
><br>
> Oct 6 19:58:13 server2 media-dispatcher[25615]: Starting MediaProxy Dispatcher 2.5.2<br>
> Oct 6 19:58:13 server2 media-dispatcher[25615]: using set_wakeup_fd<br>
> Oct 6 19:58:13 server2 media-dispatcher[25615]: Twisted is using epollreactor<br>
> Oct 6 19:58:13 server2 media-dispatcher[25615]: mediaproxy.dispatcher.RelayFactory starting on 25060<br>
> Oct 6 19:58:14 server2 media-dispatcher[25615]: mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/run/mediaproxy/dispatcher.sock'"<br>
> Oct 6 19:58:14 server2 media-dispatcher[25615]: mediaproxy.dispatcher.ManagementControlFactory starting on 25061<br>
> Oct 6 19:58:24 server2 media-relay[25632]: Starting MediaProxy Relay 2.5.2<br>
> Oct 6 19:58:24 server2 media-relay[25632]: using set_wakeup_fd<br>
> Oct 6 19:58:24 server2 media-relay[25632]: Set resource limit for maximum open file descriptors to 11000<br>
> Oct 6 19:58:24 server2 media-relay[25632]: debug: Adding new dispatcher at xx.xx.xx.xx:25060<br>
> Oct 6 19:58:24 server2 media-dispatcher[25615]: debug: Connection from relay at xx.xx.xx.xx<br>
> Oct 6 19:58:24 server2 kernel: [153694.458999] media-relay[25632] general protection ip:b6e361cd sp:bffad674 error:0 in libgcrypt.so.11.7.0[b6e0b000+82000]<br>
> Oct 6 19:58:24 server2 kernel: [153694.478547] media-dispatche[25615] general protection ip:b6fa31cd sp:bf8014d4 error:0 in libgcrypt.so.11.7.0[b6f78000+820<br>
><br>
> Thanks for your help on this one.<br>
><br>
<br>
</div></div>We run Debian Sid and I have never seen this. The crash is produced in libgcrypt, which is used by GNUTLS. MediaProxy uses python bindings to GNUTLS in order to have encrypted communication between dispatcher and relay. What versions of gnutls are you running? Did you compile it yourself?<br>
<br>
<br>
Regards,<br>
<br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<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>
</blockquote></div><br></div>