[rabbitmq-discuss] [rabbitmq_c] Infinite wait in login_with_properties function
Alan Antonuk
alan.antonuk at gmail.com
Thu Dec 26 03:22:20 GMT 2013
How frequently does this happen?
Is it something you can reliably reproduce?
-Alan
On Mon, Dec 23, 2013 at 12:12 AM, Haster <haster2004 at yandex.ru> wrote:
> Hi there!
>
> Today I have caught a bug that my program could not stop.
> I used a gdb and found that application was on recv method. Call stack:
>
> #0 0x0000003435c0dc81 in recv () from /lib64/libpthread.so.0
> #1 0x00002aaaad84ead1 in ?? () from
> /import/home/yury.alioshinov/linux_i686/5102/lib/librabbitmq_c.so.1.1.1
> #2 0x00002aaaad84be83 in ?? () from
> /import/home/yury.alioshinov/linux_i686/5102/lib/librabbitmq_c.so.1.1.1
> #3 0x00002aaaad84c19e in ?? () from
> /import/home/yury.alioshinov/linux_i686/5102/lib/librabbitmq_c.so.1.1.1
> #4 0x00002aaaad84c72c in amqp_simple_wait_method ()
> from
> /import/home/yury.alioshinov/linux_i686/5102/lib/librabbitmq_c.so.1.1.1
> #5 0x00002aaaad84cab6 in ?? () from
> /import/home/yury.alioshinov/linux_i686/5102/lib/librabbitmq_c.so.1.1.1
> #6 0x00002aaaad84ce8a in amqp_login_with_properties ()
> from
> /import/home/yury.alioshinov/linux_i686/5102/lib/librabbitmq_c.so.1.1.1
> #7 0x00002aaaad626313 in RabbitMQ::RabbitMQConnectionImpl::connect
> (this=0xfaf3a00, hostName=...,
> portNumber=<value optimized out>, userName=..., userPwd=...,
> heartbeat=0, vhost=...)
> at rabbitmq_source/rabbitmq_connector/RabbitMQConnectionImpl.cpp:115
> #8 0x00002aaaad60d900 in rabbitmq_ns::consumer_impl::execute
> (this=0xb4579d8) at rabbitmq_source/rabbitmq_impl.cpp:823
> #9 0x00002b25bdde1aa3 in threads::thread_proc (thr_ptr=0xb4579d8) at
> has_common_source/source/cpp/threads.cpp:225
> #10 0x0000003435c0673d in start_thread () from /lib64/libpthread.so.0
> #11 0x00000034350d40cd in clone () from /lib64/libc.so.6
>
> So, method login_with_properties is blocked, and there is some usecase
> where
> program execute amqp_send_header in amqp_login_inner without errors but
> can't get data from amqp_simple_wait_method.
>
> Maybe rabbitmq_c needs nonblock login method?
>
>
>
>
> --
> View this message in context:
> http://rabbitmq.1065348.n5.nabble.com/rabbitmq-c-Infinite-wait-in-login-with-properties-function-tp32275.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131225/25d9952c/attachment.html>
More information about the rabbitmq-discuss
mailing list