[OpenSIPS-Devel] Crash [presence]

Anca Vamanu anca at opensips.org
Wed Dec 10 13:44:29 CET 2008


I have been running simple presence server with pua_usrloc with an 
expireses of 60 for half an hour now and have not experienced the crash 
yet.
Are you sure you have not corrupted the database? Can you please start 
fresh: stop the server, empty database tables, start the server again.

regards,
Anca

Iñaki Baz Castillo wrote:
> 2008/12/10 Anca Vamanu <anca at opensips.org>:
>   
>> Hi Inaki,
>>
>> What configuration are you using? Only presence? With force_active parameter
>> set or no?
>>     
>
> I use presence, pua_usrloc and pua_bla (never used in fact) but the
> crash occurs when receiving a normal presence SUBSCRIBE, i'm 95% sure
> of it.
>
>
> # ----- presence -----
> modparam("presence","server_address","sip:presence at MY_IP:MY_PORT")
> modparam("presence", "max_expires", 2400)
> modparam("presence", "expires_offset", 10)
> modparam("presence", "fallback2db", 0)  # Also crashes with 1
>
> # ----- presence_xml -----
> modparam("presence_xml", "force_active", 1)
>
>
>
>   
>> Can you print here the back trace of the core file?
>>     
>
> I have the coredump, but I don't have "opensips-dbg" installed (I've
> installed it now). Could you please explain me how to enable the dbg?
> is it enough with the Debian package "opensips-dbg"? (I compile with
> "make deb").
>
> Sure the crash will occur again. How could I know with "dbg" commands
> must I run in order to get the backtrace? just "bt" or "bt full" is
> enough?
>
>
> Thanks a lot.
>
>
>
>   




More information about the Devel mailing list