ID:               29927
 Updated by:       [EMAIL PROTECTED]
 Reported By:      aashley at optimiser dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Gentoo Linux
 PHP Version:      5.0.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Works fine for me, please try a snapshot.


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

[2004-09-01 08:59:33] aashley at optimiser dot com

Description:
------------
When using Tidy in PHP5.0.1 instansiating two Tidy objects causes a
segfault. This worked successfully in 5.0.0.

Using Tidy snapshot from the 11th of August 2004.

Reproduce code:
---------------
<?php
if (!extension_loaded('tidy')) {
  $prefix = (PHP_SHLIB_SUFFIX == 'dll') ? 'php_' : '';
  dl($prefix.'tidy.'.PHP_SHLIB_SUFFIX);
}

loadContent();
$tidy = new Tidy();

function loadContent() {
  $tidy = new Tidy();
}
?>

Expected result:
----------------
[EMAIL PROTECTED] ~ $ php test.php
[EMAIL PROTECTED] ~ $

Actual result:
--------------
[EMAIL PROTECTED] ~ $ php test.php
Segmentation fault
[EMAIL PROTECTED] ~ $


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


-- 
Edit this bug report at http://bugs.php.net/?id=29927&edit=1

Reply via email to