Core was generated by `/usr/sbin/asterisk'. Program terminated with signal 11, Segmentation fault. #0 0x00002b0b1d20be40 in strchr () from /lib/libc.so.6 (gdb) bt #0 0x00002b0b1d20be40 in strchr () from /lib/libc.so.6 #1 0x00002aaaaf46efbb in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so #2 0x0000000000446874 in ast_load_realtime (family=0x2aaaadea696b "iaxusers") at config.c:1408 #3 0x00002aaaade8acbe in check_access (callno=, sin=0x403bef90, ies=0x403be610) at chan_iax2.c:2805 #4 0x00002aaaade9b566 in socket_process (thread=0x0) at chan_iax2.c:7340 #5 0x00002aaaadea0f0e in iax2_process_thread (data=0x730f50) at chan_iax2.c:8367 #6 0x00000000004a8dac in dummy_start (data=) at utils.c:852 #7 0x00002b0b1cc96f1a in start_thread () from /lib/libpthread.so.0 #8 0x00002b0b1d2635d2 in clone () from /lib/libc.so.6 #9 0x0000000000000000 in ?? () (gdb) bt full #0 0x00002b0b1d20be40 in strchr () from /lib/libc.so.6 No symbol table info available. #1 0x00002aaaaf46efbb in ?? () from /usr/lib/asterisk/modules/res_config_mysql.so No symbol table info available. #2 0x0000000000446874 in ast_load_realtime (family=0x2aaaadea696b "iaxusers") at config.c:1408 eng = db = "pepebx", '\0' table = "iax_accs", '\0' res = ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x403bc608, reg_save_area = 0x403bc520}} #3 0x00002aaaade8acbe in check_access (callno=, sin=0x403bef90, ies=0x403be610) at chan_iax2.c:2805 res = version = user = (struct iax2_user *) 0x0 best = (struct iax2_user *) 0x0 bestscore = 0 gotcapability = 1 v = tmpvar = i = {c = 0x72b178, flags = 0, bucket = 1, c_version = 0, obj = 0x0, version = 0} __PRETTY_FUNCTION__ = "check_access" #4 0x00002aaaade9b566 in socket_process (thread=0x0) 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 = 79 updatehistory = 0 new = ptr = dcallno = fh = mth = fr = cur = 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 = dp = tpeer = ies = {called_number = 0x73101f "587826666", calling_number = 0x730ff6 "6619", calling_ani = 0x0, calling_name = 0x730ffc "Patrycja Krauze", calling_ton = -1, calling_tns = -1, calling_pres = -1, called_context = 0x0, username = 0x731019 "6619", password = 0x0, capability = 1550, format = 2, codec_prefs = 0x0, language = 0x0, version = 2, adsicpe = 0, dnid = 0x73102a "587826666", 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', 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} ---Type to continue, or q to quit--- ied1 = {buf = '\0' , pos = 0} format = fd = 137 exists = minivid = empty = '\0' duped_fr = host_pref_buf = '\0' , "2?\034\v+", '\0' , "@-;@\000\000\000\000`o?*\000\000%\006P\v\000\000\000\000\030\216?*\000\000\000\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000-\206?*\000\000B\230?*\000" caller_pref_buf = '\0' pref = {order = "\000\000\000\000\000\000\000\000X!=\035\v+", '\0' , framing = '\0' , "`o?*\000\000--t\000\000\000\000"} using_prefs = __PRETTY_FUNCTION__ = "socket_process" #5 0x00002aaaadea0f0e in iax2_process_thread (data=0x730f50) at chan_iax2.c:8367 curelm = __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {1077670240, 0, 0, 1077672288, 1077670544, 1077673984, 1077669904, 46912550603364}, __mask_was_saved = 0}}, __pad = {0x403bf160, 0x0, 0x0, 0x0}} not_first_call = thread = (struct iax2_thread *) 0x730f50 tv = {tv_sec = 7549808, tv_usec = 89233} ts = {tv_sec = 0, tv_nsec = 24} put_into_idle = 1 #6 0x00000000004a8dac in dummy_start (data=) at utils.c:852 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {7544992, 0, 0, 1077672288, 1077670544, 1077673984, 1077670208, 4885906}, __mask_was_saved = 0}}, __pad = {0x403bf200, 0x0, 0x0, 0x0}} __cancel_arg = (void *) 0x403bf960 not_first_call = ret = #7 0x00002b0b1cc96f1a in start_thread () from /lib/libpthread.so.0 No symbol table info available. #8 0x00002b0b1d2635d2 in clone () from /lib/libc.so.6 No symbol table info available. #9 0x0000000000000000 in ?? () No symbol table info available. (gdb)