gdb /usr/local/opensips1.10.1/sbin/opensips /opensipscore/core GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/opensips1.10.1/sbin/opensips...done. [New LWP 9791] warning: Can't read pathname for load map: Ошибка ввода/вывода. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff78bfe000 Core was generated by `/usr/local/opensips1.10.1/sbin/opensips -P /sock/opensips.pid -u opensips -w /o'. Program terminated with signal 11, Segmentation fault. #0 fm_remove_free (n=0x7fcf529e6840, qm=0x7fcf44a9b000) at mem/f_malloc.c:175 175 n->u.nxt_free->prev = pf; (gdb) bt #0 fm_remove_free (n=0x7fcf529e6840, qm=0x7fcf44a9b000) at mem/f_malloc.c:175 #1 fm_malloc (qm=0x7fcf44a9b000, size=704) at mem/f_malloc.c:383 #2 0x00007fcf685860a5 in shm_malloc_unsafe (size=) at ../../mem/shm_mem.h:248 #3 shm_malloc (size=) at ../../mem/shm_mem.h:258 #4 add_rt_info (pn=0x7fcf4e465d18, r=0x7fcf4f6bc9f8, rgid=127) at routing.c:367 #5 0x00007fcf68581f3c in add_prefix (ptree=0x7fcf4e465cf8, prefix=, r=0x7fcf4f6bc9f8, rg=127) at prefix_tree.c:260 #6 0x00007fcf685715a4 in add_rule (rule=, prefix=, grplst=, rdata=) at dr_load.c:188 #7 dr_load_routing_info (dr_dbf=0x7fcf687941a0, db_hdl=0x7fcf6ac053b0, drd_table=, drc_table=, drr_table=0x7fcf687939f0) at dr_load.c:512 #8 0x00007fcf685811c0 in dr_reload_data () at drouting.c:425 #9 dr_reload_cmd (cmd_tree=, param=) at drouting.c:813 #10 0x00007fcf68baf504 in run_mi_cmd (param=0x25e5aa0, f=, t=0x0, cmd=) at ../../mi/mi.h:109 #11 mi_fifo_server (fifo_stream=0x25e8e30) at fifo_fnc.c:490 #12 0x00007fcf68bb0bef in fifo_process (rank=) at mi_fifo.c:213 #13 0x00000000004b9de5 in start_module_procs () at sr_module.c:586 #14 0x000000000041475a in main_loop () at main.c:840 #15 main (argc=, argv=) at main.c:1598 (gdb) bt full #0 fm_remove_free (n=0x7fcf529e6840, qm=0x7fcf44a9b000) at mem/f_malloc.c:175 pf = 0x7fcf44a9b640 hash = 2096 #1 fm_malloc (qm=0x7fcf44a9b000, size=704) at mem/f_malloc.c:383 frag = 0x7fcf529e6840 n = hash = __FUNCTION__ = "fm_malloc" #2 0x00007fcf685860a5 in shm_malloc_unsafe (size=) at ../../mem/shm_mem.h:248 p = #3 shm_malloc (size=) at ../../mem/shm_mem.h:258 p = 0x2c0 #4 add_rt_info (pn=0x7fcf4e465d18, r=0x7fcf4f6bc9f8, rgid=127) at routing.c:367 trg = rtl_wrp = rtlw = 0x0 i = __FUNCTION__ = "add_rt_info" #5 0x00007fcf68581f3c in add_prefix (ptree=0x7fcf4e465cf8, prefix=, r=0x7fcf4f6bc9f8, rg=127) at prefix_tree.c:260 tmp = res = 0 __FUNCTION__ = "add_prefix" #6 0x00007fcf685715a4 in add_rule (rule=, prefix=, grplst=, rdata=) at dr_load.c:188 tmp = t = ep = 0x2aa79cc ",130,139,142,145,148" n = #7 dr_load_routing_info (dr_dbf=0x7fcf687941a0, db_hdl=0x7fcf6ac053b0, drd_table=, drc_table=, drr_table=0x7fcf687939f0) at dr_load.c:512 int_vals = {1522874, , 0, } str_vals = {0x2aa7948 "19,20,23,25,27,31,33,35,37,29,40,44,47,50,12,53,56,59,62,65,66,69,72,75,78,81,84,97,88,91,94,100,103,106,109,112,115,118,121,124,127,130,139,142,145,148", , , 0x2aa79ed "13", , } tmp = {s = 0x2aa79e1 "81061881", len = 8} columns = {0x7fcf68793400, 0x7fcf68793410, 0x7fcf68793420, 0x7fcf68793430, 0x7fcf68793440, 0x7fcf68793450, 0x7fcf68793460, 0x7fcf68793390} res = 0x7fcf6c24dd48 row = ri = 0x7fcf4f6bc9f8 rdata = 0x7fcf4955e898 time_rec = i = 4018 n = 29697 no_rows = __FUNCTION__ = "dr_load_routing_info" #8 0x00007fcf685811c0 in dr_reload_data () at drouting.c:425 new_data = old_data = #9 dr_reload_cmd (cmd_tree=, param=) at drouting.c:813 __FUNCTION__ = "dr_reload_cmd" #10 0x00007fcf68baf504 in run_mi_cmd (param=0x25e5aa0, f=, t=0x0, cmd=) at ../../mi/mi.h:109 ret = #11 mi_fifo_server (fifo_stream=0x25e8e30) at fifo_fnc.c:490 mi_cmd = mi_rpl = 0x7fcf6abe03c8 hdl = 0x0 line_len = 1 file_sep = ---Type to continue, or q to quit--- command = file = f = 0x7fcf6abe03c8 reply_stream = 0x25e5aa0 __FUNCTION__ = "mi_fifo_server" #12 0x00007fcf68bb0bef in fifo_process (rank=) at mi_fifo.c:213 fifo_stream = 0x25e8e30 __FUNCTION__ = "fifo_process" #13 0x00000000004b9de5 in start_module_procs () at sr_module.c:586 m = 0x7fcf6ab0a980 n = l = x = __FUNCTION__ = "start_module_procs" #14 0x000000000041475a in main_loop () at main.c:840 i = pid = si = startup_done = 0x0 chd_rank = 0 rc = load_p = 0x0 #15 main (argc=, argv=) at main.c:1598 cfg_log_stderr = cfg_stream = c = r = tmp = 0x7fff78b338b5 "" tmp_len = port = proto = options = 0x591550 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:" ret = -1 seed = 3122558418 rfd = 4 __FUNCTION__ = "main"