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
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: 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 Mar 29 02:01:30 2024 UTC