Core was generated by `asterisk -vvvc'. Program terminated with signal 11, Segmentation fault. #0 0x00002b564e974e40 in strchr () from /lib/libc.so.6 (gdb) bt #0 0x00002b564e974e40 in strchr () from /lib/libc.so.6 #1 0x00002aaaaf480fbb in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so #2 0x00000000004536f6 in ast_load_realtime (family=0x2aaaae007b6f "iaxusers") at config.c:1408 #3 0x00002aaaadfd5277 in realtime_user (username=0x67f3e8 "6619", sin=0x40436db0) at chan_iax2.c:2805 #4 0x00002aaaadfdfae1 in check_access (callno=1, sin=0x40436db0, ies=0x40436c00) at chan_iax2.c:5030 #5 0x00002aaaadfec980 in socket_process (thread=0x742b70) at chan_iax2.c:7340 #6 0x00002aaaadff5696 in iax2_process_thread (data=0x742b70) at chan_iax2.c:8367 #7 0x00000000004c27a1 in dummy_start (data=0x743cc0) at utils.c:852 #8 0x00002b564e3fff1a in start_thread () from /lib/libpthread.so.0 #9 0x00002b564e9cc5d2 in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () (gdb) bt full #0 0x00002b564e974e40 in strchr () from /lib/libc.so.6 No symbol table info available. #1 0x00002aaaaf480fbb in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so No symbol table info available. #2 0x00000000004536f6 in ast_load_realtime (family=0x2aaaae007b6f "iaxusers") at config.c:1408 eng = (struct ast_config_engine *) 0x2aaaaf5835e0 db = "pepebx", '\0' table = "iax_accs", '\0' res = (struct ast_variable *) 0x0 ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x40434438, reg_save_area = 0x40434370}} #3 0x00002aaaadfd5277 in realtime_user (username=0x67f3e8 "6619", sin=0x40436db0) at chan_iax2.c:2805 var = (struct ast_variable *) 0x0 tmp = (struct ast_variable *) 0x0 user = (struct iax2_user *) 0x0 #4 0x00002aaaadfdfae1 in check_access (callno=1, sin=0x40436db0, ies=0x40436c00) at chan_iax2.c:5030 res = -1 version = 2 user = (struct iax2_user *) 0x0 ---Type to continue, or q to quit--- best = (struct iax2_user *) 0x0 bestscore = 0 gotcapability = 1 v = (struct ast_variable *) 0x0 tmpvar = (struct ast_variable *) 0x0 i = {c = 0x73a8d8, flags = 0, bucket = 1, c_version = 0, obj = 0x0, version = 0} __PRETTY_FUNCTION__ = "check_access" #5 0x00002aaaadfec980 in socket_process (thread=0x742b70) at chan_iax2.c:7340 sin = {sin_family = 2, sin_port = 55569, sin_addr = { s_addr = 2751529226}, sin_zero = "\000\000\000\000\000\000\000"} res = 81 updatehistory = 0 new = 1 ptr = (void *) 0x0 dcallno = 0 fh = (struct ast_iax2_full_hdr *) 0x742c04 mh = (struct ast_iax2_mini_hdr *) 0x742c04 meta = (struct ast_iax2_meta_hdr *) 0x742c04 vh = (struct ast_iax2_video_hdr *) 0x742c04 mth = (struct ast_iax2_meta_trunk_hdr *) 0x0 mte = (struct ast_iax2_meta_trunk_entry *) 0x0 mtm = (struct ast_iax2_meta_trunk_mini *) 0x0 ---Type to continue, or q to quit--- fr = (struct iax_frame *) 0x40434a70 cur = (struct iax_frame *) 0x0 f = {frametype = AST_FRAME_IAX, subclass = 1, 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} c = (struct ast_channel *) 0x0 dp = (struct iax2_dpcache *) 0x0 peer = (struct iax2_peer *) 0x0 tpeer = (struct iax2_trunk_peer *) 0x0 rxtrunktime = {tv_sec = 0, tv_usec = 0} ies = {called_number = 0x742c3f "0587826666", calling_number = 0x742c16 "6619", calling_ani = 0x0, calling_name = 0x742c1c "Patrycja Krauze", calling_ton = -1, calling_tns = -1, calling_pres = -1, called_context = 0x0, username = 0x742c39 "6619", password = 0x0, capability = 1550, format = 2, codec_prefs = 0x0, language = 0x0, version = 2, adsicpe = 0, dnid = 0x742c4b "0587826666", rdnis = 0x0, authmethods = 0, encmethods = 0, challenge = 0x0, md5_result = 0x0, rsa_result = 0x0, apparent_addr = 0x0, refresh = 0, dpstatus = 0, callno = 0, cause = 0x0, causecode = 0 '\0', iax_unknown = 0 '\0', msgcount = -1, autoanswer = 0, musiconhold = 0, transferid = 0, datetime = 0, devicetype = 0x0, serviceident = 0x0, firmwarever = -1, fwdesc = 0, fwdata = 0x0, fwdatalen = 0 '\0', ---Type to continue, or q to quit--- enckey = 0x0, enckeylen = 0 '\0', provver = 0, samprate = 1, provverpres = 0, rr_jitter = 0, rr_loss = 0, rr_pkts = 0, rr_delay = 0, rr_dropped = 0, rr_ooo = 0} ied0 = {buf = '\0' , pos = 0} ied1 = {buf = '\0' , pos = 0} format = 0 fd = 137 exists = 0 minivid = 0 ts = 0 empty = '\0' duped_fr = (struct iax_frame *) 0x0 host_pref_buf = '\0' caller_pref_buf = '\0' pref = {order = '\0' , framing = '\0' } using_prefs = 0x2aaaae0098e7 "mine" __PRETTY_FUNCTION__ = "socket_process" #6 0x00002aaaadff5696 in iax2_process_thread (data=0x742b70) at chan_iax2.c:8367 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 1078161680, 0, 1078163808, 1078162064, 1078165504, 1078161312, 46912551997988}, __mask_was_saved = 0}}, __pad = {0x40437130, 0x0, ---Type to continue, or q to quit--- 0x2b564eb3b0e0, 0x0}} __cancel_routine = (void (*)( void *)) 0x2aaaadff5166 __cancel_arg = (void *) 0x742b70 not_first_call = 0 thread = (struct iax2_thread *) 0x742b70 tv = {tv_sec = 1078165504, tv_usec = 47649685704262} ts = {tv_sec = 7641648, tv_nsec = 26065} put_into_idle = 1 #7 0x00000000004c27a1 in dummy_start (data=0x743cc0) at utils.c:852 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 1078161888, 0, 1078163808, 1078162064, 1078165504, 1078161696, 4990824}, __mask_was_saved = 0}}, __pad = {0x40437200, 0x0, 0x0, 0x0}} __cancel_routine = (void (*)(void *)) 0x425bac __cancel_arg = (void *) 0x40437960 not_first_call = 0 ret = (void *) 0x0 a = {start_routine = 0x2aaaadff51c8 , data = 0x742b70, name = 0x743ce0 "iax2_process_thread started at [ 8889] chan_iax2.c start_net work_thread()"} #8 0x00002b564e3fff1a in start_thread () from /lib/libpthread.so.0 No symbol table info available. ---Type to continue, or q to quit--- #9 0x00002b564e9cc5d2 in clone () from /lib/libc.so.6 No symbol table info available. #10 0x0000000000000000 in ?? () No symbol table info available. (gdb)