Hello,
can you get the backtrace. Make sure the ulimit is enough for writing a core and kamailio has written permissions in the working directory.
Cheers, Daniel
On 5/6/10 7:19 PM, Jon Bonilla (Manwe) wrote:
Hi all
I have experienced segfaults when using avp_copy in Kamailio 3.01. This happens when using the "g" flag and the avp is not null (no problem if it has no content) avp_copy("$avp(s:block_out_list)", "$avp(s:caller_block_out_list)/gd");
Removing the "g" flags works ok (but does not copy all the content of course): avp_copy("$avp(s:block_out_list)", "$avp(s:caller_block_out_list)/d");
Directly copying the avp works fine: $avp(s:caller_block_out_list) = $avp(s:block_out_list);
Logs:
kernel: [1503237.523015] kamailio[8156]: segfault at 1008eb91c ip 505344 sp 7fffffffad10 error 4 in kamailio[400000+1c9000]
WARNING:<core> [usr_avp.c:483]:AVP specified with index, but not used for search ALERT:<core> [main.c:722]: child process 8156 exited by a signal 11 ALERT:<core> [main.c:725]: core was not generated INFO:<core> [main.c:737]: INFO: terminating due to SIGCHLD INFO:<core> [main.c:788]: INFO: signal 15 received
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