|  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
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 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: kitek at implix dot com
New email:
PHP Version: OS:


 [2012-08-08 11:31 UTC] kitek at implix dot com
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 );

} );


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-10 05:37 UTC]
-Status: Open +Status: Duplicate
 [2012-09-10 05:37 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 17:01:23 2021 UTC