View Issue Details

IDProjectCategoryView StatusLast Update
0000330Xdebugpublic2009-10-28 09:46
Reportermattis Assigned To 
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionno change required 
PlatformX86OSWindows XP / Red Hat 3.4.6-3 
Product Version2.0.0dev 
Summary0000330: Xdebug >= 2.0.1 crashes with large PHP file
Description

On windows:

  • php_xdebug.dll crashes

On Linux:

  • Segmentation fault
Steps To Reproduce
  • Install PHPUnit 3.2.0 from Sebastian's SVN
  • Download http://www.hurfmydurf.com/~mattis/crashxdebug.php_
  • Rename it to crashxdebug.php
  • You need PEAR with MDB2 and oci8 support.
  • Run with 'phpunit --report /path/to/report crashxdebug crashxdebug.php'
  • You should get a segmentation fault.
Additional Information

On windows:
PHP 5.2.4 (cli) (built: Aug 30 2007 07:06:31)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Xdebug v2.0.2-dev, Copyright (c) 2002-2007, by Derick Rethans

On linux:
PHP 5.2.1 (cli) (built: Apr 25 2007 14:40:25)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Core v2.0.1, Copyright (c) 1998-2006, by Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Xdebug v2.1.0-dev, Copyright (c) 2002-2007, by Derick Rethans

TagsNo tags attached.
Operating System
PHP Version5.2.4

Activities

mattis

2007-12-11 15:45

reporter   ~0000819

Just tried again with the file attached to this report, with a new environment.

CentOS release 4.5 (Final)

PHP 5.2.5 (cli) (built: Dec 11 2007 11:20:13)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Xdebug v2.0.2, Copyright (c) 2002-2007, by Derick Rethans

[PHP Modules]
ctype
date
dom
filter
hash
iconv
json
libxml
oci8
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tidy
tokenizer
xdebug
xml
xmlreader
xmlwriter
zlib

[Zend Modules]
Xdebug

PHPUnit rev. 1881 from HEAD. Should equal version 3.2.5.

Relevant PEAR packages:
MDB2 2.5.0a2 alpha
MDB2_Driver_oci8 1.5.0a2 alpha

I have tried both alpha and stable versions of the MDB2 drivers.

Other info:
If I comment out line 23 of crashxdebug.php the test and the code coverage runs fine.

derick

2009-10-17 18:18

administrator   ~0001112

Your "crashxdebug" script is no longer available, and is this still an issue?

mattis

2009-10-27 17:53

reporter   ~0001115

This is not an issue any more, thanks

derick

2009-10-28 09:46

administrator   ~0001116

Thanks for checking it out!

Issue History

Date Modified Username Field Change
2007-10-30 18:02 mattis New Issue
2007-12-11 15:45 mattis Note Added: 0000819
2009-10-17 18:18 derick Note Added: 0001112
2009-10-17 18:18 derick Status new => feedback
2009-10-27 17:53 mattis Note Added: 0001115
2009-10-28 09:46 derick Note Added: 0001116
2009-10-28 09:46 derick Status feedback => closed
2009-10-28 09:46 derick Resolution open => no change required
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)