|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63036 Segmentation fault when wrapping AMQPConnection
Submitted: 2012-09-07 14:53 UTC Modified: 2012-09-10 05:36 UTC
From: ult_raa at mail dot ru Assigned:
Status: Duplicate Package: amqp (PECL)
PHP Version: 5.3.16 OS: OSX, Ubuntu 12.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ult_raa at mail dot ru
New email:
PHP Version: OS:


 [2012-09-07 14:53 UTC] ult_raa at mail dot ru
php > class A { private $a; public function __construct() { $this->a = new 
AMQPConnection(); } }
php > $a = new A;
php > var_dump($a);
Segmentation fault (core dumped)

Test script:
class A 
    private $a;

    public function __construct() 
        $this->a = new AMQPConnection(); 

$a = new A;

Expected result:
AMQPConnection dump

Actual result:
Segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-10 05:36 UTC]
-Status: Open +Status: Duplicate
 [2012-09-10 05:36 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Jun 15 16:01:23 2021 UTC