[sr-dev] [kamailio/kamailio] Segmentation fault when using http_hdr with http_async_client (#760)

AlainDubois78 notifications at github.com
Mon Aug 29 17:29:24 CEST 2016


Here you are:
#0  0x0000000000000000 in ?? ()
#1  0x00007f1a90b8f3b3 in w_pv_parse_hdr_name (sp=0x7f1a9f82b128, in=0x7ffcf7e142b0) at http_async_client_mod.c:681
#2  0x00000000004d382f in pv_parse_spec2 (in=in at entry=0x7f1a9f82b110, e=e at entry=0x7f1a9f82b128, silent=silent at entry=0) at pvapi.c:873
#3  0x00000000004d5e61 in pv_cache_add (name=name at entry=0x7ffcf7e143b0) at pvapi.c:282
#4  0x00000000004d65cb in pv_cache_get (name=name at entry=0x9ffbb0 <s_tmp>) at pvapi.c:356
#5  0x0000000000668025 in yyparse () at cfg.y:2596
#6  0x000000000042362a in main (argc=6, argv=0x7ffcf7e14ef8) at main.c:2119

(gdb) up
#1  0x00007f1a90b8f3b3 in w_pv_parse_hdr_name (sp=0x7f1a9f82b128, in=0x7ffcf7e142b0) at http_async_client_mod.c:681
681             return pv_api.parse_hdr_name(sp, in);

Note that I'm not using the latest version of http_async_client yet.
I verifyed that sp and in are correct but actually pv_api is not:
print pv_api
$1 = {get_reason = 0x0, get_hdr = 0x0, parse_hdr_name = 0x0, get_status = 0x0, get_msg_body = 0x0, get_body_size = 0x0, get_msg_buf = 0x0, get_msg_len = 0x0}


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/760#issuecomment-243158993
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160829/0078f008/attachment.html>


More information about the sr-dev mailing list