<HTML>
<HEAD>
<TITLE>Re: [rabbitmq-discuss] Rabbitmq-c Help</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey guys,<BR>
<BR>
Any help with this? Is there documentation somewhere I can use?<BR>
<BR>
Thanks,<BR>
Pieter<BR>
<BR>
<BR>
On 9/17/10 1:27 PM, &quot;Pieter de Zwart&quot; &lt;<a href="pdezwart@rubiconproject.com">pdezwart@rubiconproject.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><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 &nbsp;0x009f4416 in __kernel_vsyscall ()<BR>
#1 &nbsp;0x00248d71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64<BR>
#2 &nbsp;0x0024a64a in abort () at abort.c:92<BR>
#3 &nbsp;0x00137640 in amqp_simple_wait_method (state=0xa1604c0, expected_channel=0, expected_method=655370, output=0xbfe31b20) at amqp_socket.c:243<BR>
#4 &nbsp;0x001379fc in amqp_login_inner (state=0xa1604c0, vhost=0xa12d70c &quot;/&quot;, channel_max=0, frame_max=131072, heartbeat=0, sasl_method=AMQP_SASL_METHOD_PLAIN) at amqp_socket.c:373<BR>
#5 &nbsp;amqp_login (state=0xa1604c0, vhost=0xa12d70c &quot;/&quot;, channel_max=0, frame_max=131072, heartbeat=0, sasl_method=AMQP_SASL_METHOD_PLAIN) at amqp_socket.c:463<BR>
#6 &nbsp;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 &nbsp;0x0825fd39 in zend_do_fcall_common_helper_SPEC (execute_data=&lt;value optimized out&gt;) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:316<BR>
#8 &nbsp;0x0823676e in execute (op_array=0xa12d580) at /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:107<BR>
#9 &nbsp;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<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
rabbitmq-discuss mailing list<BR>
<a href="rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><BR>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>-- <BR>
</SPAN></FONT><FONT COLOR="#323232"><FONT SIZE="4"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14pt'>the rubicon project<BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><FONT COLOR="#B80020"><FONT SIZE="1"><SPAN STYLE='font-size:9pt'><BR>
</SPAN><SPAN STYLE='font-size:7pt'>PIETER DE ZWART </SPAN></FONT></FONT><FONT SIZE="1"><SPAN STYLE='font-size:7pt'><FONT COLOR="#3E3E3E">| LEAD, </FONT><FONT COLOR="#3F3F3F">INTERFACES TEAM<BR>
</FONT><FONT COLOR="#B9001C">&#8226;&#8226;&#8226; P 310 207 0272 | x224<BR>
</FONT><FONT COLOR="#B8001B">&#8226;&#8226;&#8226; C 408 666 4443<BR>
</FONT><FONT COLOR="#B9001C">&#8226;&#8226;&#8226; F 323 466 7119<BR>
</FONT><BR>
<FONT COLOR="#3A3A3A"><BR>
1925 S. BUNDY &nbsp;DRIVE<BR>
LOS ANGELES, CALIFORNIA 90025<BR>
</FONT><FONT COLOR="#B40D1B"><BR>
</FONT><FONT COLOR="#0000FD">WWW.RUBICONPROJECT.COM</FONT><FONT COLOR="#B40D1B"> &lt;</FONT><FONT COLOR="#0000FF"><U><a href="http://">http://</a>www.rubiconproject.com/</U></FONT><FONT COLOR="#B40D1B">&gt; <BR>
</FONT></SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT COLOR="#2D2D2D"><FONT SIZE="4"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:13pt'><IMG src="cid:3367917975_2964563" ><BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><FONT COLOR="#767676"><FONT SIZE="1"><SPAN STYLE='font-size:7pt'>&#8220;COMPANY OF THE YEAR&#8221; ALWAYSON ONMEDIA 2009<BR>
#24 ON FAST COMPANY FAST 50 READER FAVORITES<BR>
2008 &nbsp;ALWAYSON 250 GLOBAL WINNER<BR>
2008 ALWAYSON ONMEDIA 100 WINNER<BR>
TWIISTUP3 &nbsp;BEST IN SHOW<BR>
</SPAN></FONT></FONT><FONT SIZE="1"><SPAN STYLE='font-size:7pt'><FONT COLOR="#757575">PRICEWATERHOUSECOOPERS &#8211; ENTRETECH &nbsp;BEST STARTUP<BR>
</FONT><FONT COLOR="#767676">AMERICAN BUSINESS AWARDS - STEVIES &nbsp;&#8216;08 FINALIST BEST NEW COMPANY<BR>
</FONT><FONT COLOR="#757575">AMERICAN BUSINESS &nbsp;AWARDS - STEVIES &#8216;08 FINALIST MOST INNOVATIVE COMPANY<BR>
AMERICAN BUSINESS &nbsp;AWARDS - STEVIES &#8216;08 FINALIST NEW PRODUCT OR SERVICE - &nbsp;SERVICES<BR>
<BR>
</FONT></SPAN></FONT></FONT><FONT COLOR="#177E00"><FONT SIZE="6"><FONT FACE="Webdings"><SPAN STYLE='font-size:24pt'>P</SPAN></FONT></FONT><FONT SIZE="1"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:7pt'> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:8pt'>Please consider the environment before printing this e-mail<BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>