{"action":"created","issue":{"url":"https://api.github.com/repos/alanxz/rabbitmq-c/issues/287","labels_url":"https://api.github.com/repos/alanxz/rabbitmq-c/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/alanxz/rabbitmq-c/issues/287/comments","events_url":"https://api.github.com/repos/alanxz/rabbitmq-c/issues/287/events","html_url":"https://github.com/alanxz/rabbitmq-c/issues/287","id":97746397,"number":287,"title":"amqp_basic_qos throws SIGSEGV","user":{"login":"reapy","id":13541948,"avatar_url":"https://avatars.githubusercontent.com/u/13541948?v=3","gravatar_id":"","url":"https://api.github.com/users/reapy","html_url":"https://github.com/reapy","followers_url":"https://api.github.com/users/reapy/followers","following_url":"https://api.github.com/users/reapy/following{/other_user}","gists_url":"https://api.github.com/users/reapy/gists{/gist_id}","starred_url":"https://api.github.com/users/reapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reapy/subscriptions","organizations_url":"https://api.github.com/users/reapy/orgs","repos_url":"https://api.github.com/users/reapy/repos","events_url":"https://api.github.com/users/reapy/events{/privacy}","received_events_url":"https://api.github.com/users/reapy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-28T16:21:23Z","updated_at":"2015-07-29T05:07:44Z","closed_at":null,"body":"Hi, I have a problem. I'm using rabbitmq-c in version 0.7.0,\r\nwhen producer call amqp_queue_delete and than start pushing new messages and consumer try to get some values from producer (in the same time) gets SIGSEGV on amqp_basic_qos function:\r\n\r\n```\r\n#0  0x00007fffef30b175 in amqp_socket_send (flags=0, len=19, buf=0x8a4e00, self=0x652f2f3a70747468) at librabbitmq/amqp_socket.c:209\r\n#1  amqp_try_send (state=state@entry=0xf992170, buf=<optimized out>, len=19, deadline=..., flags=flags@entry=0)\r\n    at librabbitmq/amqp_socket.c:372\r\n#2  0x00007fffef30a8b1 in amqp_send_frame_inner (state=0xf992170, frame=frame@entry=0x7fffd0ff7e30, flags=flags@entry=0)\r\n    at librabbitmq/amqp_connection.c:557\r\n#3  0x00007fffef30c060 in amqp_send_method_inner (flags=0, decoded=<optimized out>, id=<optimized out>, channel=<optimized out>, state=<optimized out>)\r\n    at librabbitmq/amqp_socket.c:1026\r\n#4  amqp_send_method (state=state@entry=0xf992170, channel=channel@entry=1, id=id@entry=3932170, decoded=decoded@entry=0x7fffd0ff7f40)\r\n    at librabbitmq/amqp_socket.c:1014\r\n#5  0x00007fffef30c0ef in amqp_simple_rpc (state=state@entry=0xf992170, channel=1, request_id=request_id@entry=3932170, expected_reply_ids=expected_reply_ids@entry=0x7fffd0ff7f20, \r\n    decoded_request_method=decoded_request_method@entry=0x7fffd0ff7f40) at librabbitmq/amqp_socket.c:1051\r\n#6  0x00007fffef30c31e in amqp_simple_rpc_decoded (state=0xf992170, channel=<optimized out>, request_id=request_id@entry=3932170, reply_id=reply_id@entry=3932171, \r\n    decoded_request_method=decoded_request_method@entry=0x7fffd0ff7f40) at librabbitmq/amqp_socket.c:1142\r\n#7  0x00007fffef3096a6 in amqp_basic_qos (state=<optimized out>, channel=<optimized out>, prefetch_size=<optimized out>, prefetch_count=<optimized out>, global=<optimized out>)\r\n    at librabbitmq/amqp_framing.c:2259\r\n```\r\n\r\nDo you have any idea why it's happened?"},"comment":{"url":"https://api.github.com/repos/alanxz/rabbitmq-c/issues/comments/125845916","html_url":"https://github.com/alanxz/rabbitmq-c/issues/287#issuecomment-125845916","issue_url":"https://api.github.com/repos/alanxz/rabbitmq-c/issues/287","id":125845916,"user":{"login":"reapy","id":13541948,"avatar_url":"https://avatars.githubusercontent.com/u/13541948?v=3","gravatar_id":"","url":"https://api.github.com/users/reapy","html_url":"https://github.com/reapy","followers_url":"https://api.github.com/users/reapy/followers","following_url":"https://api.github.com/users/reapy/following{/other_user}","gists_url":"https://api.github.com/users/reapy/gists{/gist_id}","starred_url":"https://api.github.com/users/reapy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reapy/subscriptions","organizations_url":"https://api.github.com/users/reapy/orgs","repos_url":"https://api.github.com/users/reapy/repos","events_url":"https://api.github.com/users/reapy/events{/privacy}","received_events_url":"https://api.github.com/users/reapy/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T05:07:44Z","updated_at":"2015-07-29T05:07:44Z","body":"Yes. "}}