antonk5 / php-amqplib

Automatically exported from code.google.com/p/php-amqplib
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Caught exception: Error reading data. #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. test with "php amqp_test.php"

What is the expected output? What do you see instead?
Creating connection
< [hex]:
0000  41 4D 51 50 01 01 09 01                            AMQP....

waiting for 10,10
waiting for a new frame
Caught exception: Error reading data. Recevived 1 instead of expected
1342243072 bytes
Trace:
#0 /home/emanus/testing/php-amqplib-read-only/amqp_wire.inc(286):
AMQPReader->rawread('1342243072')
#1 /home/emanus/testing/php-amqplib-read-only/amqp.inc(496):
AMQPReader->read('1342243072')
#2 /home/emanus/testing/php-amqplib-read-only/amqp.inc(513):
AMQPConnection->wait_frame()
#3 /home/emanus/testing/php-amqplib-read-only/amqp.inc(166):
AMQPConnection->wait_channel(0)
#4 /home/emanus/testing/php-amqplib-read-only/amqp.inc(250):
AbstractChannel->next_frame()
#5 /home/emanus/testing/php-amqplib-read-only/amqp.inc(349):
AbstractChannel->wait(Array)
#6 /home/emanus/testing/php-amqplib-read-only/amqp_test.php(21):
AMQPConnection->__construct('localhost', 5672, 'guest', 'guest')
#7 {main}< [hex]:
0000  01 00 00 00 00 00 0B 00  0A 00 3C 00 00 00 00 00   ........ ..<.....
0010  00 00 CE                                           ..�

< 10,60: Connection.close
waiting for 10,61
waiting for a new frame

Fatal error: Exception thrown without a stack frame in Unknown on line 0

What version of the product are you using? On what operating system?

library Revision: 25 - Linux 2.6.26-2-amd64 with PHP 5.2.6-1

Please provide any additional information below.

i have tried 64bit.path and performance.path but without result

Original issue reported on code.google.com by carbeman on 28 Jan 2010 at 3:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Lyolik please review these bugs.

Original comment by kroko...@gmail.com on 21 Mar 2010 at 9:17

GoogleCodeExporter commented 8 years ago
Any news with this issue?

OS: Scientific Linux 6.2 (RHEL)
uname -a: 2.6.32-220.4.1.el6.i686
RabbitMQ: 2.6.1
PHP: 5.3.3

My steps:

git clone git://github.com/videlalvaro/php-amqplib.git
make
make test

There were 2 errors:

1) PhpAmqpLib\Tests\Functional\FileTransferTest::testSendFile
Exception: Error reading data. Recevived 1 instead of expected 1342243072 bytes

2) PhpAmqpLib\Tests\Functional\PublishConsumeTest::testPublishConsume
Exception: Error reading data. Recevived 1 instead of expected 1342243072 bytes

FAILURES!
Tests: 29, Assertions: 345, Errors: 2.
PHP Fatal error:  Exception thrown without a stack frame in Unknown on line 0
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run() 
/usr/share/pear/PHPUnit/TextUI/Command.php:125
make: *** [test] Error 2

Original comment by xdaan....@gmail.com on 18 Feb 2012 at 4:57