php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56603 Segmentation Fault, or Can't write inside another dir
Submitted: 2005-10-20 01:39 UTC Modified: 2015-02-26 07:34 UTC
From: gubatron at gmail dot com Assigned:
Status: Suspended Package: apd (PECL)
PHP Version: 5.0.3 OS: Ubuntu 5.10
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-10-20 01:39 UTC] gubatron at gmail dot com
Description:
------------
I have PHP 5.0.5, I've installed APD 1.0.1 with pear and  
also by compiling it.  
  
PHP shows it as apd 0.9  
  
When you try to profile without specifing a directory  
within the php script it generates a Segmentation Fault.  
(trying to save to the apd.dumpdir specified in the  
php.ini)  
  
If you specify another dir, which you priorly create with  
all the adequate permissions, it says that it can't write.  
If you enter the files, the trace files are there, but  
with 0 bytes.  
 
The error happens everytime, and with any PHP file. 
 
I suppose it must be compatibility issues with PHP 5.0.5 
  
  


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-26 13:29 UTC] liquidx at liquid-x dot net
I don't think it's a compatibility issues, I have this issue using PHP 4 / APD 0.9.2 from source release.
 [2006-02-02 19:03 UTC] sobstel at sopel dot webd dot pl
the same happens here (kubuntu 5.10, PHP Version 5.1.2-1.dotdeb.2, APD 0.9 installed with pecl)
 [2006-02-18 14:18 UTC] pavel at lingeek dot com
Same problem (segfaults) with 
PHP 5.0.5 (cli) (built: Nov  4 2005 10:12:45)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
    with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle
 [2007-06-04 15:27 UTC] g dot kralik at gmail dot com
same problem: segfault

PHP 5.2.1 (cli) (built: May 22 2007 19:05:44)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle

Is there any solution yet? I'd really like to use apd, but it can't write trace files. I tried different directories for trace files, but it segfaults all the time.
 [2007-06-26 03:58 UTC] andy dot clyde at omnhosting dot co dot uk
I have 2 different servers, one works, one doesn't.
Working server:
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
PHP 5.0.4 (cli) (built: Nov 30 2005 14:47:00)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
    with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle


Other server:
Fedora Core release 4 (Stentz)
PHP 5.0.4 (cli) (built: Nov  8 2005 08:27:12)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
    with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle

Could it be something to do with the different PHP builds?
RHEL server:
rpm -qa | grep php
php-5.0.4-5.centos4
Fedora server:
rpm -qa | grep php
php-5.0.4-10.5
 [2007-06-26 04:32 UTC] andy dot clyde at omnhosting dot co dot uk
As a follow-up, I copied my apd.so file from the working server across to the new server and it seems to work fine.
 [2015-02-26 07:34 UTC] krakjoe@php.net
-Status: Open +Status: Suspended
 [2015-02-26 07:34 UTC] krakjoe@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC