php.net |  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:
Package:
Bug Type:
Summary:
From: ult_raa at mail dot ru
New email:
PHP Version: OS:

 

 [2012-09-07 14:53 UTC] ult_raa at mail dot ru
Description:
------------
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;
var_dump($a);

Expected result:
----------------
AMQPConnection dump

Actual result:
--------------
Segmentation fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-10 05:36 UTC] pdezwart@php.net
-Status: Open +Status: Duplicate
 [2012-09-10 05:36 UTC] pdezwart@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 09:01:31 2024 UTC