GNU gdb (GDB) CentOS (7.0.1-45.el5.centos) Copyright (C) 2009 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-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/sbin/kamailio...done. [New Thread 8290] Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libdl.so.2 Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libresolv.so.2 Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Reading symbols from /usr/local/lib64/kamailio/modules/db_mysql.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/db_mysql.so Reading symbols from /usr/lib64/mysql/libmysqlclient.so.15...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/mysql/libmysqlclient.so.15 Reading symbols from /usr/lib64/libz.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libz.so.1 Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libcrypt.so.1 Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libnsl.so.1 Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libm.so.6 Reading symbols from /lib64/libssl.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libssl.so.6 Reading symbols from /lib64/libcrypto.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libcrypto.so.6 Reading symbols from /usr/local/lib64/kamailio/libsrdb2.so.1...done. Loaded symbols for /usr/local/lib64/kamailio/libsrdb2.so.1 Reading symbols from /usr/local/lib64/kamailio/libsrdb1.so.1...done. Loaded symbols for /usr/local/lib64/kamailio/libsrdb1.so.1 Reading symbols from /usr/lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libgssapi_krb5.so.2 Reading symbols from /usr/lib64/libkrb5.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libkrb5.so.3 Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libcom_err.so.2 Reading symbols from /usr/lib64/libk5crypto.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libk5crypto.so.3 Reading symbols from /usr/lib64/libkrb5support.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/lib64/libkrb5support.so.0 Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libkeyutils.so.1 Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libselinux.so.1 Reading symbols from /lib64/libsepol.so.1...(no debugging symbols found)...done. Loaded symbols for /lib64/libsepol.so.1 Reading symbols from /usr/local/lib64/kamailio/modules/db_flatstore.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/db_flatstore.so Reading symbols from /usr/local/lib64/kamailio/modules/tm.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/tm.so Reading symbols from /usr/local/lib64/kamailio/modules/tmx.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/tmx.so Reading symbols from /usr/local/lib64/kamailio/libkmi.so.1...done. Loaded symbols for /usr/local/lib64/kamailio/libkmi.so.1 Reading symbols from /usr/local/lib64/kamailio/libkcore.so.1...done. Loaded symbols for /usr/local/lib64/kamailio/libkcore.so.1 Reading symbols from /usr/local/lib64/kamailio/modules/corex.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/corex.so Reading symbols from /usr/local/lib64/kamailio/modules/sl.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/sl.so Reading symbols from /usr/local/lib64/kamailio/modules/kex.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/kex.so Reading symbols from /usr/local/lib64/kamailio/libsrutils.so.1...done. Loaded symbols for /usr/local/lib64/kamailio/libsrutils.so.1 Reading symbols from /usr/local/lib64/kamailio/modules/rr.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/rr.so Reading symbols from /usr/local/lib64/kamailio/modules/maxfwd.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/maxfwd.so Reading symbols from /usr/local/lib64/kamailio/modules/usrloc.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/usrloc.so Reading symbols from /usr/local/lib64/kamailio/modules/registrar.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/registrar.so Reading symbols from /usr/local/lib64/kamailio/modules/auth.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/auth.so Reading symbols from /usr/local/lib64/kamailio/modules/auth_db.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/auth_db.so Reading symbols from /usr/local/lib64/kamailio/modules/uac.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/uac.so Reading symbols from /usr/local/lib64/kamailio/modules/uri_db.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/uri_db.so Reading symbols from /usr/local/lib64/kamailio/modules/alias_db.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/alias_db.so Reading symbols from /usr/local/lib64/kamailio/modules/domain.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/domain.so Reading symbols from /usr/local/lib64/kamailio/modules/avpops.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/avpops.so Reading symbols from /usr/local/lib64/kamailio/modules/textops.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/textops.so Reading symbols from /usr/local/lib64/kamailio/modules/textopsx.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/textopsx.so Reading symbols from /usr/local/lib64/kamailio/modules/xlog.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/xlog.so Reading symbols from /usr/local/lib64/kamailio/modules/permissions.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/permissions.so Reading symbols from /usr/local/lib64/kamailio/modules/acc.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/acc.so Reading symbols from /usr/local/lib64/kamailio/modules/mi_fifo.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/mi_fifo.so Reading symbols from /usr/local/lib64/kamailio/modules/mi_rpc.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/mi_rpc.so Reading symbols from /usr/local/lib64/kamailio/libbinrpc.so.0...done. Loaded symbols for /usr/local/lib64/kamailio/libbinrpc.so.0 Reading symbols from /usr/local/lib64/kamailio/modules/dialog.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/dialog.so Reading symbols from /usr/local/lib64/kamailio/modules/exec.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/exec.so Reading symbols from /usr/local/lib64/kamailio/modules/sanity.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/sanity.so Reading symbols from /usr/local/lib64/kamailio/modules/ctl.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/ctl.so Reading symbols from /usr/local/lib64/kamailio/modules/pv.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/pv.so Reading symbols from /usr/local/lib64/kamailio/modules/regex.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/regex.so Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done. Loaded symbols for /lib64/libpcre.so.0 Reading symbols from /usr/local/lib64/kamailio/modules/cfg_rpc.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/cfg_rpc.so Reading symbols from /usr/local/lib64/kamailio/modules/uac_redirect.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/uac_redirect.so Reading symbols from /usr/local/lib64/kamailio/modules/nathelper.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/nathelper.so Reading symbols from /usr/local/lib64/kamailio/modules/rtpproxy.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/rtpproxy.so Reading symbols from /usr/local/lib64/kamailio/modules/tls.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/tls.so Reading symbols from /opt/openssl/lib/libssl.so.1.0.0...(no debugging symbols found)...done. Loaded symbols for /opt/openssl/lib/libssl.so.1.0.0 Reading symbols from /opt/openssl/lib/libcrypto.so.1.0.0...(no debugging symbols found)...done. Loaded symbols for /opt/openssl/lib/libcrypto.so.1.0.0 Reading symbols from /usr/local/lib64/kamailio/modules/drouting.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/drouting.so Reading symbols from /usr/local/lib64/kamailio/modules/siptrace.so...done. Loaded symbols for /usr/local/lib64/kamailio/modules/siptrace.so Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/libnss_files.so.2 Core was generated by `/usr/local/sbin/kamailio -P /var/run/kamailio.pid -f /etc/kamailio/kamailio.cfg'. Program terminated with signal 6, Aborted. #0 0x00000031e9e30265 in raise () from /lib64/libc.so.6 (gdb) set pagination off (gdb) info threads * 1 Thread 8290 0x00000031e9e30265 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00000031e9e30265 in raise () from /lib64/libc.so.6 #1 0x00000031e9e31d10 in abort () from /lib64/libc.so.6 #2 0x0000000000546a61 in qm_debug_frag (qm=0x2abf2b1d2010, f=0x2abf2b2991d8) at mem/q_malloc.c:151 #3 0x0000000000548628 in qm_free (qm=0x2abf2b1d2010, p=0x2abf2b299208, file=0x2abf2f960b1a "exec: exec_hf.c", func=0x2abf2f9610ae "unset_env", line=412) at mem/q_malloc.c:464 #4 0x00002abf2f95b7bd in unset_env (backup_env=0x2abf2b364f58) at exec_hf.c:412 #5 0x00002abf2f95eea1 in w_exec_msg (msg=0x2abf2c0db120, cmd=0x2abf2b354650 "\250.5+\277*", foo=0x0) at exec_mod.c:181 #6 0x00000000004191dc in do_action (h=0x7ffffc968480, a=0x2abf2b353858, msg=0x2abf2c0db120) at action.c:1105 #7 0x0000000000422683 in run_actions (h=0x7ffffc968480, a=0x2abf2b353858, msg=0x2abf2c0db120) at action.c:1599 #8 0x0000000000419119 in do_action (h=0x7ffffc968480, a=0x2abf2b354820, msg=0x2abf2c0db120) at action.c:1094 #9 0x0000000000422683 in run_actions (h=0x7ffffc968480, a=0x2abf2b354820, msg=0x2abf2c0db120) at action.c:1599 #10 0x00000000004190c6 in do_action (h=0x7ffffc968480, a=0x2abf2b354d40, msg=0x2abf2c0db120) at action.c:1090 #11 0x0000000000422683 in run_actions (h=0x7ffffc968480, a=0x2abf2b354d40, msg=0x2abf2c0db120) at action.c:1599 #12 0x00000000004190c6 in do_action (h=0x7ffffc968480, a=0x2abf2b355048, msg=0x2abf2c0db120) at action.c:1090 #13 0x0000000000422683 in run_actions (h=0x7ffffc968480, a=0x2abf2b34f7e8, msg=0x2abf2c0db120) at action.c:1599 #14 0x00000000004190c6 in do_action (h=0x7ffffc968480, a=0x2abf2b35bc40, msg=0x2abf2c0db120) at action.c:1090 #15 0x0000000000422683 in run_actions (h=0x7ffffc968480, a=0x2abf2b35bc40, msg=0x2abf2c0db120) at action.c:1599 #16 0x0000000000422f21 in run_top_route (a=0x2abf2b35bc40, msg=0x2abf2c0db120, c=0x0) at action.c:1685 #17 0x00002abf2be9784f in run_failure_handlers (t=0x2abf3bdadfa8, rpl=0x2abf2b37aa08, code=500, extra_flags=64) at t_reply.c:1061 #18 0x00002abf2be992e6 in t_should_relay_response (Trans=0x2abf3bdadfa8, new_code=500, branch=0, should_store=0x7ffffc9687c0, should_relay=0x7ffffc9687c4, cancel_data=0x7ffffc968a00, reply=0x2abf2b37aa08) at t_reply.c:1416 #19 0x00002abf2be9a83d in relay_reply (t=0x2abf3bdadfa8, p_msg=0x2abf2b37aa08, branch=0, msg_status=500, cancel_data=0x7ffffc968a00, do_put_on_wait=1) at t_reply.c:1819 #20 0x00002abf2be9ebcd in reply_received (p_msg=0x2abf2b37aa08) at t_reply.c:2499 #21 0x000000000045e1b6 in do_forward_reply (msg=0x2abf2b37aa08, mode=0) at forward.c:777 #22 0x000000000045eb4f in forward_reply (msg=0x2abf2b37aa08) at forward.c:860 #23 0x00000000004a4c40 in receive_msg (buf=0x9239c0 "SIP/2.0 500 Internal Server Error\r\nVia: SIP/2.0/UDP 199.15.180.2;branch=z9hG4bKf8bc.516dcdb1a8cf57d84f89f07e755bb6fd.0\r\nVia: SIP/2.0/UDP 199.15.180.2;branch=z9hG4bKf8bc.5eb6a892caab927ea4f294987264b28"..., len=500, rcv_info=0x7ffffc968dc0) at receive.c:273 #24 0x000000000053b3a0 in udp_rcv_loop () at udp_server.c:536 #25 0x000000000046db70 in main_loop () at main.c:1619 #26 0x0000000000470b89 in main (argc=7, argv=0x7ffffc9691c8) at main.c:2547 (gdb) quit