Advertisement
Guest User

kamailio_stacksmash_52

a guest
May 7th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
GDB 5.64 KB | None | 0 0
  1. root@c8e6517edca4:/# gdb /usr/sbin/kam
  2. kamailio        kambdb_recover  kamcmd          kamctl          kamdbctl        
  3. root@c8e6517edca4:/# gdb /usr/sbin/kamailio /core
  4. GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
  5. Copyright (C) 2016 Free Software Foundation, Inc.
  6. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  7. This is free software: you are free to change and redistribute it.
  8. There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  9. and "show warranty" for details.
  10. This GDB was configured as "x86_64-linux-gnu".
  11. Type "show configuration" for configuration details.
  12. For bug reporting instructions, please see:
  13. <http://www.gnu.org/software/gdb/bugs/>.
  14. Find the GDB manual and other documentation resources online at:
  15. <http://www.gnu.org/software/gdb/documentation/>.
  16. For help, type "help".
  17. Type "apropos word" to search for commands related to "word"...
  18. Reading symbols from /usr/sbin/kamailio...Reading symbols from /usr/lib/debug/.build-id/cd/7da02a0704d8f73e9b18661b298eb25ba46b0c.debug...done.
  19. done.
  20. [New LWP 18]
  21. [Thread debugging using libthread_db enabled]
  22. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  23. Core was generated by `kamailio -DD -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -m'.
  24. Program terminated with signal SIGABRT, Aborted.
  25. #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
  26. 51  ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
  27. (gdb) backtrace
  28. #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
  29. #1  0x00007f1d4b4c042a in __GI_abort () at abort.c:89
  30. #2  0x00007f1d4b4fcc00 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f1d4b5f0544 "*** %s ***: %s terminated\n")
  31.     at ../sysdeps/posix/libc_fatal.c:175
  32. #3  0x00007f1d4b585437 in __GI___fortify_fail (msg=msg@entry=0x7f1d4b5f052c "stack smashing detected") at fortify_fail.c:30
  33. #4  0x00007f1d4b585400 in __stack_chk_fail () at stack_chk_fail.c:28
  34. #5  0x00007f1d40724ca2 in ki_autheph_authenticate (_m=0x7ffe004e45d0, susername=0x7ffe004e3df0, spassword=0x7ffe004e3e00) at authorize.c:526
  35. #6  0x00007f1d4924d2f0 in sr_apy_kemi_exec_func (self=0x7f1d4bd02a48, args=0x7f1d2efe8e48, idx=332) at apy_kemi.c:489
  36. #7  0x00007f1d49239050 in sr_apy_kemi_exec_func_332 (self=0x7f1d4bd02a48, args=0x7f1d2efe8e48) at apy_kemi_export.c:2699
  37. #8  0x00007f1d48c0d259 in PyCFunction_Call () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  38. #9  0x00007f1d48d3e739 in PyEval_EvalFrameEx () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  39. #10 0x00007f1d48e00074 in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  40. #11 0x00007f1d48e00153 in PyEval_EvalCodeEx () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  41. #12 0x00007f1d48c93558 in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  42. #13 0x00007f1d48d6fa37 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  43. #14 0x00007f1d48dbb95c in ?? () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  44. #15 0x00007f1d48d6fa37 in PyObject_Call () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  45. #16 0x00007f1d48dfeb77 in PyEval_CallObjectWithKeywords () from /usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0
  46. #17 0x00007f1d49269e73 in apy_exec (_msg=0x7ffe004e45d0, fname=0x7f1d49586d48 "http_event_route", fparam=0x7f1d350feb28 "xhttp:request", emode=0)
  47.     at python_exec.c:139
  48. #18 0x00007f1d49240868 in sr_kemi_config_engine_python (msg=0x7ffe004e45d0, rtype=513, rname=0x7f1d35302540 <xhttp_event_callback>, rparam=0x7ffe004e44e0)
  49.     at apy_kemi.c:93
  50. #19 0x000055eb61cab64c in sr_kemi_route (keng=0x55eb6228cf60 <_sr_kemi_eng_list>, msg=0x7ffe004e45d0, rtype=513, ename=0x7f1d35302540 <xhttp_event_callback>,
  51.     edata=0x7ffe004e44e0) at core/kemi.c:2421
  52. #20 0x00007f1d350f7c66 in xhttp_process_request (orig_msg=0x7f1d495d2d58,
  53.     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
  54. #21 0x00007f1d350f910f in xhttp_handler (msg=0x7f1d495d2d58) at xhttp_mod.c:383
  55. #22 0x000055eb61d3a01e in nonsip_msg_run_hooks (msg=0x7f1d495d2d58) at core/nonsip_hooks.c:111
  56. #23 0x000055eb61d85a90 in receive_msg (
  57.     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
  58. #24 0x000055eb61e26eb5 in receive_tcp_msg (
  59.     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)
  60.     at core/tcp_read.c:1448
  61. #25 0x000055eb61e29192 in tcp_read_req (con=0x7f1d3814cb58, bytes_read=0x7ffe004e5238, read_flags=0x7ffe004e523c) at core/tcp_read.c:1631
  62. #26 0x000055eb61e2c147 in handle_io (fm=0x7f1d495c0300, events=1, idx=-1) at core/tcp_read.c:1804
  63. #27 0x000055eb61e196ad in io_wait_loop_epoll (h=0x55eb622e71a0 <io_w>, t=2, repeat=0) at core/io_wait.h:1065
  64. ---Type <return> to continue, or q <return> to quit---
  65. #28 0x000055eb61e2e18f in tcp_receive_loop (unix_sock=29) at core/tcp_read.c:1974
  66. #29 0x000055eb61d003b3 in tcp_init_children () at core/tcp_main.c:4853
  67. #30 0x000055eb61bfa86d in main_loop () at main.c:1745
  68. #31 0x000055eb61c0199d in main (argc=14, argv=0x7ffe004e58d8) at main.c:2696
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement