pjsua core dump with tcp registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



pjsua 1.12 seems to immediately dump core on linux when using a sipt: url for registrar URL.
Am I doing something wrong?? Below is a backtrace of the crash.

-m@



You have 0 active call
>>> +a???????????????? 
Your SIP URL: (empty to cancel): sipt:321 at 192.168.1.24
URL of the registrar: (empty to cancel): sipt:192.168.1.24
Auth Realm: (empty to cancel): *
Auth Username: (empty to cancel): 321
Auth Password: (empty to cancel): abc
?13:08:57.294??? pjsua_acc.c? Account sipt:321 at 192.168.1.24 added with id 2

Program received signal SIGSEGV, Segmentation fault.
0x00000000005559f0 in pj_strdup (pool=0x8a7b60, dst=0x7fffffffbd20, src=0x10)
??? at ../include/pj/string_i.h:39
39??? ??? if (src->slen) {
Missing separate debuginfos, use: debuginfo-install glibc-2.12.2-1.x86_64 openssl-1.0.0d-1.fc13.x86_64
(gdb) p src->slen
Cannot access memory at address 0x18
(gdb) p src
$1 = (const pj_str_t *) 0x10
(gdb) bt
#0? 0x00000000005559f0 in pj_strdup (pool=0x8a7b60, dst=0x7fffffffbd20, 
??? src=0x10) at ../include/pj/string_i.h:39
#1? 0x00000000004514a1 in pjsip_generic_string_hdr_init (pool=0x8a7b60, 
??? mem=0x8a85f0, hnames=0x10, hvalue=0x20) at ../src/pjsip/sip_msg.c:725
#2? 0x0000000000451535 in pjsip_generic_string_hdr_create (pool=0x8a7b60, 
??? hnames=0x10, hvalue=0x20) at ../src/pjsip/sip_msg.c:745
#3? 0x000000000045d9a0 in init_request_throw (endpt=0x83abf8, tdata=0x8a7c08, 
??? method=0x8a8418, param_target=0x8a8148, param_from=0x8a8188, 
??? param_to=0x8a8270, param_contact=0x0, param_call_id=0x8a8358, 
??? param_cseq=0x8a83d0, param_text=0x0) at ../src/pjsip/sip_util.c:262
#4? 0x000000000045e1b4 in pjsip_endpt_create_request_from_hdr (endpt=0x83abf8, 
??? method=0x567980, param_target=0x8a6eb8, param_from=0x8a6ee0, 
??? param_to=0x8a6fc8, param_contact=0x0, param_call_id=0x8a7980, 
??? param_cseq=8490, param_text=0x0, p_tdata=0x7fffffffbfe8)
??? at ../src/pjsip/sip_util.c:459
#5? 0x000000000043c3c4 in create_request (regc=0x8a7158, 
??? p_tdata=0x7fffffffc088) at ../src/pjsip-ua/sip_reg.c:472
#6? 0x000000000043c5b6 in pjsip_regc_register (regc=0x8a7158, autoreg=1, 
??? p_tdata=0x7fffffffc110) at ../src/pjsip-ua/sip_reg.c:540
#7? 0x00000000004170c4 in pjsua_acc_set_registration (acc_id=2, renew=1)
??? at ../src/pjsua-lib/pjsua_acc.c:1981
#8? 0x00000000004132e2 in pjsua_acc_add (cfg=0x7fffffffc1c0, is_default=1, 
??? p_acc_id=0x0) at ../src/pjsua-lib/pjsua_acc.c:457
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111212/8f9814e8/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux