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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2021 The PHP Group
All rights reserved.
Last updated: Fri Apr 23 14:01:23 2021 UTC