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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gauthierm@php.net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Thu Dec 26 14:01:30 2024 UTC