[xdebug-general] Apache crashes with php_xdebug-2.0.0rc3-4.4.1.dll

From: Jun Monnai <monnai[@]anchorsystems.co.jp>
Date: Wed, 23 May 2007 19:37:11 +0900

Hello Derick and all,

I got apache crash when debugging a PHP program with
remote_enabled Xdebug connecting to my debug client.

It should not be so hard to reproduce the crash.
All Apache, web browser (IE) and debug client are on
the same Windows XP SP1 machine.

Here is what I did and what happened.

 1) I start debug client,
 2) I type the URL of a small PHP program with
?XDEBUG_SESSION_START=aSessionID
    to web browser to start debug session,
 3) Xdebug connects to the debug client,
 4) debug client sends breakpoint_set command to set a breakpoint on a
source line,
 5) debug client sends stdout -c 1 command to enable copy-redirect of
stdout,
 6) debug client sends run command to run the problem to the breakpoint,
 7) PHP program execution breaks at the breakpoint,
 8) debug client sends run command to run the rest of program,
 9) debug client receives stdout stream 4 or 5 times,
10) Apache crashs

Software versions and PHP settings are:

  Apache 2.2.3 (Win32) DAV/2
  PHP 4.4.4
  Xdebug 2.0.0rc3 downloaded from Xdebug home page, and
  Xdebug 2.0.0rc5 downloaded from PCL

  xdebug.remote_enable = On
  xdebug.remote_handler = dbgp (default)
  xdebug.remote_host = localhost (default)
  xdebug.remote_mode = req (default)
  xdebug.remote_port = 9000 (default)

Let me know if you can not reproduce the problem.

Best regards and thank you for your Xdebug.

--
Jun Monnai, Anchor Systems Corp.
mail:  monnai[@]anchorsystems.co.jp
web:   http://www.anchorsystems.co.jp/
voice: +81-78-946-5554
fax:   +81-78-946-5575
Received on Wed May 23 2007 - 12:37:28 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST