-- Executing [6001@default:1] NoOp("Message/ast_msg_queue", "Message....") in new stack -- Executing [6001@default:2] Verbose("Message/ast_msg_queue", "FROM: "Test User" ") in new stack FROM: Test User -- Executing [6001@default:3] Verbose("Message/ast_msg_queue", "TO: pjsip:6001@10.77.79.204") in new stack TO: pjsip:6001@10.77.79.204 -- Executing [6001@default:4] Verbose("Message/ast_msg_queue", "BODY: Hello") in new stack BODY: Hello Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f783960a700 (LWP 2403)] func_read_header (chan=, function=, data=, buf=0x7f78396051e0 "", len=4096) at res_pjsip_header_funcs.c:480 480 return ast_sip_push_task_synchronous(channel->session->serializer, read_header, (gdb) bt full #0 func_read_header (chan=, function=, data=, buf=0x7f78396051e0 "", len=4096) at res_pjsip_header_funcs.c:480 channel = 0x0 header_data = {channel = 0x0, header_name = 0x7f7839605122 "Contact", header_value = 0x0, buf = 0x7f78396051e0 "", header_number = 1, len = 4096} number = 1 args = {argc = 2, argv = 0x7f7839605098, action = 0x7f783960511d "read", header_name = 0x7f7839605122 "Contact", header_number = 0x0} __PRETTY_FUNCTION__ = "func_read_header" #1 0x000000000055291b in ast_func_read (chan=0x7f781c001788, function=0x7f78396061f0 "PJSIP_HEADER(read,Contact)", workspace=0x7f78396051e0 "", len=4096) at pbx.c:4126 copy = 0x7f7839605110 "PJSIP_HEADER" args = 0x7f783960511d "read" acfptr = 0x7f7806921220 res = 32632 u = 0x7f781c006bc0 __PRETTY_FUNCTION__ = "ast_func_read" #2 0x0000000000553b7c in pbx_substitute_variables_helper_full (c=0x7f781c001788, headp=0x7f781c001ef8, cp1=0x2c01890 "PJSIP_CONTACT_HEADER: ${PJSIP_HEADER(read,Contact)}", cp2=0x7f7839607476 "", count=8169, used=0x7f7839607348) at pbx.c:4511 cp4 = 0x0 whereweare = 0x2c018c3 "" orig_cp2 = 0x7f7839607460 "PJSIP_CONTACT_HEADER: " length = 1 offset = 0 offset2 = 2147483647 isfunction = 1 workspace = 0x7f78396051e0 "" ltmp = 0x0 var = 0x7f78396061f0 "PJSIP_HEADER(read,Contact)" nextvar = 0x2c018a6 "${PJSIP_HEADER(read,Contact)}" nextexp = 0x0 nextthing = 0x2c018a6 "${PJSIP_HEADER(read,Contact)}" vars = 0x7f78396061f0 "PJSIP_HEADER(read,Contact)" vare = 0x2c018c3 "" pos = 22 brackets = 0 needsub = 0 len = 26 __PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full" #3 0x000000000055412b in pbx_substitute_variables_helper (c=0x7f781c001788, cp1=0x2c01890 "PJSIP_CONTACT_HEADER: ${PJSIP_HEADER(read,Contact)}", cp2=0x7f7839607460 "PJSIP_CONTACT_HEADER: ", count=8191) at pbx.c:4608 used = 140154335438592 #4 0x0000000000554225 in pbx_substitute_variables (passdata=0x7f7839607460 "PJSIP_CONTACT_HEADER: ", datalen=8192, c=0x7f781c001788, e=0x2c03260) at pbx.c:4633 tmp = 0x2c018a6 "${PJSIP_HEADER(read,Contact)}" #5 0x00000000005544b7 in pbx_extension_helper (c=0x7f781c001788, con=0x0, context=0x7f781c0026e8 "default", exten=0x7f781c002738 "6001", priority=5, label=0x0, callerid=0x0, action=E_SPAWN, found=0x7f7839609ae4, combined_find_spawn=1) at pbx.c:4696 e = 0x2c03260 app = 0x2970330 res = 0 q = {incstack = {0x0 }, stacklen = 0, status = 5, swo = 0x0, data = 0x0, foundcontext = 0x7f781c0026e8 "default"} passdata = "PJSIP_CONTACT_HEADER: \000.204\000:6001@asterisk12.vm.example.com>", '\000' ... matching_action = 0 snapshot = 0x0 msg = 0x0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #6 0x000000000055702f in ast_spawn_extension (c=0x7f781c001788, context=0x7f781c0026e8 "default", exten=0x7f781c002738 "6001", priority=5, callerid=0x0, found=0x7f7839609ae4, combined_find_spawn=1) at pbx.c:5715 No locals. #7 0x000000000055850a in __ast_pbx_run (c=0x7f781c001788, args=0x7f7839609c20) at pbx.c:6130 digit = 0 invalid = 0 timeout = 0 dst_exten = "\000\240f\000\000\000\000\000\256\236f\000\000\000\000\000\033\002\000\000\242\005\000\000\220\241f\000\000\000\000\000\264\234f\000\000\000\000\000H\001{\002\000\000\000\000\000\000\000\000\001\000\000\000\340[\000\034x\177\000\000\360\231`9x\177\000\000\360\000{\002\000\000\000\000(\001{\002\000\000\000\000\000\\\000\034\000\000\000\000@\233`9x\177\000\000ˇE", '\000' , "(\001{\002", '\000' , "\210\027\000\034x\177\000\000\301\000\000\000\302\000\000\000#\000\000\000\000\000\000\000(\000\000\000\000\000\000\000Qe\237Ƈ\200\377\377\003\000\000\000\002", '\000' , "\060\000\000\000x\177\000\000\000\000\000\000\000\000\000\000"... pos = 0 found = 1 res = 0 autoloopflag = 0 error = 0 pbx = 0x7f781c004390 callid = 0x0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #8 0x0000000000559dd1 in ast_pbx_run_args (c=0x7f781c001788, args=0x7f7839609c20) at pbx.c:6497 res = AST_PBX_SUCCESS __PRETTY_FUNCTION__ = "ast_pbx_run_args" ---Type to continue, or q to quit--- #9 0x000000000054329e in msg_route (chan=0x7f781c001788, msg=0x7f782c003558) at message.c:708 pbx_args = {{__padding = 1, {no_hangup_chan = 1}}} #10 0x00000000005435fe in msg_q_cb (data=0x7f782c003558) at message.c:812 msg = 0x7f782c003558 chan_p = 0x7f781c0016a0 chan = 0x7f781c001788 ds = 0x7f781c004360 __PRETTY_FUNCTION__ = "msg_q_cb" #11 0x00000000005b2f26 in ast_taskprocessor_execute (tps=0x27ac088) at taskprocessor.c:766 local = {local_data = 0x27a5230, data = 0x5b16f5 } t = 0x7f782c0037d0 size = 559 __PRETTY_FUNCTION__ = "ast_taskprocessor_execute" #12 0x00000000005b180e in default_tps_processing_function (data=0x2774ca8) at taskprocessor.c:184 listener = 0x2774ca8 tps = 0x27ac088 pvt = 0x27a5220 sem_value = 962633168 res = 0 __PRETTY_FUNCTION__ = "default_tps_processing_function" #13 0x00000000005c4e8d in dummy_start (data=0x27ac0e0) at utils.c:1169 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {140154335438592, 2246961207070115571, 1, 140154335439296, 140154335438592, 0, 2246961207061726963, -2171089983395379469}, __mask_was_saved = 0}}, __pad = {0x7f7839609df0, 0x0, 0x0, 0x0}} __cancel_routine = 0x44b97f __cancel_arg = 0x7f783960a700 __not_first_call = 0 ret = 0x0 a = {start_routine = 0x5b1778 , data = 0x2774ca8, name = 0x27a5190 "default_tps_processing_function started at [ 201] taskprocessor.c default_listener_start()"} #14 0x00000037fd807c53 in start_thread (arg=0x7f783960a700) at pthread_create.c:308 __res = pd = 0x7f783960a700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140154335438592, -2171089539326589197, 1, 140154335439296, 140154335438592, 0, 2246961207063824115, -2183886752074873101}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = #15 0x00000037fccf5e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 No locals.