php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65804 pecl-amqp crashes PHP when trying to connect to qpid-cpp-server 0.14
Submitted: 2013-10-01 21:50 UTC Modified: 2020-12-27 04:22 UTC
From: gauthierm@php.net Assigned: cmb (profile)
Status: No Feedback Package: amqp (PECL)
PHP Version: Irrelevant OS: CentOS 6.4
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-10-01 21:50 UTC] gauthierm@php.net
Description:
------------
When you try to connect to qpid-cpp-server 0.14, the following happens:

Expected 0x000A000A method frame on channel 0, got frame type 65
Aborted (core dumped)

qpid-cpp-server uses AMQP 1.0 instead of AMQP 0-9-1 so it shouldn't work per-se, but it should throw an exception and not crash.

Test script:
---------------
$connection = new AMQPConnection();
$connection->setHost('127.0.0.1'); // running qpid on 5672
$connection->connect();

Expected result:
----------------
Thrown AMQPConnectionException saying the AMQP version is not correct.

Actual result:
--------------
Expected 0x000A000A method frame on channel 0, got frame type 65
Aborted (core dumped)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-18 14:08 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-12-18 14:08 UTC] cmb@php.net
Is this still an issue with current amqp 1.10.2?
 [2020-12-27 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 11:01:31 2024 UTC