Hello!
Opensips 2.3.
Core file in attachment
The problem with aaa_radius module.
Thank you for any help.
--
С уважением, Денис.
Best regards, Denis
[BEGIN] 20.09.2017 18:01:52 root@opensips-reserv:/opensipscore# gdb /usr/local/opensips2.3/sbin/opensips core GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1 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/local/opensips2.3/sbin/opensips...done. [New LWP 1339] [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/opensips2.3/sbin/opensips -P /sock/opensipstest.pid -u opensips -w /'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f3622d99bc8 in rc_conf_int (rh=<optimized out>, optname=<optimized out>) at config.c:500 500 config.c: No such file or directory. (gdb) bt full #0 0x00007f3622d99bc8 in rc_conf_int (rh=<optimized out>, optname=<optimized out>) at config.c:500 option = <optimized out> #1 0x00007f3622d99d98 in test_config (rh=rh@entry=0x1bd4990, filename=filename@entry=0x1bc83b0 "/etc/radiusclient-ng/radiusclient.conf") at config.c:563 No locals. #2 0x00007f3622d9a1e7 in rc_read_config (filename=0x1bc83b0 "/etc/radiusclient-ng/radiusclient.conf") at config.c:457 configfd = 0x1bd45b0 buffer = "login_local\000/bin/login\000\000 flag for preauthenticated login\n\000\000ver\n\000 leave\n\000\003\000\000\000\000\000\000\000\320.A\000\000\000\000\000\070\205 f6\177\000\000\000\264!f\000\000\000\000(|*f6\177\000\000\260?\376\377\177\000\000N\277I\000\000\000\000\000\220?\376\377\177\000\000s;L\000\000\000\000\000\070\205 f6\177\000\000\060\340\233\376\377\177\000\000\227\350Bf6\177\000\000P|*f6\177\000\000\345\255@f6\177\000\000\064\005\000\000\000\000\000\000\320.A\000\000\000\000\000\220\346"... p = <optimized out> option = <optimized out> line = 81 pos = <optimized out> rh = 0x1bd4990 #3 0x00007f3622fa6cd8 in init_radius_handle () at aaa_radius.c:764 i = 0 da = 0x3 name = "i\351Bf6\177\000\000\003\000\000\000\066\177\000\000\000\341\233\376\377\177\000\000\r\b\000\000\001\000\000\000\360>If6\177\000\000\000\376\325+\225_\347\230\000\000\000\000\001\000\000\000\064\005\000\000\000\000\000\000\320.A\000\000\000\000\000\220\346\233\376\377\177", '\000' <repeats 19 times>, "\341\233\376\377\177\000\000\\\223E\000\000\000\000\000\a\000\000\000\a\000\000\000\240\352Bf6\177\000\000\260=If6\177\000\000 ?If6\177\000\000h\351Bf6\177\000\000\t\000\000\000\000\000\000\000\320.A\000\000\000\000\000\000\376\325+\225_\347\230\064\005\000\000\000\000\000\000\320.A\000\000\000\000\000\240\341\233\376\377\177\000\000"... mp = 0x7f366642e96d __FUNCTION__ = "init_radius_handle" #4 0x00007f3622fa65a1 in send_auth_fixup (param=0x7f366642ee38, param_no=1) at aaa_radius.c:571 s = 0x534 __FUNCTION__ = "send_auth_fixup" #5 0x00000000004a536e in fix_actions (a=0x7f366642e5a0) at route.c:460 t = 0x7f366642ee10 ret = 0 cmd = 0x7f36231aa1b0 <cmds+48> acmd = 0x4a5923 <fix_actions+5848> he = 0x591988 ip = {af = 0, len = 0, u = {addrl = {139871620620168, 1716074840}, addr32 = {1715658632, 32566, 1716074840, 0}, addr16 = {57224, 26178, 32566, 0, 14680, 26185, 0, 0}, addr = "\210\337Bf6\177\000\000X9If\000\000\000"}} si = 0x98e75f952bd5fe00 host = {s = 0x7ffffe9be690 "\v", len = 0} proto = 0 port = 1332 p = 0x412ed0 <_start> blh = 0x534 i = 1 s = {s = 0x7ffffe9be280 "\300\342\233\376\377\177", len = 4866230} ---Type <return> to continue, or q <return> to quit--- model = 0x0 models = {0x534, 0x412ed0 <_start>, 0x7ffffe9be2c0, 0x4a3db7 <fix_expr+245>, 0x596bd0 <__FUNCTION__.9323>} xlp = 0x534 ev_id = 32767 __FUNCTION__ = "fix_actions" #6 0x00000000004a4d9e in fix_actions (a=0x7f3666439330) at route.c:387 t = 0x7f3666439330 ret = 0 cmd = 0x7ffffe9be360 acmd = 0x4a40b6 <fix_expr+1012> he = 0x7f366642d969 ip = {af = 4271629352, len = 32767, u = {addrl = {139871620619568, 4271629280}, addr32 = {1715658032, 32566, 4271629280, 0}, addr16 = {56624, 26178, 32566, 0, 58336, 65179, 0, 0}, addr = "0\335Bf6\177\000\000\340\343\233\376\000\000\000"}} si = 0x7f366642dc98 host = {s = 0x534 <error: Cannot access memory at address 0x534>, len = 4271824} proto = 0 port = 735444480 p = 0x457e56 <fixup_str+190> blh = 0x0 i = 0 s = {s = 0x7ffffe9be3a0 "\340\343\233\376\377\177", len = 4865463} model = 0x0 models = {0x534, 0x412ed0 <_start>, 0x7ffffe9be3e0, 0x4a3db7 <fix_expr+245>, 0x7f366642d968} xlp = 0x0 ev_id = 0 __FUNCTION__ = "fix_actions" #7 0x00000000004a4d9e in fix_actions (a=0x7f366642d558) at route.c:387 t = 0x7f3666439458 ret = 0 cmd = 0x7f3624708c60 <cmds+672> acmd = 0x100000810 he = 0x7f36282da5b8 ip = {af = 4271629520, len = 32767, u = {addrl = {4473354, 4271824}, addr32 = {4473354, 0, 4271824, 0}, addr16 = {16906, 68, 0, 0, 11984, 65, 0, 0}, addr = "\nBD\000\000\000\000\000\320.A\000\000\000\000"}} si = 0x98e75f952bd5fe00 host = {s = 0x412ed0 <_start> "1\355I\211\321^H\211\342H\203\344\360PTI\307\300`>V", len = -23337328} proto = 0 port = 5000430 p = 0x534 blh = 0x7f36279d3000 i = 3 s = {s = 0x843c93 <int2str_buf+19> "13", len = 2} ---Type <return> to continue, or q <return> to quit--- model = 0x0 models = {0x573cc8, 0x200000004f, 0x7ffffe9be500, 0x7f36282da5e8, 0x7ffffe9be500} xlp = 0x7ffffe9be490 ev_id = 0 __FUNCTION__ = "fix_actions" #8 0x00000000004ab3af in fix_rls () at route.c:2044 i = 6 ret = 0 #9 0x00000000004a1cb0 in main (argc=11, argv=0x7ffffe9be698) at main.c:1263 cfg_log_stderr = 1 cfg_stream = 0x1b9e600 c = -1 r = 0 tmp = 0x7ffffe9c0865 "" tmp_len = 1826767888 port = 32566 proto = -23337376 protos_no = 2 options = 0x58bc10 "f:cCm:M:b:l:n:N:rRvdDFETSVhw:t:u:g:P:G:W:o:" ret = -1 seed = 306189351 rfd = 4 __FUNCTION__ = "main" (gdb) quit
[END] 20.09.2017 18:02:09
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users