{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenSIPS/opensips/issues/453","labels_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/453/comments","events_url":"https://api.github.com/repos/OpenSIPS/opensips/issues/453/events","html_url":"https://github.com/OpenSIPS/opensips/issues/453","id":67014889,"number":453,"title":"Opensips Crash on mi_fifo query (1.11.3 and 1.11.4)","user":{"login":"kneeoh","id":4306408,"avatar_url":"https://avatars.githubusercontent.com/u/4306408?v=3","gravatar_id":"","url":"https://api.github.com/users/kneeoh","html_url":"https://github.com/kneeoh","followers_url":"https://api.github.com/users/kneeoh/followers","following_url":"https://api.github.com/users/kneeoh/following{/other_user}","gists_url":"https://api.github.com/users/kneeoh/gists{/gist_id}","starred_url":"https://api.github.com/users/kneeoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneeoh/subscriptions","organizations_url":"https://api.github.com/users/kneeoh/orgs","repos_url":"https://api.github.com/users/kneeoh/repos","events_url":"https://api.github.com/users/kneeoh/events{/privacy}","received_events_url":"https://api.github.com/users/kneeoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T23:45:00Z","updated_at":"2015-04-07T23:45:00Z","closed_at":null,"body":"I am seeing crashes with both 1.11.3 and 1.11.4 when the system is under load and we perform back to back fifo get_statistics all | grep udp commands (about 10 seconds apart). Opensips will segfault.\r\n\r\nChildren = 8\r\npkgmem = 512\r\nShmem = 2048\r\n\r\nmodules:\r\ncouchbase\r\nmaxfwd\r\nmysql\r\nsl\r\nsignaling\r\njson\r\nrest_client\r\navpops\r\ntm\r\nsipmsgops\r\nrr\r\nmi_fifo\r\noptions\r\ndrouting\r\nuri\r\nbenchmark\r\n\r\nApr  7 20:29:14 osips03 /usr/local/sbin/opensips[28988]: CRITICAL:core:fm_status: different free frag. count: 2!=3 for hash 200\r\n\r\n/usr/local/sbin/opensips[28988]: CRITICAL:core:fm_status: different free frag. count: 2!=3 for hash 200\r\nwarning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff26795000\r\nCore was generated by `/usr/local/sbin/opensips -P /var/run/opensips/opensips.pid -m 1024 -M 64 -u ope'.\r\nProgram terminated with signal 11, Segmentation fault.\r\n#0  0x000000000051bde6 in fm_remove_free (n=0x7f0486fdde68, qm=0x7f0486fba010) at mem/f_malloc.c:172\r\n172             *pf=n->u.nxt_free;\r\n\r\n(gdb) bt\r\n#0  0x000000000051bde6 in fm_remove_free (n=0x7f0486fdde68, qm=0x7f0486fba010) at mem/f_malloc.c:172\r\n#1  fm_malloc (qm=0x7f0486fba010, size=72) at mem/f_malloc.c:386\r\n#2  0x00000000005227d7 in parse_headers (msg=0x7f0486fdb7c8, flags=512, next=0) at parser/msg_parser.c:315\r\n#3  0x00007f04843af74c in find_first_route (_m=0x7f0486fdb7c8) at loose.c:120\r\n#4  loose_route (_m=<optimized out>) at loose.c:894\r\n#5  0x00000000004199af in do_action (a=0x7f0486fcad68, msg=0x7f0486fdb7c8) at action.c:1836\r\n#6  0x0000000000420945 in run_action_list (a=<optimized out>, msg=0x7f0486fdb7c8) at action.c:172\r\n#7  0x00000000004a8ab8 in eval_elem (e=0x7f0486fcae48, msg=0x7f0486fdb7c8, val=0x0) at route.c:1618\r\n#8  0x00000000004a85c8 in eval_expr (e=0x7f0486fcae48, msg=0x7f0486fdb7c8, val=0x0) at route.c:1963\r\n#9  0x00000000004a85b5 in eval_expr (e=0x7f0486fcae98, msg=0x7f0486fdb7c8, val=0x0) at route.c:1984\r\n#10 0x0000000000419787 in do_action (a=0x7f0486fcb8f8, msg=0x7f0486fdb7c8) at action.c:1085\r\n#11 0x0000000000420945 in run_action_list (a=<optimized out>, msg=0x7f0486fdb7c8) at action.c:172\r\n#12 0x00000000004210c8 in run_actions (msg=0x7f0486fdb7c8, a=0x7f0486fc58f8) at action.c:137\r\n#13 run_actions (msg=0x7f0486fdb7c8, a=0x7f0486fc58f8) at action.c:191\r\n#14 run_top_route (a=0x7f0486fc58f8, msg=0x7f0486fdb7c8) at action.c:212\r\n#15 0x000000000049192f in receive_msg (buf=0x837c20 \"INVITE sip:18608281122@10.1.0.180:5060 SIP/2.0\\r\\nRecord-Route: <sip:10.1.0.56;lr;ftag=BS57jDtSF3H1p;did=d36.69b4aaa4>\\r\\nVia: SIP/2.0/UDP 10.1.0.56:5060;branch=z9hG4bKae91.dc208921.0\\r\\nVia: SI\"..., \r\n    len=<optimized out>, rcv_info=<optimized out>) at receive.c:172\r\n#16 0x00000000005149f1 in udp_rcv_loop () at udp_server.c:422\r\n#17 0x0000000000415577 in main_loop () at main.c:929\r\n#18 main (argc=<optimized out>, argv=<optimized out>) at main.c:1612\r\n\r\nI've got a back trace, but would like to send it privately please."}}