[OpenSIPS-Devel] [opensips] 1.11.3 crashes when using request context from the onreply_route (#388)

gergelypeli notifications at github.com
Wed Nov 26 14:35:03 CET 2014


I just tried using $(<request>ru) in an xlog from the onreply_route (should work according to the Core Variables doc page), but got a crash:

#0  tm_pv_context_request (msg=<optimized out>) at tm.c:1645
#1  0x0000000000449ca2 in pv_get_spec_value (msg=0x7f8a1dec19d0, sp=0x7f8a1deb5b10, value=0x7fff2089c740) at pvar.c:3907
#2  0x000000000044c9b0 in pv_printf (msg=0x7f8a1dec19d0, list=<optimized out>, buf=<optimized out>, len=0x7fff2089c7ec) at pvar.c:3992
#3  0x000000000049f0f0 in xl_print_log (msg=0x7f8a1dec19d0, list=0x7f8a1deb5b00, len=0x7fff2089c7ec) at xlog.c:67
#4  0x000000000049f364 in xlog_1 (msg=0x7f8a1dec19d0, frm=0x7f8a1deb5b10 "\016", str2=<optimized out>) at xlog.c:116
#5  0x0000000000419308 in do_action (a=0x7f8a1deb5da8, msg=0x7f8a1dec19d0) at action.c:1626
#6  0x0000000000413a10 in run_action_list (a=<optimized out>, msg=0x7f8a1dec19d0) at action.c:171
#7  0x0000000000418fc2 in do_action (a=0x7f8a1deb6160, msg=0x7f8a1dec19d0) at action.c:1103
#8  0x0000000000413a10 in run_action_list (a=<optimized out>, msg=0x7f8a1dec19d0) at action.c:171
#9  0x0000000000419e02 in do_action (a=0x7f8a1deb6238, msg=0x7f8a1dec19d0) at action.c:1109
#10 0x0000000000413a10 in run_action_list (a=<optimized out>, msg=0x7f8a1dec19d0) at action.c:171
#11 0x000000000041abf8 in run_actions (msg=<optimized out>, a=<optimized out>) at action.c:136
#12 run_top_route (a=0x7f8a1deb6238, msg=0x7f8a1dec19d0) at action.c:211
#13 0x0000000000453a04 in receive_msg (
    buf=0x7756a0 "SIP/2.0 100 Trying\r\nVia: SIP/2.0/UDP"..., len=527, rcv_info=<optimized out>)
    at receive.c:206
#14 0x000000000049b414 in udp_rcv_loop () at udp_server.c:424
#15 0x000000000042f17b in main_loop () at main.c:942
#16 main (argc=<optimized out>, argv=<optimized out>) at main.c:1634

Reproducible always. The version is:

version: opensips 1.11.3-notls (x86_64/linux)
flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: dee7da4
main.c compiled on 13:17:30 Oct 15 2014 with gcc 4.4.5


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20141126/6cf8edf7/attachment.htm>


More information about the Devel mailing list