Hi!
A Perl program running Net::RabbitMQ seems to have gotten stuck in subroutine recv after I ran the script and does not respond to RabbitMQ messages being published. I set a breakpoint at XS_Net__RabbitMQ_recv, but gdb does not stop there.
I copy here the output of the bt command after I pressed Control-C:
(gdb) bt
#0 0x00007ff491ef7560 in __read_nocancel () from /lib64/libpthread.so.0
#1 0x00007ff490b3bf2b in read (__nbytes=<value optimized out>,
__buf=<value optimized out>, __fd=<value optimized out>)
at /usr/include/bits/unistd.h:45
#2 wait_frame_inner (__nbytes=<value optimized out>,
__buf=<value optimized out>, __fd=<value optimized out>)
at amqp_socket.c:179
#3 0x00007ff490b23449 in internal_recv (RETVAL=0xbf4de8, conn=0xc29c50,
piggyback=0) at RabbitMQ.xs:102
#4 0x00007ff490b240f6 in XS_Net__RabbitMQ_recv (
my_perl=<value optimized out>, cv=<value optimized out>) at RabbitMQ.xs:457
#5 0x000000000047e115 in Perl_pp_entersub ()
#6 0x0000000000455ad3 in Perl_runops_debug ()
#7 0x000000000047a1af in perl_run ()
#8 0x000000000042172c in main ()
(gdb) continue
Continuing.
regards, Matti Linnanvuori