ID: 30660
Updated by: [EMAIL PROTECTED]
Reported By: margus at zone dot ee
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: SuSe Linux 9.0
PHP Version: 5.0.2
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2004-11-02 13:26:02] margus at zone dot ee
Description:
------------
When building and using Tidy extension separately as shared module,
then PHP-CLI crashes at the end.
Everything seems to work, when compiling the extension directly into
PHP binary.
Reproduce code:
---------------
build LIBTIDY:
- /bin/sh build/gnuauto/setup.sh
- ./configure --with-prefix=/usr
- make
- make install
- ldconfig
build PHP5 (5.0.2):
- ./configure --with-tidy=shared,/usr
- make
changes in PHP.INI:
extension_dir=.
script tidytest.php:
<?php
dl ('modules/tidy.so');
$tidy = tidy_parse_string ("<HTML></HTML>");
echo "Exiting...";
?>
Expected result:
----------------
Exiting...
Actual result:
--------------
Exiting...Segmentation Fault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30660&edit=1