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 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: 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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 02:01:29 2024 UTC