{"action":"created","issue":{"url":"https://api.github.com/repos/kamailio/kamailio/issues/432","labels_url":"https://api.github.com/repos/kamailio/kamailio/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/kamailio/kamailio/issues/432/comments","events_url":"https://api.github.com/repos/kamailio/kamailio/issues/432/events","html_url":"https://github.com/kamailio/kamailio/issues/432","id":120826620,"number":432,"title":"crash on using http_query","user":{"login":"jayesh1017","id":1032181,"avatar_url":"https://avatars.githubusercontent.com/u/1032181?v=3","gravatar_id":"","url":"https://api.github.com/users/jayesh1017","html_url":"https://github.com/jayesh1017","followers_url":"https://api.github.com/users/jayesh1017/followers","following_url":"https://api.github.com/users/jayesh1017/following{/other_user}","gists_url":"https://api.github.com/users/jayesh1017/gists{/gist_id}","starred_url":"https://api.github.com/users/jayesh1017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayesh1017/subscriptions","organizations_url":"https://api.github.com/users/jayesh1017/orgs","repos_url":"https://api.github.com/users/jayesh1017/repos","events_url":"https://api.github.com/users/jayesh1017/events{/privacy}","received_events_url":"https://api.github.com/users/jayesh1017/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-12-07T17:29:40Z","updated_at":"2015-12-14T15:36:41Z","closed_at":"2015-12-14T15:36:41Z","body":"tried doing a post on a https URL and kamailio crashes as soon as it receives a 200 response. Kamailio continues processing the response is error but on a successful response it crashes. Here's the backtrace from the core:\r\n```\r\n0x00007f62f2bf8e38 in ?? ()\r\n#1  0x00007f62ea22251b in http_query (_m=0x7f62f2c3a038,\r\n_url=0x7f62f2bf3548 \"\\330\\064\\277\\362b\\177\", _dst=0x7f62f2bf9250\r\n\"\\030\\215\\277\\362b\\177\", _post=0x7f62f2bf35c8 \"\\200r\\277\\362b\\177\",\r\n    _hdr=0x7f62f2bf91d0 \"h\\221\\277\\362b\\177\") at functions.c:226\r\n#2  0x00007f62ea229e0b in w_http_query_post_hdr (_m=0x7f62f2c3a038,\r\n_url=0x7f62f2bf3548 \"\\330\\064\\277\\362b\\177\", _post=0x7f62f2bf35c8\r\n\"\\200r\\277\\362b\\177\", _hdr=0x7f62f2bf91d0 \"h\\221\\277\\362b\\177\",\r\n    _result=0x7f62f2bf9250 \"\\030\\215\\277\\362b\\177\") at utils.c:483\r\n#3  0x000000000041f6b5 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2bf8a58,\r\nmsg=0x7f62f2c3a038) at action.c:1079\r\n#4  0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2bf6fc0,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#5  0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2bfb9b0,\r\nmsg=0x7f62f2c3a038) at action.c:1045\r\n#6  0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2bb9388,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#7  0x000000000041bc28 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b8f248,\r\nmsg=0x7f62f2c3a038) at action.c:678\r\n#8  0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b8e268,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#9  0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b91040,\r\nmsg=0x7f62f2c3a038) at action.c:1045\r\n#10 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b8b7a8,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#11 0x000000000041bc28 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b3a2c0,\r\nmsg=0x7f62f2c3a038) at action.c:678\r\n#12 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b3a2c0,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#13 0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b47f00,\r\nmsg=0x7f62f2c3a038) at action.c:1045\r\n#14 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b37e80,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#15 0x000000000041bc28 in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b1c9c8,\r\nmsg=0x7f62f2c3a038) at action.c:678\r\n#16 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b1c9c8,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#17 0x000000000041f3ce in do_action (h=0x7ffeb128c8c0, a=0x7f62f2b1cc28,\r\nmsg=0x7f62f2c3a038) at action.c:1045\r\n#18 0x000000000042c2ea in run_actions (h=0x7ffeb128c8c0, a=0x7f62f2b170a0,\r\nmsg=0x7f62f2c3a038) at action.c:1549\r\n#19 0x000000000042ca93 in run_top_route (a=0x7f62f2b170a0,\r\nmsg=0x7f62f2c3a038, c=0x0) at action.c:1635\r\n#20 0x000000000051c115 in receive_msg (\r\n    buf=0xab7520 <buf> \"INVITE\r\nsip:bdbbf600000001b5b919d0 at devsip.abcd.com:8321 SIP/2.0\\r\\nRecord-Route:\r\n<sip:203.153.53.145:8300;r2=on;lr=on>\\r\\nRecord-Route:\r\n<sip:203.153.53.145:8321;transport=tcp;r2=on;lr=on>\\r\\nVia:\r\nSIP/2.0/UDP\"..., len=1901, rcv_info=0x7ffeb128cc10) at receive.c:196\r\n#21 0x000000000062d427 in udp_rcv_loop () at udp_server.c:495\r\n#22 0x00000000004b28c1 in main_loop () at main.c:1593\r\n#23 0x00000000004b9aa5 in main (argc=5, argv=0x7ffeb128d118) at main.c:2597\r\n```"},"comment":{"url":"https://api.github.com/repos/kamailio/kamailio/issues/comments/164469465","html_url":"https://github.com/kamailio/kamailio/issues/432#issuecomment-164469465","issue_url":"https://api.github.com/repos/kamailio/kamailio/issues/432","id":164469465,"user":{"login":"miconda","id":184809,"avatar_url":"https://avatars.githubusercontent.com/u/184809?v=3","gravatar_id":"","url":"https://api.github.com/users/miconda","html_url":"https://github.com/miconda","followers_url":"https://api.github.com/users/miconda/followers","following_url":"https://api.github.com/users/miconda/following{/other_user}","gists_url":"https://api.github.com/users/miconda/gists{/gist_id}","starred_url":"https://api.github.com/users/miconda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miconda/subscriptions","organizations_url":"https://api.github.com/users/miconda/orgs","repos_url":"https://api.github.com/users/miconda/repos","events_url":"https://api.github.com/users/miconda/events{/privacy}","received_events_url":"https://api.github.com/users/miconda/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T15:36:41Z","updated_at":"2015-12-14T15:36:41Z","body":"Closing this one as it seems to be fixed. If still an issue, reopen with new details."}}