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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
22 - 8 = ?
Subscribe to this entry?

 
 [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: Sat Apr 20 00:01:27 2024 UTC