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&#39;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&#39;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>