grep "SIP/777-082416d0" /var/log/asterisk/messages | wc -l 86477 Core was generated by `asterisk -vvv -c'. Program terminated with signal 11, Segmentation fault. #0 0xb7c5617d in fclose () from /lib/i686/libc.so.6 (gdb) bt #0 0xb7c5617d in fclose () from /lib/i686/libc.so.6 #1 0xb6be9756 in custom_log (cdr=0x828be60) at cdr_custom.c:130 #2 0x08083aad in post_cdr (cdr=0x828be60) at cdr.c:1003 #3 0x08084867 in ast_cdr_detach (cdr=0x828be60) at cdr.c:1170 #4 0x0808a6ac in ast_hangup (chan=0x82abd18) at channel.c:1490 #5 0x080e5fc8 in __ast_pbx_run (c=0x82abd18) at pbx.c:3429 #6 0x080e6431 in ast_pbx_run (c=0x82abd18) at pbx.c:3555 #7 0xb6e8ab94 in skinny_newcall (data=0x82abd18) at chan_skinny.c:3069 #8 0xb6e8af84 in skinny_ss (data=0x82abd18) at chan_skinny.c:3133 #9 0x0812ec56 in dummy_start (data=0x82594f8) at utils.c:857 #10 0xb7d82462 in start_thread () from /lib/i686/libpthread.so.0 #11 0xb7ccf82e in clone () from /lib/i686/libc.so.6 (gdb) bt full #0 0xb7c5617d in fclose () from /lib/i686/libc.so.6 No symbol table info available. #1 0xb6be9756 in custom_log (cdr=0x828be60) at cdr_custom.c:130 buf = "\"\"Pavel Jezek\" <324>\",\"324\",\"959\",\"zamestnanci\",\"Skinny/324@PJ-5\",\"IAX2/bill-gw-5\",\"Dial\",\"IAX2/bill-gw/959,,tT\",\"2007-12-15 10:20:33\",\"2007-12-15 10:20:35\",\"2007-12-15 10:20:44\",\"11\",\"9\",\"ANSWERED\",\""... dummy = {tech = 0x0, tech_pvt = 0x0, __field_mgr_pool = 0x0, name = 0x0, language = 0x0, musicclass = 0x0, accountcode = 0x0, call_forward = 0x0, uniqueid = 0x0, __field_mgr = {size = 0, used = 0}, fds = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, music_state = 0x0, generatordata = 0x0, generator = 0x0, _bridge = 0x0, masq = 0x0, masqr = 0x0, cdrflags = 0, _softhangup = 0, whentohangup = 0, blocker = 0, lock_dont_use = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' , __align = 0}, track = 0, file = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, lineno = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, reentrancy = 0, func = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, thread = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, reentr_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' , __align = 0}}, blockproc = 0x0, appl = 0x0, data = 0x0, fdno = 0, sched = 0x0, streamid = 0, stream = 0x0, vstreamid = 0, vstream = 0x0, oldwriteformat = 0, timingfd = 0, timingfunc = 0, timingdata = 0x0, _state = AST_STATE_DOWN, rings = 0, cid = {cid_dnid = 0x0, cid_num = 0x0, cid_name = 0x0, cid_ani = 0x0, cid_rdnis = 0x0, cid_pres = 0, cid_ani2 = 0, cid_ton = 0, cid_tns = 0}, dtmfq = '\0' , dtmff = {frametype = 0, subclass = 0, datalen = 0, samples = 0, mallocd = 0, mallocd_hdr_len = 0, offset = 0, src = 0x0, data = 0x0, delivery = {tv_sec = 0, tv_usec = 0}, frame_list = { next = 0x0}, has_timing_info = 0, ts = 0, len = 0, seqno = 0}, context = '\0' , exten = '\0' , priority = 0, macrocontext = '\0' , macroexten = '\0' , macropriority = 0, dialcontext = '\0' , pbx = 0x0, amaflags = 0, cdr = 0x828be60, adsicpe = AST_ADSI_UNKNOWN, zone = 0x0, monitor = 0x0, insmpl = 0, outsmpl = 0, fin = 0, fout = 0, hangupcause = 0, varshead = {first = 0x0, last = 0x0}, callgroup = 0, pickupgroup = 0, flags = 0, transfercapability = 0, readq = {first = 0x0, last = 0x0}, alertpipe = {0, 0}, nativeformats = 0, readformat = 0, writeformat = 0, writetrans = 0x0, readtrans = 0x0, rawreadformat = 0, rawwriteformat = 0, audiohooks = 0x0, chan_list = {next = 0x0}, jb = {conf = { flags = 0, max_size = 0, resync_threshold = 0, impl = '\0' }, impl = 0x0, jbobj = 0x0, timebase = {tv_sec = 0, tv_usec = 0}, next = 0, last_format = 0, logfile = 0x0, flags = 0}, emulate_dtmf_digit = 0 '\0', emulate_dtmf_duration = 0, dtmf_tv = {tv_sec = 0, tv_usec = 0}, datastores = {first = 0x0, last = 0x0}, epfd = 0, epfd_data = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, visible_indication = 0} __PRETTY_FUNCTION__ = "custom_log" #2 0x08083aad in post_cdr (cdr=0x828be60) at cdr.c:1003 chan = 0x828bfa0 "Skinny/324@PJ-5" i = (struct ast_cdr_beitem *) 0x8221720 __PRETTY_FUNCTION__ = "post_cdr" #3 0x08084867 in ast_cdr_detach (cdr=0x828be60) at cdr.c:1170 newtail = (struct ast_cdr_batch_item *) 0x0 curr = 0 __PRETTY_FUNCTION__ = "ast_cdr_detach" #4 0x0808a6ac in ast_hangup (chan=0x82abd18) at channel.c:1490 res = 0 cdr = (struct ast_cdr *) 0x828be60 __PRETTY_FUNCTION__ = "ast_hangup" #5 0x080e5fc8 in __ast_pbx_run (c=0x82abd18) at pbx.c:3429 found = 0 res = -1 autoloopflag = 0 error = 1 __PRETTY_FUNCTION__ = "__ast_pbx_run" #6 0x080e6431 in ast_pbx_run (c=0x82abd18) at pbx.c:3555 res = AST_PBX_SUCCESS #7 0xb6e8ab94 in skinny_newcall (data=0x82abd18) at chan_skinny.c:3069 c = (struct ast_channel *) 0x82abd18 sub = (struct skinny_subchannel *) 0x82abbc8 l = (struct skinny_line *) 0x81fff58 ---Type to continue, or q to quit--- d = (struct skinny_device *) 0x81fa040 res = 0 __PRETTY_FUNCTION__ = "skinny_newcall" #8 0xb6e8af84 in skinny_ss (data=0x82abd18) at chan_skinny.c:3133 c = (struct ast_channel *) 0x82abd18 sub = (struct skinny_subchannel *) 0x82abbc8 l = (struct skinny_line *) 0x81fff58 d = (struct skinny_device *) 0x81fa040 len = 3 timeout = 0 res = 0 getforward = 0 loop_pause = 100 __PRETTY_FUNCTION__ = "skinny_ss" #9 0x0812ec56 in dummy_start (data=0x82594f8) at utils.c:857 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1210511372, 0, -1231365232, -1231367224, -1138883277, -1402074034}, __mask_was_saved = 0}}, __pad = { 0xb69ad480, 0x0, 0x0, 0xb7d3be70}} __cancel_routine = (void (*)(void *)) 0x806d60c __cancel_arg = (void *) 0xb69adb90 not_first_call = 0 ret = (void *) 0xb7d0df94 a = {start_routine = 0xb6e8abed , data = 0x82abd18, name = 0x824eac0 "skinny_ss", ' ' , "started at [ 4101] chan_skinny.c handle_stimulus_message()"} lock_info = (struct thr_lock_info *) 0x8269e88 mutex_attr = {__size = "\001\000\000", __align = 1} #10 0xb7d82462 in start_thread () from /lib/i686/libpthread.so.0 No symbol table info available. #11 0xb7ccf82e in clone () from /lib/i686/libc.so.6 No symbol table info available. (gdb)