Ask a Question related to PHP Bugs, Design and Development.
-
dg at artegic dot de #1
#40449 [NEW]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
From: dg at artegic dot de
Operating system: SunsOS 5.9
PHP version: 5.2.1
PHP Bug Type: Reproducible crash
Bug description: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
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 bug report at [url]http://bugs.php.net/?id=40449&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40449&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40449&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40449&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40449&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40449&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40449&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40449&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40449&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40449&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40449&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40449&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40449&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40449&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40449&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40449&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40449&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40449&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40449&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40449&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40449&r=mysqlcfg[/url]
dg at artegic dot de Guest
-
#40479 [NEW]: zend_mm_heap corrupted
From: rrossi at maggioli dot it Operating system: Suse Linux 9.0 PHP version: 5.2.1 PHP Bug Type: Reproducible crash Bug... -
#40632 [NEW]: setcookie() with huge lifetime causes segfault or "zend_mm_heap corrupted"
From: phpbugs at thequod dot de Operating system: Ubuntu Linux PHP version: 5CVS-2007-02-25 (CVS) PHP Bug Type: Reproducible... -
A (dirty) solution to the "corrupted database" issue
Hi, I just wanted to mention I found a quick and dirty solution for the issue that some of you may have met when: - InDesign quits with an error... -
"viewstate is invalid for this page and might be corrupted" - why does worker process recycling cause this?
Hi There, I have posted something previously regarding this issue, but I think I have some more concise questions to ask, and would like to get... -
"Start" "Program" "Menu" list is empty
For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your... -
tony2001@php.net #2
#40449 [Opn->Fbk]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
ID: 40449
Updated by: [email]tony2001@php.net[/email]
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:
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
Previous Comments:
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=40449&edit=1[/url]
tony2001@php.net Guest
-
dg at artegic dot de #3
#40449 [Fbk->Opn]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
ID: 40449
User updated by: dg at artegic dot de
Reported By: dg at artegic dot de
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: SunsOS 5.9
PHP Version: 5.2.1
New Comment:
Tried the CVS snapshot PHP 5.2.2-dev 200702121730 - same
result...
Previous Comments:
------------------------------------------------------------------------
[2007-02-12 18:15:14] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=40449&edit=1[/url]
dg at artegic dot de Guest
-
tony2001@php.net #4
#40449 [Opn->Fbk]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
ID: 40449
Updated by: [email]tony2001@php.net[/email]
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] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=40449&edit=1[/url]
tony2001@php.net Guest
-
nlopess@php.net #5
#40449 [Fbk]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
ID: 40449
Updated by: [email]nlopess@php.net[/email]
Reported By: dg at artegic dot de
Status: Feedback
Bug Type: Reproducible crash
Operating System: SunsOS 5.9
PHP Version: 5.2.1
New Comment:
can you please try with libtidy from cvs
([url]http://sf.net/cvs/?group_id=27659[/url]) please? libtidy uses php emalloc
calls, so it is probable that the error is in tidy itself.
(I couldn't try myself yet, because my other pc is not on-line..)
Previous Comments:
------------------------------------------------------------------------
[2007-02-12 19:34:03] [email]tony2001@php.net[/email]
Works perfectly fine on Linux.
------------------------------------------------------------------------
[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] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=40449&edit=1[/url]
nlopess@php.net Guest
-
tony2001@php.net #6
#40449 [Fbk]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
ID: 40449
Updated by: [email]tony2001@php.net[/email]
Reported By: dg at artegic dot de
Status: Feedback
Bug Type: Reproducible crash
Operating System: SunsOS 5.9
PHP Version: 5.2.1
New Comment:
Also cannot reproduce on Solaris 8 (using libtidy from CVS).
Previous Comments:
------------------------------------------------------------------------
[2007-02-12 23:10:54] [email]nlopess@php.net[/email]
can you please try with libtidy from cvs
([url]http://sf.net/cvs/?group_id=27659[/url]) please? libtidy uses php emalloc
calls, so it is probable that the error is in tidy itself.
(I couldn't try myself yet, because my other pc is not on-line..)
------------------------------------------------------------------------
[2007-02-12 19:34:03] [email]tony2001@php.net[/email]
Works perfectly fine on Linux.
------------------------------------------------------------------------
[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] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=40449&edit=1[/url]
tony2001@php.net Guest
-
dg at artegic dot de #7
#40449 [Fbk->Csd]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
ID: 40449
User updated by: dg at artegic dot de
Reported By: dg at artegic dot de
-Status: Feedback
+Status: Closed
Bug Type: Reproducible crash
Operating System: SunsOS 5.9
PHP Version: 5.2.1
New Comment:
The error is libtidy related. Thanks for your help!
Previous Comments:
------------------------------------------------------------------------
[2007-02-13 09:49:04] [email]tony2001@php.net[/email]
Also cannot reproduce on Solaris 8 (using libtidy from CVS).
------------------------------------------------------------------------
[2007-02-12 23:10:54] [email]nlopess@php.net[/email]
can you please try with libtidy from cvs
([url]http://sf.net/cvs/?group_id=27659[/url]) please? libtidy uses php emalloc
calls, so it is probable that the error is in tidy itself.
(I couldn't try myself yet, because my other pc is not on-line..)
------------------------------------------------------------------------
[2007-02-12 19:34:03] [email]tony2001@php.net[/email]
Works perfectly fine on Linux.
------------------------------------------------------------------------
[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] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40449[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40449&edit=1[/url]
dg at artegic dot de Guest
-
tony2001@php.net #8
#40449 [Csd->Bgs]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
ID: 40449
Updated by: [email]tony2001@php.net[/email]
Reported By: dg at artegic dot de
-Status: Closed
+Status: Bogus
Bug Type: Reproducible crash
Operating System: SunsOS 5.9
PHP Version: 5.2.1
Previous Comments:
------------------------------------------------------------------------
[2007-02-13 12:57:29] dg at artegic dot de
The error is libtidy related. Thanks for your help!
------------------------------------------------------------------------
[2007-02-13 09:49:04] [email]tony2001@php.net[/email]
Also cannot reproduce on Solaris 8 (using libtidy from CVS).
------------------------------------------------------------------------
[2007-02-12 23:10:54] [email]nlopess@php.net[/email]
can you please try with libtidy from cvs
([url]http://sf.net/cvs/?group_id=27659[/url]) please? libtidy uses php emalloc
calls, so it is probable that the error is in tidy itself.
(I couldn't try myself yet, because my other pc is not on-line..)
------------------------------------------------------------------------
[2007-02-12 19:34:03] [email]tony2001@php.net[/email]
Works perfectly fine on Linux.
------------------------------------------------------------------------
[2007-02-12 19:17:33] dg at artegic dot de
Tried the CVS snapshot PHP 5.2.2-dev 200702121730 - same
result...
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
[url]http://bugs.php.net/40449[/url]
--
Edit this bug report at [url]http://bugs.php.net/?id=40449&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

