[OpenSIPS-Users] pua failing with segmentation fault

Anca Vamanu anca at opensips.org
Fri Jun 25 16:59:34 CEST 2010


Hi Jayesh,

I found the problem and fixed it. Please update.

Thank you,

-- 
Anca Vamanu
www.voice-system.ro




On 06/25/2010 06:45 AM, Jayesh Nambiar wrote:
> Hi,
> 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.
> 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.
>
> The error I get in the log is:
> segfault at 0 ip b6fd690c sp bfd5e300 error 4 in pua.so[b6fcb000+1b000]
>
> The backtrace from the core shows the following:
> (gdb) bt
> #0  0xb6fd690c in db_restore () at pua.c:449
> #1  mod_init () at pua.c:209
> #2  0x080bcc37 in init_mod (m=0x81a23e0) at sr_module.c:457
> #3  0x080bcbd2 in init_mod (m=0x81a28f0) at sr_module.c:452
> #4  0x0806dad3 in main (argc=3, argv=0xbfd5e5f4) at main.c:1351
>
> I've loaded the following modules:
> presence
> presence_xml
> presence_dialoginfo
> pua
> pua_usrloc
> pua_dialoginfo
>
> Any help will be highly appreciated. Thanks in advance.
>
> --- Jayesh
>
>
> _______________________________________________
> 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/20100625/9ea221ef/attachment.htm 


More information about the Users mailing list