#40449 [Opn->Fbk]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
| From: | tony2001@php.net | Date: | Mon, 12 Feb 2007 19:34:03 +0000 |
| Subject: | #40449 [Opn->Fbk]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-108756@lists.php.net to get a copy of this message | ||
ID: 40449
Updated by: tony2001@php.net
Reported By: dg at artegic dot de
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: SunsOS 5.9
PHP Version: 5.2.1
New Comment:
Works perfectly fine on Linux.
Previous Comments:
------------------------------------------------------------------------
[2007-02-12 19:17:33] dg at artegic dot de
Tried the CVS snapshot PHP 5.2.2-dev 200702121730 - same
result...
------------------------------------------------------------------------
[2007-02-12 18:15:14] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2007-02-12 18:10:53] dg at artegic dot de
Description:
------------
Script produces error message: "zend_mm_heap corrupted"
Configure Command => './configure' '--disable-all' '--
disable-cgi' '--disable-ipv6' '--enable-static' '--enable-
shared' '--enable-thread-safety' '--enable-mbstring' '--
enable-mbregex' '--with-pcre-regex' '--with-zlib' '--with-
iconv' '--enable-libxml' '--enable-xml' '--with-libxml-dir=/
usr/local/lib' '--with-tidy' '--enable-zend-multibyte' '--
with-curlwrappers' '--with-dom' '--with-curl' '--without-
sqlite' '--without-pdo-sqlite' '--with-mysql=/usr/local/
mysql' '--with-mysqli=/usr/local/mysql/bin/mysql_config'
tidy
Extension Version => 2.0 ($Id: tidy.c,v 1.66.2.8.2.21
2007/01/23 19:23:29 nlopess Exp $)
tidy.clean_output => no value => no value
tidy.default_config => no value => no value
Reproduce code:
---------------
<?php
ob_start();
?>
<html>a html document</html>
<?
$html = ob_get_clean();
$config = array(
'indent' => true,
'output-xhtml' => true,
'wrap' => 200);
$tidy = new tidy;
$tidy->parseString($html, $config, 'utf8');
$tidy->cleanRepair();
echo $tidy;
?>
Actual result:
--------------
Sorry - no GDB backtrace on this machine...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40449&edit=1