php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62777 segmentation fault by print_r inside consume()
Submitted: 2012-08-08 11:31 UTC Modified: 2012-09-10 05:37 UTC
Votes:3
Avg. Score:4.3 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: kitek at implix dot com Assigned:
Status: Duplicate Package: amqp (PECL)
PHP Version: Irrelevant OS: Debian
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: kitek at implix dot com
New email:
PHP Version: OS:

 

 [2012-08-08 11:31 UTC] kitek at implix dot com
Description:
------------
print_r of an object inside consume() will drop a segmentation fault.
(amqp module version - latest trunk code)

Test script:
---------------
$object->consume( function ($message, $queue) {

   $a = new stdClass();
   print_r( $a );

} );


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-10 05:37 UTC] pdezwart@php.net
-Status: Open +Status: Duplicate
 [2012-09-10 05:37 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: Sun Dec 22 05:01:30 2024 UTC