Hello!
Opensips1.10.1. Working with rtpproxy2.0. Today Opensips has crashed. Core file was generated. Information from core file is in attachment. The question is why Opensips has crashed? Thank you for any help.
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 <http://gnu.org/licenses/gpl.html> 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: <http://bugs.launchpad.net/gdb-linaro/>... 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=<optimized out>) at ../../mem/shm_mem.h:248 #3 shm_malloc (size=<optimized out>) 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=<optimized out>, r=0x7fcf4f6bc9f8, rg=127) at prefix_tree.c:260 #6 0x00007fcf685715a4 in add_rule (rule=<optimized out>, prefix=<optimized out>, grplst=<optimized out>, rdata=<optimized out>) at dr_load.c:188 #7 dr_load_routing_info (dr_dbf=0x7fcf687941a0, db_hdl=0x7fcf6ac053b0, drd_table=<optimized out>, drc_table=<optimized out>, drr_table=0x7fcf687939f0) at dr_load.c:512 #8 0x00007fcf685811c0 in dr_reload_data () at drouting.c:425 #9 dr_reload_cmd (cmd_tree=<optimized out>, param=<optimized out>) at drouting.c:813 #10 0x00007fcf68baf504 in run_mi_cmd (param=0x25e5aa0, f=<optimized out>, t=0x0, cmd=<optimized out>) at ../../mi/mi.h:109 #11 mi_fifo_server (fifo_stream=0x25e8e30) at fifo_fnc.c:490 #12 0x00007fcf68bb0bef in fifo_process (rank=<optimized out>) 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=<optimized out>, argv=<optimized out>) 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 = <optimized out> hash = <optimized out> __FUNCTION__ = "fm_malloc" #2 0x00007fcf685860a5 in shm_malloc_unsafe (size=<optimized out>) at ../../mem/shm_mem.h:248 p = <optimized out> #3 shm_malloc (size=<optimized out>) at ../../mem/shm_mem.h:258 p = 0x2c0 #4 add_rt_info (pn=0x7fcf4e465d18, r=0x7fcf4f6bc9f8, rgid=127) at routing.c:367 trg = <optimized out> rtl_wrp = <optimized out> rtlw = 0x0 i = <optimized out> __FUNCTION__ = "add_rt_info" #5 0x00007fcf68581f3c in add_prefix (ptree=0x7fcf4e465cf8, prefix=<optimized out>, r=0x7fcf4f6bc9f8, rg=127) at prefix_tree.c:260 tmp = <optimized out> res = 0 __FUNCTION__ = "add_prefix" #6 0x00007fcf685715a4 in add_rule (rule=<optimized out>, prefix=<optimized out>, grplst=<optimized out>, rdata=<optimized out>) at dr_load.c:188 tmp = <optimized out> t = <optimized out> ep = 0x2aa79cc ",130,139,142,145,148" n = <optimized out> #7 dr_load_routing_info (dr_dbf=0x7fcf687941a0, db_hdl=0x7fcf6ac053b0, drd_table=<optimized out>, drc_table=<optimized out>, drr_table=0x7fcf687939f0) at dr_load.c:512 int_vals = {1522874, <optimized out>, 0, <optimized out>} 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", <optimized out>, <optimized out>, 0x2aa79ed "13", <optimized out>, <optimized out>} tmp = {s = 0x2aa79e1 "81061881", len = 8} columns = {0x7fcf68793400, 0x7fcf68793410, 0x7fcf68793420, 0x7fcf68793430, 0x7fcf68793440, 0x7fcf68793450, 0x7fcf68793460, 0x7fcf68793390} res = 0x7fcf6c24dd48 row = <optimized out> ri = 0x7fcf4f6bc9f8 rdata = 0x7fcf4955e898 time_rec = <optimized out> i = 4018 n = 29697 no_rows = <optimized out> __FUNCTION__ = "dr_load_routing_info" #8 0x00007fcf685811c0 in dr_reload_data () at drouting.c:425 new_data = <optimized out> old_data = <optimized out> #9 dr_reload_cmd (cmd_tree=<optimized out>, param=<optimized out>) at drouting.c:813 __FUNCTION__ = "dr_reload_cmd" #10 0x00007fcf68baf504 in run_mi_cmd (param=0x25e5aa0, f=<optimized out>, t=0x0, cmd=<optimized out>) at ../../mi/mi.h:109 ret = <optimized out> #11 mi_fifo_server (fifo_stream=0x25e8e30) at fifo_fnc.c:490 mi_cmd = <optimized out> mi_rpl = 0x7fcf6abe03c8 hdl = 0x0 line_len = 1 file_sep = <optimized out> ---Type <return> to continue, or q <return> to quit--- command = <optimized out> file = <optimized out> f = 0x7fcf6abe03c8 reply_stream = 0x25e5aa0 __FUNCTION__ = "mi_fifo_server" #12 0x00007fcf68bb0bef in fifo_process (rank=<optimized out>) 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 = <optimized out> l = <optimized out> x = <optimized out> __FUNCTION__ = "start_module_procs" #14 0x000000000041475a in main_loop () at main.c:840 i = <optimized out> pid = <optimized out> si = <optimized out> startup_done = 0x0 chd_rank = 0 rc = <optimized out> load_p = 0x0 #15 main (argc=<optimized out>, argv=<optimized out>) at main.c:1598 cfg_log_stderr = <optimized out> cfg_stream = <optimized out> c = <optimized out> r = <optimized out> tmp = 0x7fff78b338b5 "" tmp_len = <optimized out> port = <optimized out> proto = <optimized out> 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"
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users