<div dir="ltr"><div>Hi,<br>I try to configure the drouting module but got an error.<br></div><div>segfault at 140 ip 00007fb2ee459051 sp 00007fff321f0190 error 4 in drouting.so[7fb2ee43c000+39000]<br></div><div><br></div><div>opensips -V<br>version: opensips 3.0.1 (x86_64/linux)<br>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>poll method support: poll, epoll, sigio_rt, select.<br>git revision: 073131cc1<br>main.c compiled on 02:46:25 Dec 24 2019 with gcc 4.8.5<br></div><div><br></div><div>gdb /usr/sbin/opensips core.31574<br>GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-115.el7<br>Copyright (C) 2013 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "x86_64-redhat-linux-gnu".<br>For bug reporting instructions, please see:<br><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...<br>Reading symbols from /usr/sbin/opensips...Reading symbols from /usr/sbin/opensips...(no debugging symbols found)...done.<br>(no debugging symbols found)...done.<br>[New LWP 31574]<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library "/lib64/libthread_db.so.1".<br>Core was generated by `/usr/sbin/opensips -DDdd -f /etc/opensips/opensips.cfg.j2 -p python3.6 /etc/ope'.<br>Program terminated with signal 11, Segmentation fault.<br>#0  0x00007f01ad156051 in do_routing () from /usr/lib64/opensips/modules/drouting.so<br>Missing separate debuginfos, use: debuginfo-install opensips-3.0.1.20191223.073131cc1-1.el7.x86_64<br>(gdb) bt full<br>#0  0x00007f01ad156051 in do_routing () from /usr/lib64/opensips/modules/drouting.so<br>No symbol table info available.<br>#1  0x000000000042f57c in do_action ()<br>No symbol table info available.<br>#2  0x0000000000434ad0 in run_action_list ()<br>No symbol table info available.<br>#3  0x0000000000466a27 in eval_expr ()<br>No symbol table info available.<br>#4  0x00000000004667a5 in eval_expr ()<br>No symbol table info available.<br>#5  0x000000000042f3ea in do_action ()<br>No symbol table info available.<br>#6  0x0000000000434ad0 in run_action_list ()<br>No symbol table info available.<br>#7  0x0000000000434bc6 in run_actions ()<br>No symbol table info available.<br>#8  0x0000000000431c28 in do_action ()<br>No symbol table info available.<br>#9  0x0000000000434ad0 in run_action_list ()<br>No symbol table info available.<br>#10 0x0000000000432896 in do_action ()<br>No symbol table info available.<br>#11 0x0000000000434ad0 in run_action_list ()<br>No symbol table info available.<br>#12 0x0000000000434db8 in run_top_route ()<br>No symbol table info available.<br>#13 0x000000000043aa84 in receive_msg ()<br>No symbol table info available.<br>#14 0x000000000056c5b0 in udp_read_req ()<br>No symbol table info available.<br>#15 0x0000000000551caa in io_wait_loop_epoll.constprop.6 ()<br>No symbol table info available.<br>#16 0x0000000000554959 in udp_start_processes ()<br>No symbol table info available.<br>#17 0x000000000041e9ef in main ()<br>No symbol table info available.<br></div><div><br></div><div>in opensips-cli dr_number_routing return result. In config get segfault</div><div><br></div><div>(opensips-cli): mi dr_number_routing partition_name=office group_id=25 number=2345<br>{<br>    "Matched Prefix": "234",<br>    "CARRIER": "dr25",<br>    "ATTRS": "D25"<br>}<br></div><div><br></div></div>