Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.44 KB | None | 0 0
  1. root@username:/tmp/kamailio# gdb `which kamailio` .25935.core.25935
  2. GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
  3. Copyright (C) 2014 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from /usr/local/sbin/kamailio...done.
  17. [New LWP 25935]
  18. [Thread debugging using libthread_db enabled]
  19. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  20. Core was generated by `/usr/local/sbin/kamailio -w /tmp/kamailio -P /var/run/kamailio/kamailio.pid -f'.
  21. Program terminated with signal SIGSEGV, Segmentation fault.
  22. #0 0x00007f248c4cef15 in send_reply (msg=0x7f2469f88d40, code=0, reason=0x7ffd775e3ab8) at sl.c:276
  23. 276 if(reason->s[reason->len-1]=='\0') {
  24. (gdb) bt full
  25. #0 0x00007f248c4cef15 in send_reply (msg=0x7f2469f88d40, code=0, reason=0x7ffd775e3ab8) at sl.c:276
  26. r = 0x0
  27. t = 0x0
  28. ret = 1
  29. __FUNCTION__ = "send_reply"
  30. #1 0x00007f24656c6549 in worker_loop (id=2) at worker.c:129
  31. worker = 0x7f2469a80f20
  32. current_job = 0x7f2469fa04f0
  33. peer_response = {resp_code = 0, content_type = {s = 0x0, len = 0}, reason = {s = 0x0, len = 0}, body = {s = 0x0, len = 0}}
  34. ret_value = 0
  35. not_parsed = 0
  36. dmq_node = 0x7f2469f22370
  37. __FUNCTION__ = "worker_loop"
  38. #2 0x00007f24656d56b3 in child_init (rank=0) at dmq.c:300
  39. i = 2
  40. newpid = 0
  41. __FUNCTION__ = "child_init"
  42. #3 0x00000000005629b3 in init_mod_child (m=0x7f248f079ba8, rank=0) at core/sr_module.c:780
  43. __FUNCTION__ = "init_mod_child"
  44. #4 0x0000000000562671 in init_mod_child (m=0x7f248f07a0c8, rank=0) at core/sr_module.c:776
  45. __FUNCTION__ = "init_mod_child"
  46. #5 0x0000000000562671 in init_mod_child (m=0x7f248f07bdb8, rank=0) at core/sr_module.c:776
  47. __FUNCTION__ = "init_mod_child"
  48. #6 0x0000000000562671 in init_mod_child (m=0x7f248f085b28, rank=0) at core/sr_module.c:776
  49. __FUNCTION__ = "init_mod_child"
  50. #7 0x0000000000562671 in init_mod_child (m=0x7f248f090ef0, rank=0) at core/sr_module.c:776
  51. __FUNCTION__ = "init_mod_child"
  52. #8 0x0000000000562671 in init_mod_child (m=0x7f248f091ea8, rank=0) at core/sr_module.c:776
  53. __FUNCTION__ = "init_mod_child"
  54. #9 0x0000000000562671 in init_mod_child (m=0x7f248f0922c8, rank=0) at core/sr_module.c:776
  55. __FUNCTION__ = "init_mod_child"
  56. #10 0x0000000000562671 in init_mod_child (m=0x7f248f0934a0, rank=0) at core/sr_module.c:776
  57. __FUNCTION__ = "init_mod_child"
  58. #11 0x0000000000562671 in init_mod_child (m=0x7f248f09adb0, rank=0) at core/sr_module.c:776
  59. __FUNCTION__ = "init_mod_child"
  60. #12 0x00000000005630ad in init_child (rank=0) at core/sr_module.c:825
  61. ret = -1892100160
  62. type = 0x7bb393 "PROC_MAIN"
  63. __FUNCTION__ = "init_child"
  64. #13 0x0000000000426dbf in main_loop () at main.c:1753
  65. i = 8
  66. pid = 25919
  67. si = 0x0
  68. si_desc = "udp receiver child=7 sock=172.31.3.248:5060 (9.8.7.123:5060)\000\000\000\000 \000\000\000\000\000\000\000\001\000\000\000\000\006\000\000\000\000\000\000\000o\023\n\220$\177\000\000PA^w\375\177\000\000\060\000\000\000\060\000\000\000\020B^w\375\177\000\000hf7\217$\177\000"
  69. nrprocs = 8
  70. woneinit = 1
  71. __FUNCTION__ = "main_loop"
  72. #14 0x000000000042e796 in main (argc=11, argv=0x7ffd775e46d8) at main.c:2802
  73. cfg_stream = 0x10aa010
  74. c = -1
  75. r = 0
  76. tmp = 0x7ffd775e4f85 ""
  77. tmp_len = 0
  78. port = 1
  79. proto = 32548
  80. ahost = 0x0
  81. aport = 0
  82. options = 0x774790 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
  83. ---Type <return> to continue, or q <return> to quit---
  84. ret = -1
  85. seed = 1371968140
  86. rfd = 4
  87. debug_save = 0
  88. debug_flag = 0
  89. dont_fork_cnt = 0
  90. n_lst = 0x7f24909a5508
  91. p = 0x0
  92. st = {st_dev = 15, st_ino = 13588, st_nlink = 2, st_mode = 16832, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 40, st_blksize = 4096, st_blocks = 0,
  93. st_atim = {tv_sec = 1587614447, tv_nsec = 532041751}, st_mtim = {tv_sec = 1587676468, tv_nsec = 477543158}, st_ctim = {tv_sec = 1587676468, tv_nsec = 477543158},
  94. __glibc_reserved = {0, 0, 0}}
  95. tbuf = '\000' <repeats 344 times>...
  96. option_index = 0
  97. long_options = {{name = 0x77730a "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x77102c "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x77730f "alias",
  98. has_arg = 1, flag = 0x0, val = 1024}, {name = 0x777315 "subst", has_arg = 1, flag = 0x0, val = 1025}, {name = 0x77731b "substdef", has_arg = 1, flag = 0x0,
  99. val = 1026}, {name = 0x777324 "substdefs", has_arg = 1, flag = 0x0, val = 1027}, {name = 0x77732e "server-id", has_arg = 1, flag = 0x0, val = 1028}, {name = 0x0,
  100. has_arg = 0, flag = 0x0, val = 0}}
  101. __FUNCTION__ = "main"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement