Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@username:/tmp/kamailio# gdb `which kamailio` .25935.core.25935
- GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
- Copyright (C) 2014 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/local/sbin/kamailio...done.
- [New LWP 25935]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Core was generated by `/usr/local/sbin/kamailio -w /tmp/kamailio -P /var/run/kamailio/kamailio.pid -f'.
- Program terminated with signal SIGSEGV, Segmentation fault.
- #0 0x00007f248c4cef15 in send_reply (msg=0x7f2469f88d40, code=0, reason=0x7ffd775e3ab8) at sl.c:276
- 276 if(reason->s[reason->len-1]=='\0') {
- (gdb) bt full
- #0 0x00007f248c4cef15 in send_reply (msg=0x7f2469f88d40, code=0, reason=0x7ffd775e3ab8) at sl.c:276
- r = 0x0
- t = 0x0
- ret = 1
- __FUNCTION__ = "send_reply"
- #1 0x00007f24656c6549 in worker_loop (id=2) at worker.c:129
- worker = 0x7f2469a80f20
- current_job = 0x7f2469fa04f0
- peer_response = {resp_code = 0, content_type = {s = 0x0, len = 0}, reason = {s = 0x0, len = 0}, body = {s = 0x0, len = 0}}
- ret_value = 0
- not_parsed = 0
- dmq_node = 0x7f2469f22370
- __FUNCTION__ = "worker_loop"
- #2 0x00007f24656d56b3 in child_init (rank=0) at dmq.c:300
- i = 2
- newpid = 0
- __FUNCTION__ = "child_init"
- #3 0x00000000005629b3 in init_mod_child (m=0x7f248f079ba8, rank=0) at core/sr_module.c:780
- __FUNCTION__ = "init_mod_child"
- #4 0x0000000000562671 in init_mod_child (m=0x7f248f07a0c8, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #5 0x0000000000562671 in init_mod_child (m=0x7f248f07bdb8, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #6 0x0000000000562671 in init_mod_child (m=0x7f248f085b28, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #7 0x0000000000562671 in init_mod_child (m=0x7f248f090ef0, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #8 0x0000000000562671 in init_mod_child (m=0x7f248f091ea8, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #9 0x0000000000562671 in init_mod_child (m=0x7f248f0922c8, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #10 0x0000000000562671 in init_mod_child (m=0x7f248f0934a0, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #11 0x0000000000562671 in init_mod_child (m=0x7f248f09adb0, rank=0) at core/sr_module.c:776
- __FUNCTION__ = "init_mod_child"
- #12 0x00000000005630ad in init_child (rank=0) at core/sr_module.c:825
- ret = -1892100160
- type = 0x7bb393 "PROC_MAIN"
- __FUNCTION__ = "init_child"
- #13 0x0000000000426dbf in main_loop () at main.c:1753
- i = 8
- pid = 25919
- si = 0x0
- 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"
- nrprocs = 8
- woneinit = 1
- __FUNCTION__ = "main_loop"
- #14 0x000000000042e796 in main (argc=11, argv=0x7ffd775e46d8) at main.c:2802
- cfg_stream = 0x10aa010
- c = -1
- r = 0
- tmp = 0x7ffd775e4f85 ""
- tmp_len = 0
- port = 1
- proto = 32548
- ahost = 0x0
- aport = 0
- options = 0x774790 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
- ---Type <return> to continue, or q <return> to quit---
- ret = -1
- seed = 1371968140
- rfd = 4
- debug_save = 0
- debug_flag = 0
- dont_fork_cnt = 0
- n_lst = 0x7f24909a5508
- p = 0x0
- 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,
- st_atim = {tv_sec = 1587614447, tv_nsec = 532041751}, st_mtim = {tv_sec = 1587676468, tv_nsec = 477543158}, st_ctim = {tv_sec = 1587676468, tv_nsec = 477543158},
- __glibc_reserved = {0, 0, 0}}
- tbuf = '\000' <repeats 344 times>...
- option_index = 0
- 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",
- 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,
- 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,
- has_arg = 0, flag = 0x0, val = 0}}
- __FUNCTION__ = "main"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement