[xdebug-dev] Bug 0000220: PHP.exe crashes when the script ends

From: <noreply[@]lists.xdebug.org>
Date: Tue, 21 Nov 2006 19:47:31 +0100

A BUGNOTE has been added to this bug.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000220
======================================================================
Reporter: d_kelsey
Handler:
======================================================================
Project: Xdebug
Bug ID: 220
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Operating System: Windows XP
PHP Version: 5.2.0
Xdebug Version: 2.0.0rc1
======================================================================
Date Submitted: 2006-11-21 13:28 CET
Last Modified: 2006-11-21 19:47 CET
======================================================================
Summary: PHP.exe crashes when the script ends
Description:
This bug can also be reproduced on PHP 5.1.4.

I have 2 scripts
testcase3.php and file1.php

testcase3.php
-------------
<?php
$a = array (1,
                 array (2,
                         array (3,
                                 array (4,
                                         array (5,
                                                 array (6,
                                                         array (7,
                                                                 array (8)
                                                        )
                                                )
                                        )
                                )
                        )
                )
        );

echo var_dump($a);
echo "hi";
?>

file1.php
---------
<?php
/*
 * Created on 11-Sep-2006
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
echo 'hello';
echo 'dave';

$a='Well hello There';
echo $a;

phpinfo();

?>

Using the debug client I enter the following commands

cmd set
-------
breakpoint_set -i 25 -t line -f file:///C%3a/temp/xdebugBug/testcase3.php
-n 18
breakpoint_set -i 26 -t line -f file:///C%3a/temp/xdebugBug/file1.php -n
13
feature_set -i 31 -n max_depth -v 3
run -i 33
context_get -i 36 -d 0
run -i 41

A problem is then reported by Microsoft windows and offers me the option
to send or don't send the report to Microsoft
======================================================================

----------------------------------------------------------------------
 derick - 2006-11-21 19:47 CET
----------------------------------------------------------------------
I tried to reproduce this on LInux (with valgrind) with php 5.2.0 and the
latest CVS release of Xdebug, but I couldn't find a single memory
corruption issue (which is what your report would suggest). Perhaps you
could try the latest snapshot version? (from
http://pecl4win.php.net/ext.php/php_xdebug.dll)

Bug History
Date Modified Username Field Change
======================================================================
2006-11-21 13:28d_kelsey New Bug
2006-11-21 13:28d_kelsey Bug Monitored: d_kelsey
2006-11-21 19:47derick Bugnote Added: 0000489
======================================================================
Received on Tue Nov 21 2006 - 19:47:41 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST