Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@c8e6517edca4:/# gdb /usr/sbin/kam
- kamailio kambdb_recover kamcmd kamctl kamdbctl
- root@c8e6517edca4:/# gdb /usr/sbin/kamailio /core
- GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
- Copyright (C) 2016 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".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from /usr/sbin/kamailio...Reading symbols from /usr/lib/debug/.build-id/cd/7da02a0704d8f73e9b18661b298eb25ba46b0c.debug...done.
- done.
- [New LWP 18]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Core was generated by `kamailio -DD -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m'.
- Program terminated with signal SIGABRT, Aborted.
- #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
- 51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
- (gdb) backtrace
- #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
- #1 0x00007f1d4b4c042a in __GI_abort () at abort.c:89
- #2 0x00007f1d4b4fcc00 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f1d4b5f0544 "*** %s ***: %s terminated\n")
- at ../sysdeps/posix/libc_fatal.c:175
- #3 0x00007f1d4b585437 in __GI___fortify_fail (msg=msg@entry=0x7f1d4b5f052c "stack smashing detected") at fortify_fail.c:30
- #4 0x00007f1d4b585400 in __stack_chk_fail () at stack_chk_fail.c:28
- #5 0x00007f1d40724ca2 in ki_autheph_authenticate (_m=0x7ffe004e45d0, susername=0x7ffe004e3df0, spassword=0x7ffe004e3e00) at authorize.c:526
- #6 0x00007f1d4924d2f0 in sr_apy_kemi_exec_func (self=0x7f1d4bd02a48, args=0x7f1d2efe8e48, idx=332) at apy_kemi.c:489
- #7 0x00007f1d49239050 in sr_apy_kemi_exec_func_332 (self=0x7f1d4bd02a48, args=0x7f1d2efe8e48) at apy_kemi_export.c:2699
- #8 0x00007f1d48c0d259 in PyCFunction_Call () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #9 0x00007f1d48d3e739 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #10 0x00007f1d48e00074 in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #11 0x00007f1d48e00153 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #12 0x00007f1d48c93558 in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #13 0x00007f1d48d6fa37 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #14 0x00007f1d48dbb95c in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #15 0x00007f1d48d6fa37 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #16 0x00007f1d48dfeb77 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
- #17 0x00007f1d49269e73 in apy_exec (_msg=0x7ffe004e45d0, fname=0x7f1d49586d48 "http_event_route", fparam=0x7f1d350feb28 "xhttp:request", emode=0)
- at python_exec.c:139
- #18 0x00007f1d49240868 in sr_kemi_config_engine_python (msg=0x7ffe004e45d0, rtype=513, rname=0x7f1d35302540 <xhttp_event_callback>, rparam=0x7ffe004e44e0)
- at apy_kemi.c:93
- #19 0x000055eb61cab64c in sr_kemi_route (keng=0x55eb6228cf60 <_sr_kemi_eng_list>, msg=0x7ffe004e45d0, rtype=513, ename=0x7f1d35302540 <xhttp_event_callback>,
- edata=0x7ffe004e44e0) at core/kemi.c:2421
- #20 0x00007f1d350f7c66 in xhttp_process_request (orig_msg=0x7f1d495d2d58,
- new_buf=0x7f1d495bf680 "GET /ws/ HTTP/1.1\r\nVia: SIP/2.0/TCP 172.26.0.1:38210\r\nHost: localhost:5060\r\nConnection: Upgrade\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nUpgrade: websocket\r\nOrigin: http://localhost:4200\r\nSec-WebSo"..., new_len=589) at xhttp_mod.c:305
- #21 0x00007f1d350f910f in xhttp_handler (msg=0x7f1d495d2d58) at xhttp_mod.c:383
- #22 0x000055eb61d3a01e in nonsip_msg_run_hooks (msg=0x7f1d495d2d58) at core/nonsip_hooks.c:111
- #23 0x000055eb61d85a90 in receive_msg (
- buf=0x55eb634071f0 "GET /ws/ HTTP/1.1\r\nHost: localhost:5060\r\nConnection: Upgrade\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nUpgrade: websocket\r\nOrigin: http://localhost:4200\r\nSec-WebSocket-Version: 13\r\nUser-Agent: Mozil"..., len=554, rcv_info=0x7f1d3814cb70) at core/receive.c:263
- #24 0x000055eb61e26eb5 in receive_tcp_msg (
- tcpbuf=0x7f1d3814ce50 "GET /ws/ HTTP/1.1\r\nHost: localhost:5060\r\nConnection: Upgrade\r\nPragma: no-cache\r\nCache-Control: no-cache\r\nUpgrade: websocket\r\nOrigin: http://localhost:4200\r\nSec-WebSocket-Version: 13\r\nUser-Agent: Mozil"..., len=554, rcv_info=0x7f1d3814cb70, con=0x7f1d3814cb58)
- at core/tcp_read.c:1448
- #25 0x000055eb61e29192 in tcp_read_req (con=0x7f1d3814cb58, bytes_read=0x7ffe004e5238, read_flags=0x7ffe004e523c) at core/tcp_read.c:1631
- #26 0x000055eb61e2c147 in handle_io (fm=0x7f1d495c0300, events=1, idx=-1) at core/tcp_read.c:1804
- #27 0x000055eb61e196ad in io_wait_loop_epoll (h=0x55eb622e71a0 <io_w>, t=2, repeat=0) at core/io_wait.h:1065
- ---Type <return> to continue, or q <return> to quit---
- #28 0x000055eb61e2e18f in tcp_receive_loop (unix_sock=29) at core/tcp_read.c:1974
- #29 0x000055eb61d003b3 in tcp_init_children () at core/tcp_main.c:4853
- #30 0x000055eb61bfa86d in main_loop () at main.c:1745
- #31 0x000055eb61c0199d in main (argc=14, argv=0x7ffe004e58d8) at main.c:2696
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement