|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-01 09:39 UTC] derick@php.net
[2004-09-15 01:00 UTC] php-bugs at lists dot php dot net
[2010-12-20 10:00 UTC] jani@php.net
-Package: Reproducible crash
+Package: Tidy
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
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: ---------------- aashley@dt-pc0144 ~ $ php test.php aashley@dt-pc0144 ~ $ Actual result: -------------- aashley@dt-pc0144 ~ $ php test.php Segmentation fault aashley@dt-pc0144 ~ $