[OpenSIPS-Devel] Crash [presence]
Anca Vamanu
anca at opensips.org
Wed Dec 10 13:22:28 CET 2008
Hi Inaki,
If you have compiled opensips from sources than you must have the debug
symbols enabled and you can inspect the core file with gdb. Run gdb
opensips core_file and the bt for backtrace.
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