<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Jayesh,<br>
<br>
I found the problem and fixed it. Please update.<br>
<br>
Thank you,<br>
<pre class="moz-signature" cols="72">--
Anca Vamanu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a></pre>
<br>
<br>
<br>
On 06/25/2010 06:45 AM, Jayesh Nambiar wrote:
<blockquote
cite="mid:AANLkTinnkaesGgZVTODyzubQDWDUvUWm9qibl35X493b@mail.gmail.com"
type="cite">Hi,
<div>I am doing a few experiments with the PUA modules for the
endpoints not acting as Presence Agent. I am using the pua_urloc and
pua_dialoginfo to start with. It more or less works fine but most of
the times it just fails with segmentation-fault while re-starting
opensips.</div>
<div>After some time when I try to start, it does start and behaves
as expected but again if i have a need to restart it, it again does'nt
start and fails with segmentation-fault. Can someone please help in
understanding what is going wrong with the pua module.</div>
<div><br>
</div>
<div>The error I get in the log is:</div>
<div>segfault at 0 ip b6fd690c sp bfd5e300 error 4 in
pua.so[b6fcb000+1b000]</div>
<div><br>
</div>
<div>The backtrace from the core shows the following:</div>
<div>
<div>(gdb) bt</div>
<div>#0 0xb6fd690c in db_restore () at pua.c:449</div>
<div>#1 mod_init () at pua.c:209</div>
<div>#2 0x080bcc37 in init_mod (m=0x81a23e0) at sr_module.c:457</div>
<div>#3 0x080bcbd2 in init_mod (m=0x81a28f0) at sr_module.c:452</div>
<div>#4 0x0806dad3 in main (argc=3, argv=0xbfd5e5f4) at main.c:1351</div>
</div>
<div><br>
</div>
<div>I've loaded the following modules:</div>
<div>presence</div>
<div>presence_xml</div>
<div>presence_dialoginfo</div>
<div>pua</div>
<div>pua_usrloc</div>
<div>pua_dialoginfo</div>
<div><br>
</div>
<div>Any help will be highly appreciated. Thanks in advance.</div>
<div><br>
</div>
<div>--- Jayesh </div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>