From:             [EMAIL PROTECTED]
Operating system: Win XP
PHP version:      5CVS-2004-02-21 (dev)
PHP Bug Type:     Zend Engine 2 problem
Bug description:  zend_fetch_debug_backtrace segfault

Description:
------------
Using the given reproduce code, php segfaults.

Reproduce code:
---------------
<?php

$html = '<p>test</I>';



$config = array('foo' => 'bar');



$tidy = tidy_parse_string($html, $config);



echo tidy_config_count($tidy);

?>

Expected result:
----------------
1

Actual result:
--------------
$ gdb php

GNU gdb 2003-09-20-cvs (cygwin-special)

(...)

(gdb) run tidy.php

Starting program: /cygdrive/c/php/php.exe tidy.php

---Type <return> to continue, or q <return> to quit---



Program received signal SIGSEGV, Segmentation fault.

0x1000a974 in zend_fetch_debug_backtrace () from
/cygdrive/c/php/php5ts.dll

-- 
Edit bug report at http://bugs.php.net/?id=27342&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27342&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27342&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27342&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27342&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27342&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27342&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27342&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27342&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27342&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27342&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27342&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27342&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27342&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27342&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27342&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27342&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27342&r=float

Reply via email to