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
 [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: Wed Apr 24 23:01:34 2024 UTC