[rabbitmq-discuss] Rabbitmq-c Help

Pieter de Zwart pdezwart at rubiconproject.com
Tue Sep 21 20:46:15 BST 2010


Hey guys,

Any help with this? Is there documentation somewhere I can use?

Thanks,
Pieter


On 9/17/10 1:27 PM, "Pieter de Zwart" <pdezwart at rubiconproject.com> wrote:

> Hey guys,
> 
> 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:
> 
> localhost:~/src/pecl/amqp/trunk$ php -f tests/test.php
> Expected 0x000A000A method frame on channel 0, got frame on channel 19793
> 
> This is the stacktrace:
> #0  0x009f4416 in __kernel_vsyscall ()
> #1  0x00248d71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
> #2  0x0024a64a in abort () at abort.c:92
> #3  0x00137640 in amqp_simple_wait_method (state=0xa1604c0,
> expected_channel=0, expected_method=655370, output=0xbfe31b20) at
> amqp_socket.c:243
> #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
> #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
> #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
> #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
> #8  0x0823676e in execute (op_array=0xa12d580) at
> /usr/src/debug/php-5.3.3/Zend/zend_vm_execute.h:107
> #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
> #10 0x081b5ac6 in php_execute_script (primary_file=0xbfe34274) at
> /usr/src/debug/php-5.3.3/main/main.c:2260
> #11 0x0829f358 in main (argc=3, argv=0xbfe343b4) at
> /usr/src/debug/php-5.3.3/sapi/cli/php_cli.c:1192
> 
> These mean nothing to me... Help? =)
> 
> Pieter
> 
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

-- 
the rubicon project

PIETER DE ZWART | LEAD, INTERFACES TEAM
€€€ P 310 207 0272 | x224
€€€ C 408 666 4443
€€€ F 323 466 7119


1925 S. BUNDY  DRIVE
LOS ANGELES, CALIFORNIA 90025

WWW.RUBICONPROJECT.COM <http://www.rubiconproject.com/>


³COMPANY OF THE YEAR² ALWAYSON ONMEDIA 2009
#24 ON FAST COMPANY FAST 50 READER FAVORITES
2008  ALWAYSON 250 GLOBAL WINNER
2008 ALWAYSON ONMEDIA 100 WINNER
TWIISTUP3  BEST IN SHOW
PRICEWATERHOUSECOOPERS ­ ENTRETECH  BEST STARTUP
AMERICAN BUSINESS AWARDS - STEVIES  Œ08 FINALIST BEST NEW COMPANY
AMERICAN BUSINESS  AWARDS - STEVIES Œ08 FINALIST MOST INNOVATIVE COMPANY
AMERICAN BUSINESS  AWARDS - STEVIES Œ08 FINALIST NEW PRODUCT OR SERVICE -
SERVICES

P          Please consider the environment before printing this e-mail



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100921/7f28e59a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 28320 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100921/7f28e59a/attachment-0001.png>


More information about the rabbitmq-discuss mailing list