<HTML>
<HEAD>
<TITLE>Rabbitmq-c Help</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey guys,<BR>
<BR>
I need some help with rabbitmq-c. I inherited the PHP extension code base, so I am a little lost. I pulled in RabbitMQ 2.1, along with the tip of rabbitmq-c and rabbitmq-codegen. Everything compiles just fine, but when I try to instantiate a new connection in the PHP extension, I get:<BR>
<BR>
localhost:~/src/pecl/amqp/trunk$ php -f tests/test.php<BR>
Expected 0x000A000A method frame on channel 0, got frame on channel 19793<BR>
<BR>
This is the stacktrace:<BR>
#0 0x009f4416 in __kernel_vsyscall ()<BR>
#1 0x00248d71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64<BR>
#2 0x0024a64a in abort () at abort.c:92<BR>
#3 0x00137640 in amqp_simple_wait_method (state=0xa1604c0, expected_channel=0, expected_method=655370, output=0xbfe31b20) at amqp_socket.c:243<BR>
#4 0x001379fc in amqp_login_inner (state=0xa1604c0, vhost=0xa12d70c "/", channel_max=0, frame_max=131072, heartbeat=0, sasl_method=AMQP_SASL_METHOD_PLAIN) at amqp_socket.c:373<BR>
#5 amqp_login (state=0xa1604c0, vhost=0xa12d70c "/", channel_max=0, frame_max=131072, heartbeat=0, sasl_method=AMQP_SASL_METHOD_PLAIN) at amqp_socket.c:463<BR>
#6 0x00629b9f in zim_amqp_class___construct (ht=0, return_value=0xa12d0f0, return_value_ptr=0x0, this_ptr=0xa12d10c, return_value_used=0) at /home/pdezwart/src/pecl/amqp/trunk/amqp.c:413<BR>
#7 0x0825fd39 in zend_do_fcall_common_helper_SPEC (execute_data=<value optimized out>) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:316<BR>
#8 0x0823676e in execute (op_array=0xa12d580) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:107<BR>
#9 0x0820ef36 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/debug/php-5.3.3/Zend/zend.c:1194<BR>
#10 0x081b5ac6 in php_execute_script (primary_file=0xbfe34274) at /usr/src/debug/php-5.3.3/main/main.c:2260<BR>
#11 0x0829f358 in main (argc=3, argv=0xbfe343b4) at /usr/src/debug/php-5.3.3/sapi/cli/php_cli.c:1192<BR>
<BR>
These mean nothing to me... Help? =)<BR>
<BR>
Pieter</SPAN></FONT>
</BODY>
</HTML>