|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57717 pprofp segmentation fault
Submitted: 2007-06-22 17:08 UTC Modified: 2015-02-26 07:38 UTC
From: silvanojr at gmail dot com Assigned:
Status: Suspended Package: *General Issues
PHP Version: 5.1.2 OS: RHEL 4
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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
3 + 38 = ?
Subscribe to this entry?

 [2007-06-22 17:08 UTC] silvanojr at gmail dot com
pprofp causes segfault

Reproduce code:
test # pprofp /tmp/traces/pprof.05664.0 
zsh: segmentation fault  pprofp /tmp/traces/pprof.05664.0
test # gdb /usr/bin/php
(gdb) run /usr/bin/pprofp /tmp/ppprof.05664.0
Starting program: /usr/bin/php /usr/bin/pprofp /tmp/ppprof.05664.0
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1208592704 (LWP 7161)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208592704 (LWP 7161)]
0x081ab8c5 in zend_get_executed_lineno ()
(gdb) bt
#0  0x081ab8c5 in zend_get_executed_lineno ()
#1  0xbfef2d08 in ?? ()
#2  0x00113b84 in apd_execute (op_array=0x8853be4) at /tmp/tmpUh1wV2/apd-1.0.1/php_apd.c:515
#3  0x00113b84 in apd_execute (op_array=0x8853be4) at /tmp/tmpUh1wV2/apd-1.0.1/php_apd.c:515
#4  0x081b7944 in zend_execute_scripts ()
#5  0x0817d8a2 in php_execute_script ()
#6  0x00000000 in ?? ()


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-26 07:38 UTC]
-Status: Open +Status: Suspended -Package: APD +Package: *General Issues
 [2015-02-26 07:38 UTC]
APD hasn't had a release in 10 years, this means it's source code is way out of sync with modern PHP.

I'm going to mark this bug as suspended, the report can still be found if a maintainer for APD comes forward.

Sorry about the wait.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Sep 28 22:04:50 2022 UTC