[OpenSIPS-Users] mediaproxy segmentation fault

Gabriel Bermudez elgabo81 at gmail.com
Thu Oct 13 00:44:40 CEST 2011


Hi Saul,

Im running debian wheezy with the following versions

root at server2:~# aptitude show libgnutls26
Paquete: libgnutls26
Estado: instalado
Instalado automáticamente: no
Versión: 2.12.10-2

root at server2:~# aptitude show python-gnutls
Paquete: python-gnutls
Estado: instalado
Instalado automáticamente: sí
Versión: 1.2.1squeeze

I also installed gnutls-bin just in case
root at server2:~# aptitude show gnutls-bin
Paquete: gnutls-bin
Estado: instalado
Instalado automáticamente: no
Versión: 2.12.10-2

I tried running mediaproxy-relay with the --no-fork option and this is what
I get

root at server2:~# /etc/init.d/mediaproxy-dispatcher start
Starting MediaProxy dispatcher: media-dispatcher.
root at server2:~# media-relay --no-fork
Starting MediaProxy Relay 2.5.2
using set_wakeup_fd
Set resource limit for maximum open file descriptors to 11000
gc: collectable <tuple 0xa388e4c>
gc: collectable <StgDict 0xa35829c>
gc: collectable <_ctypes.ArrayType 0xa3fa48c>
gc: collectable <getset_descriptor 0xa382f8c>
gc: collectable <getset_descriptor 0xa3ad0ac>
gc: collectable <tuple 0xb73253ec>
gc: collectable <tuple 0xa3ad0cc>
gc: collectable <StgDict 0xa35836c>
gc: collectable <_ctypes.ArrayType 0xa3fecc4>
gc: collectable <getset_descriptor 0xa3ad18c>
gc: collectable <getset_descriptor 0xa3ad1ac>
gc: collectable <tuple 0xa385dec>
gc: collectable <getset_descriptor 0xa3ad1cc>
gc: collectable <getset_descriptor 0xa3ad1ec>
debug: Adding new dispatcher at 212.231.8.132:25060
Violación de segmento

Regards,


2011/10/8 Saul Ibarra Corretge <saul at ag-projects.com>

> Hi,
>
> On Oct 6, 2011, at 8:54 PM, Gabriel Bermudez wrote:
>
> > Hi,
> >
> > When I run mediaproxy-relay a segmetation fault raises, this crashes the
> previously running mediaproxy-dispatcher.  I found this reference
> http://opensips-open-sip-server.1449251.n2.nabble.com/MediaProxy-2-3-1-td2147452.htmlbut reinstalling the software didn't help. Changing to Ubuntu is not an
> option, I'm on a VPS with Debian Wheezy.
> >
> > Oct  6 19:58:13 server2 media-dispatcher[25615]: Starting MediaProxy
> Dispatcher 2.5.2
> > Oct  6 19:58:13 server2 media-dispatcher[25615]: using set_wakeup_fd
> > Oct  6 19:58:13 server2 media-dispatcher[25615]: Twisted is using
> epollreactor
> > Oct  6 19:58:13 server2 media-dispatcher[25615]:
> mediaproxy.dispatcher.RelayFactory starting on 25060
> > Oct  6 19:58:14 server2 media-dispatcher[25615]:
> mediaproxy.dispatcher.OpenSIPSControlFactory starting on
> "'/run/mediaproxy/dispatcher.sock'"
> > Oct  6 19:58:14 server2 media-dispatcher[25615]:
> mediaproxy.dispatcher.ManagementControlFactory starting on 25061
> > Oct  6 19:58:24 server2 media-relay[25632]: Starting MediaProxy Relay
> 2.5.2
> > Oct  6 19:58:24 server2 media-relay[25632]: using set_wakeup_fd
> > Oct  6 19:58:24 server2 media-relay[25632]: Set resource limit for
> maximum open file descriptors to 11000
> > Oct  6 19:58:24 server2 media-relay[25632]: debug: Adding new dispatcher
> at xx.xx.xx.xx:25060
> > Oct  6 19:58:24 server2 media-dispatcher[25615]: debug: Connection from
> relay at xx.xx.xx.xx
> > 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]
> > 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
> >
> > Thanks for your help on this one.
> >
>
> 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?
>
>
> Regards,
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111012/a398ff11/attachment.htm>


More information about the Users mailing list