<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText21327 dir=ltr>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>It does segfault on this line :</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>from mediaproxy.dispatcher import Dispatcher</FONT></DIV></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana size=2>I do not see any error when running </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>./setup.py build</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>./setup.py install</FONT></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> users-bounces@lists.opensips.org on behalf of Julien Chavanton<BR><B>Sent:</B> Tue 23/03/2010 7:04 AM<BR><B>To:</B> OpenSIPS users mailling list; Users@lists.opensips.org<BR><B>Subject:</B> Re: [OpenSIPS-Users] mediaproxy<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV id=idOWAReplyText40497 dir=ltr>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>Hi, both </FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>/usr/bin/media-relay&nbsp; --no-fork</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>/usr/bin/media-dispatcher --no-fork</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana size=2>return a segmentation fault, according to the README dispatcher does not have the same kernel requirements(netfilters-conntrack etc.) so this makes me beleive at least media-dispatcher should work if it was a kernel support problem ?</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana size=2>-------------------------------------------------</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>Fedora Core 7<BR>kernel 2.6.18</FONT></DIV><FONT face=Verdana color=#000000 size=2>
<DIV dir=ltr><BR>libnfnetlink-1.0.0&nbsp; # from source <BR>libnetfilter_conntrack-0.0.100 # from source </DIV>
<DIV dir=ltr></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>python2.5.5<BR>python-application-1.2.3</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>python-zope-interface-3.0.1<BR>Twisted-10.0.0</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>libgcrypt-1.4.5<BR>gnutls-2.8.6</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>python_gnutls-1.2.0<BR>python_cjson-1.0.5</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>python-sqlobject-0.9.2<BR>pyrad-1.2</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> users-bounces@lists.opensips.org on behalf of Julien Chavanton<BR><B>Sent:</B> Mon 22/03/2010 7:40 PM<BR><B>To:</B> Users@lists.opensips.org<BR><B>Subject:</B> [OpenSIPS-Users] mediaproxy<BR></FONT><BR></DIV>
<DIV dir=ltr>
<DIV><FONT face=Verdana color=#000000 size=2>Hi, I have some problem with installing / running mediaproxy on FC7</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>I have also&nbsp;tried mediaproxy-2.4.2, but then I revert to the latest working version I have deployed</FONT></DIV>
<DIV><FONT face=Verdana color=#000000 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#000000 size=2>/usr/bin/media-relay&nbsp; --no-fork<BR>Starting MediaProxy Relay 2.3.6<BR>Segmentation fault</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>I would like to install in on Debian, but I need to make it work on FC7 or CentOS5 </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>I can see the problem, is there a suggested way to debug ?</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>-------------------------------------------------</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana size=2>&nbsp;&nbsp;&nbsp; try:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mediaproxy.relay import MediaRelay<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if not options.fork:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from application.debug.memory import *<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; relay = MediaRelay()<BR>&nbsp;&nbsp;&nbsp; except Exception, e:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log.fatal("failed to create %s: %s" % (fullname, e))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if e.__class__ is not RuntimeError:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log.err()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sys.exit(1)</FONT></DIV></DIV></DIV></BODY></HTML>