Hello,
from the log messages, you got a core dump file. Locate it (should be in / if you haven't specified -w 'path' or solaris does not have a special directory for corefiles) and get the back trace:
gdb /path/to/kamailio /path/to/corefile
Then inside gdb execute 'bt full' and send the output here.
Cheers, Daniel
On 4/14/12 2:56 AM, Akan Technology wrote:
hello,
I am running kamailio 3.2.2 on Solaris 10 64 bit and I am getting a core dump on this statement:
$ru = "sip:" + $rU + "@" + $sel(cfg_get.registrar1.server_ip) + $sel(cfg_get.registrar1.server_port);
Here is how the variable is defined:
registrar1.server_ip = "xxx.xxx.xxx.xxx" desc "Registrar server IP address" registrar1.server_port = "5080" desc "Registrar server Port"
Here is the output from the logs with debug:
10(25373) ERROR: *** cfgtrace: c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=1072 a=65 n=assign 10(25373) DEBUG: <core> [select.c:424]: Calling SELECT 1004b2bc0 10(25373) DEBUG: <core> [select.c:424]: Calling SELECT 1004b4da0 10(25373) ERROR: *** cfgtrace:14(25377) : <core> [pass_fd.c:293]: ERROR: receive_fd: EOF on 22 14(25377) DEBUG: <core> [tcp_main.c:3555]: DBG: handle_ser_child: dead child 10, pid 25373 (shutting down?) 14(25377) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del (1003738b8, 22, 0, 0x0) fd_no=18 called 14(25377) DEBUG: <core> [tcp_main.c:3316]: DBG: handle_tcp_child: dead tcp child 0 (pid 25373, no 10) (shutting down?) 14(25377) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del (1003738b8, 24, 1, 0x0) fd_no=17 called 0(25363) ALERT: <core> [main.c:751]: child process 25373 exited by a signal 11 0(25363) ALERT: <core> [main.c:754]: core was generated 0(25363) INFO: <core> [main.c:766]: INFO: terminating due to SIGCHLD 14(25377) INFO: <core> [main.c:817]: INFO: signal 15 received
Here is the full route code:
route[TO_REGISTRAR] {
# check if Registrar server's IP is defined if (strempty($sel(cfg_get.registrar1.server_ip))) { xlog("SCRIPT: REGISTRAR - registrar1.server_ip not
defined\n"); return;
} $ru = "sip:" + $rU + "@" + $sel(cfg_get.registrar1.server_ip)
":" + $sel(cfg_get.registrar1.server_port);
route(RELAY); exit;
} # End of TO_Registrar Route
I am trying to setup the proxy server to route all registers requests to another kamailio server
Thanks
Nathaniel
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users