Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb3e99b70 (LWP 1810)] 0x08146012 in ast_rtp_instance_set_write_format (instance=0x0, format=4) at rtp_engine.c:1613 1613 return instance->engine->set_write_format ? instance->engine->set_write_format(instance, format) : -1; (gdb) bt #0 0x08146012 in ast_rtp_instance_set_write_format (instance=0x0, format=4) at rtp_engine.c:1613 #1 0xb4708a00 in sip_setoption (chan=0x83b9168, option=12, data=0xb3e94b68, datalen=4) at chan_sip.c:3876 #2 0x080ba28a in ast_channel_setoption (chan=0x83b9168, option=12, data=0xb3e94b68, datalen=4, block=0) at channel.c:6703 #3 0x080b202e in set_format (chan=0x83b9168, fmt=4, rawformat=0x83b9418, format=0x83b9408, trans=0x83b91ac, direction=1) at channel.c:4682 #4 0x080b24e3 in ast_set_write_format (chan=0x83b9168, fmt=4) at channel.c:4744 #5 0x080f680d in ast_stopstream (tmp=0x83b9168) at file.c:131 #6 0x0813d64e in pbx_builtin_background (chan=0x83b9168, data=0xb3e96e3c "demo-congrats") at pbx.c:9290 #7 0x08125e9c in pbx_exec (c=0x83b9168, app=0x82510a8, data=0xb3e96e3c "demo-congrats") at pbx.c:1395 #8 0x0812df84 in pbx_extension_helper (c=0x83b9168, con=0x0, context=0x83b9434 "default", exten=0x83b9484 "s", priority=5, label=0x0, callerid=0xb70b910 "111", action=E_SPAWN, found=0xb3e992c0, combined_find_spawn=1) at pbx.c:4069 #9 0x0812f658 in ast_spawn_extension (c=0x83b9168, context=0x83b9434 "default", exten=0x83b9484 "s", priority=5, callerid=0xb70b910 "111", found=0xb3e992c0, combined_find_spawn=1) at pbx.c:4560 #10 0x0812fd3e in __ast_pbx_run (c=0x83b9168, args=0x0) at pbx.c:4655 #11 0x081311e2 in pbx_thread (data=0x83b9168) at pbx.c:4942 #12 0x0817b518 in dummy_start (data=0x83b6200) at utils.c:971 b#13 0xb7e74955 in start_thread (arg=0xb3e99b70) at pthread_create.c:300 t g#14 0xb7f5910e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 u(gdb) bt full #0 0x08146012 in ast_rtp_instance_set_write_format (instance=0x0, format=4) at rtp_engine.c:1613 No locals. #1 0xb4708a00 in sip_setoption (chan=0x83b9168, option=12, data=0xb3e94b68, datalen=4) at chan_sip.c:3876 res = -1 p = 0xb752d30 __PRETTY_FUNCTION__ = "sip_setoption" #2 0x080ba28a in ast_channel_setoption (chan=0x83b9168, option=12, data=0xb3e94b68, datalen=4, block=0) at channel.c:6703 __PRETTY_FUNCTION__ = "ast_channel_setoption" #3 0x080b202e in set_format (chan=0x83b9168, fmt=4, rawformat=0x83b9418, format=0x83b9408, trans=0x83b91ac, direction=1) at channel.c:4682 native = 4 native_fmt = 4 res = 192098704 from = "\364\377\374\267\200yo\v\266\225\357\267W\324\020\b\220G5\b\377\377\377\377\000\000\000\000\064\224;\b\204\224;\b\324\020%\b\030K\351\263=t\017\b\210G5\b\000\000\000\000\350J\351\263\366a\366\267\240\067s\v4\224;\bQ\a\000\000`\000\000\000\240\023\375\267\364\377\374\267\240\023\375\267\324\020%\b\030K\351\263]\314\357\267yV\033\b\000\000\000\000\064\224;\b\204\224;\bXK鳚`\b\b\220\061s\v\000\000\000\000\b\000\000\000\324\244\032\b\220\061s\v4\224;\b\210K\351\263\330\330\n\bh\221;\b\220\061s\v\000\000\000\000\001\000\000\000\t+\033\b4\224;\b\210K鳅_\b\b\310\067s\v\377\377\377\377" to = "\031\202\347\267\071n\b\b\340\275\070\b\b\000\000\000O)e\264\364\377\374\267\204\224;\b\324\020%\b\bJ\351\263\306b\366\267'n\347\267\064\224;\b\031\202\347\267K\325\020\b@\221;\b`\000\000\000\022\a\000\000\364\377\374\267\204\224;\b\324\020%\b8J\351\263\306b\366\267\330>\037\b4\224;\bhJ\351\263K\325\020\b\330>\037\b\341T\357\267yV\033\b\t+\033\b\341T\357\267\000\000\000\000\230J\351\263\000\000\000\000\364\377\374\267\000\020\000\000\250J\351\263\347\320\020\b\254K\034\bo\004\000\000\244S\034\bDS\034\b\310\070\037\b\364\377\374\267\240\023\375\267\000\000\000\000\250J\351\263]\314\357\267\000\000\000\000\000\000\000" __PRETTY_FUNCTION__ = "set_format" #4 0x080b24e3 in ast_set_write_format (chan=0x83b9168, fmt=4) at channel.c:4744 No locals. #5 0x080f680d in ast_stopstream (tmp=0x83b9168) at file.c:131 __PRETTY_FUNCTION__ = "ast_stopstream" #6 0x0813d64e in pbx_builtin_background (chan=0x83b9168, data=0xb3e96e3c "demo-congrats") at pbx.c:9290 back = 0x0 front = 0xb3e94c20 "demo-congrats" res = -1 mres = 0 flags = {flags = 0} parse = 0xb3e94c20 "demo-congrats" exten = "\000" ---Type to continue, or q to quit--- args = {argc = 1, argv = 0xb3e94c70, filename = 0xb3e94c20 "demo-congrats", options = 0x0, lang = 0xb6ee29b "en", context = 0x83b9434 "default"} __PRETTY_FUNCTION__ = "pbx_builtin_background" #7 0x08125e9c in pbx_exec (c=0x83b9168, app=0x82510a8, data=0xb3e96e3c "demo-congrats") at pbx.c:1395 res = -1276555952 u = 0x0 saved_c_appl = 0x0 saved_c_data = 0x0 __PRETTY_FUNCTION__ = "pbx_exec" #8 0x0812df84 in pbx_extension_helper (c=0x83b9168, con=0x0, context=0x83b9434 "default", exten=0x83b9484 "s", priority=5, label=0x0, callerid=0xb70b910 "111", action=E_SPAWN, found=0xb3e992c0, combined_find_spawn=1) at pbx.c:4069 e = 0xb6eabe8 app = 0x82510a8 res = 192181712 q = {incstack = {0xb702d80 "default", 0x0 }, stacklen = 1, status = 5, swo = 0x0, data = 0x0, foundcontext = 0xb703255 "demo"} passdata = "demo-congrats\000se)=10", '\000' , "^\275\356\267", '\000' , "\003h\357\267\000\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\001\000\000\000\264\217\351\263\001\000\000\000\364\377\374\267 \217鳷\377\032\b\370\216\351\263\"\243\354\267 \217鳶\377\032\b\001", '\000' , "\001", '\000' "\377, \377\377\377", '\000' , " ", '\000' , "P\216\351\263\000\000\000\000v\373\377\377", '\000' "\375, \377\377\377\000\000\000\000\001\000\000\000\202\300\354\267\000\000\000\000\266\377\032\b\340\366\374\267\267\377\032\b\264\217\351\263\000\000\000\000\257\377\032\b\000\000\000\000D\220鳮\377\032\b\022", '\000' matching_action = 0 __PRETTY_FUNCTION__ = "pbx_extension_helper" #9 0x0812f658 in ast_spawn_extension (c=0x83b9168, context=0x83b9434 "default", exten=0x83b9484 "s", priority=5, callerid=0xb70b910 "111", found=0xb3e992c0, combined_find_spawn=1) at pbx.c:4560 No locals. #10 0x0812fd3e in __ast_pbx_run (c=0x83b9168, args=0x0) at pbx.c:4655 digit = 0 invalid = 0 timeout = 0 dst_exten = '\000' , ">\247\357\267", '\000' pos = 0 found = 1 res = 0 autoloopflag = 0 ---Type to continue, or q to quit--- error = 0 __PRETTY_FUNCTION__ = "__ast_pbx_run" #11 0x081311e2 in pbx_thread (data=0x83b9168) at pbx.c:4942 c = 0x83b9168 #12 0x0817b518 in dummy_start (data=0x83b6200) at utils.c:971 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1209511948, -1276535952, 4001536, -1276537960, 1378364714, -1368941475}, __mask_was_saved = 0}}, __pad = {0xb3e99454, 0x0, 0x0, 0x0}} __cancel_routine = 0x807b819 __cancel_arg = 0xb3e99b70 not_first_call = 0 ret = 0x0 a = {start_routine = 0x81311c3 , data = 0x83b9168, name = 0xb7448d8 "pbx_thread", ' ' , "started at [ 4963] pbx.c ast_pbx_start()"} #13 0xb7e74955 in start_thread (arg=0xb3e99b70) at pthread_create.c:300 __res = __ignore1 = __ignore2 = pd = 0xb3e99b70 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {-1209511948, 0, 4001536, -1276537704, 1378430250, 1335625506}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = freesize = __PRETTY_FUNCTION__ = "start_thread" #14 0xb7f5910e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 No locals.