ID:               27342
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Bogus
+Status:           Open
 Bug Type:         Zend Engine 2 problem
 Operating System: Win XP
-PHP Version:      5CVS-2004-02-21 (dev)
+PHP Version:      5CVS-2004-02-23 (dev)
 New Comment:

Hi sniper!



Using latest snapshot from snaps.php.net, I still receive a segfault:



Program received signal SIGSEGV, Segmentation fault.

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

(gdb) bt

#0  0x1000a974 in zend_fetch_debug_backtrace ()

   from /cygdrive/c/php/php5ts.dll

#1  0x00a00350 in ?? ()

#2  0x00362718 in ?? ()


Previous Comments:
------------------------------------------------------------------------

[2004-02-22 19:31:24] [EMAIL PROTECTED]

Can not reproduce using latest tidy version and latest CVS checkout. 



------------------------------------------------------------------------

[2004-02-21 05:24:32] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=27342&edit=1

Reply via email to