php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73972 use xhprof Segmentation fault happen
Submitted: 2017-01-22 09:17 UTC Modified: 2017-10-24 08:26 UTC
Votes:3
Avg. Score:3.3 ± 0.5
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: 404620135 at qq dot com Assigned:
Status: Suspended Package: xhprof (PECL)
PHP Version: 5.6.24 OS: centos 6.5
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: 404620135 at qq dot com
New email:
PHP Version: OS:

 

 [2017-01-22 09:17 UTC] 404620135 at qq dot com
Description:
------------
run test script output: 1Segmentation fault

Test script:
---------------
 <?php
 xhprof_enable();
 class Index
 {
     public function index()
     {
         return 1;
     }
 
     public function test()
     {
         return 3;
     }
 }
 echo 1;
 $method = "test";
 $class = "Index";
 echo in_array(strtolower($method),array_map('strtolower',get_class_methods($class)),TRUE);
 $data = xhprof_disable();
 var_dump($data);

Expected result:
----------------
1Segmentation fault


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-22 09:27 UTC] 404620135 at qq dot com
-PHP Version: 5.6Git-2017-01-22 (Git) +PHP Version: 5.6.24
 [2017-01-22 09:27 UTC] 404620135 at qq dot com
real php version
 [2017-10-24 08:26 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 08:26 UTC] kalle@php.net
This package has not had a release for over 4 years, and the last bit of git activity was over 2 years ago, so I think its safe to say this extension is no longer in active development. If development picks back up, then please re-open this report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 23:01:30 2024 UTC