Re: [PHP] Apache child pid segfault + APD

2008-05-05 Thread Waynn Lue
My main problem with using xdebug was that it seemed to require KDE to
interpret the traces that it took, which I don't have installed on my
server.  I only spent 15 minutes looking at it, though, so that could
be completely unjustified...

Would upgrading glibc help?

On Sat, May 3, 2008 at 12:48 AM, Mario Guenterberg [EMAIL PROTECTED] wrote:
 On Fri, May 02, 2008 at 10:24:03PM -0700, Waynn Lue wrote:

   *** glibc detected *** free(): invalid pointer: 0x002a9956d000 ***

  Hi Waynn,

  try to use xdebug instead of APD to profile you app. There is a problem with 
 your glibc
  version and your APD version.

  In my environment php 5.2.6 with suhosin/apc, apache 2.2.8 and xdebug 2.0.2 
 it works fine.

  Greetings
  Mario

  --
  -BEGIN GEEK CODE BLOCK-
  Version: 3.12
  GCS/CM d- s++: a+ C$ UBL*$ P++ L+++ E--- W+++ N+ o-- K- w O- M-
  V-- PS++ PE++ Y PGP+++ t--- 5 X R++ tv- b+++ DI D  G++ e* h
  r+++ y
  --END GEEK CODE BLOCK--

  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache child pid segfault + APD

2008-05-05 Thread Aschwin Wesselius

Waynn Lue wrote:

My main problem with using xdebug was that it seemed to require KDE to
interpret the traces that it took, which I don't have installed on my
server.  I only spent 15 minutes looking at it, though, so that could
be completely unjustified...

Would upgrading glibc help?


Hi,

Recently there is a webinterface for interpreting the results of XDebug:

http://blog.agoraproduction.com/index.php?/archives/67-XDebug-to-finally-get-a-Web-Frontend.html

Maybe it is for your interest.
--

Aschwin Wesselius

/'What you would like to be done to you, do that to the other'/


Re: [PHP] Apache child pid segfault + APD

2008-05-05 Thread Mario Guenterberg
On Mon, May 05, 2008 at 02:41:17AM -0700, Waynn Lue wrote:
 My main problem with using xdebug was that it seemed to require KDE to
 interpret the traces that it took, which I don't have installed on my
 server.  I only spent 15 minutes looking at it, though, so that could
 be completely unjustified...
 
 Would upgrading glibc help?
 
 On Sat, May 3, 2008 at 12:48 AM, Mario Guenterberg [EMAIL PROTECTED] wrote:
  On Fri, May 02, 2008 at 10:24:03PM -0700, Waynn Lue wrote:
 
*** glibc detected *** free(): invalid pointer: 0x002a9956d000 ***
 
   Hi Waynn,
 
   try to use xdebug instead of APD to profile you app. There is a problem 
  with your glibc
   version and your APD version.
 
   In my environment php 5.2.6 with suhosin/apc, apache 2.2.8 and xdebug 
  2.0.2 it works fine.

Upgrading the glibc on a server is not the best choice to solve a
problem with a extension for php ;-).

There's a webfrontend for xdebug.

Greetings
guenti

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/CM d- s++: a+ C$ UBL*$ P++ L+++ E--- W+++ N+ o-- K- w O- M-
V-- PS++ PE++ Y PGP+++ t--- 5 X R++ tv- b+++ DI D  G++ e* h
r+++ y
--END GEEK CODE BLOCK--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Apache child pid segfault + APD

2008-05-03 Thread Mario Guenterberg
On Fri, May 02, 2008 at 10:24:03PM -0700, Waynn Lue wrote:

 *** glibc detected *** free(): invalid pointer: 0x002a9956d000 ***

Hi Waynn,

try to use xdebug instead of APD to profile you app. There is a problem with 
your glibc
version and your APD version.

In my environment php 5.2.6 with suhosin/apc, apache 2.2.8 and xdebug 2.0.2 it 
works fine.

Greetings
Mario

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS/CM d- s++: a+ C$ UBL*$ P++ L+++ E--- W+++ N+ o-- K- w O- M-
V-- PS++ PE++ Y PGP+++ t--- 5 X R++ tv- b+++ DI D  G++ e* h
r+++ y
--END GEEK CODE BLOCK--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Apache child pid segfault + APD

2008-05-02 Thread Waynn Lue
I recently installed APD to help profile some code that I've written,
and noticed that whenever I run it (with apd_set_pprof_trace() at the
top) I get these errors in my apache logs.  I spent awhile looking at
different sites, but even recompiling PHP + Apache didn't help.
Anyone seen this before?

[Fri May 02 21:20:56 2008] [notice] child pid 13818 exit signal
Segmentation fault (11)
[Fri May 02 21:40:08 2008] [notice] child pid 14820 exit signal
Segmentation fault (11)
[Fri May 02 21:40:08 2008] [notice] child pid 15027 exit signal
Segmentation fault (11)
[Fri May 02 22:00:08 2008] [notice] child pid 16081 exit signal
Segmentation fault (11)
*** glibc detected *** free(): invalid pointer: 0x002a9956d000 ***
[Fri May 02 22:00:10 2008] [notice] child pid 15273 exit signal Aborted (6)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php