#32740 [Opn->Fbk]: signal 11 on make install-pear-installer, xml_parse
| From: | sniper@php.net | Date: | Sat, 23 Apr 2005 17:19:19 +0000 |
| Subject: | #32740 [Opn->Fbk]: signal 11 on make install-pear-installer, xml_parse | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78081@lists.php.net to get a copy of this message | ||
ID: 32740
Updated by: sniper@php.net
Reported By: dev at stalkerbox dot net
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: cygwin/xp
PHP Version: 5CVS-2005-04-18 (dev)
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
Previous Comments:
------------------------------------------------------------------------
[2005-04-21 22:28:19] dev at stalkerbox dot net
this crash occurs in the stock packages of php in the versions
php5-200504180030, php5-STABLE-200504180037, and php-5.0.4, which were
the latest of each at the time of this bug post.
the steps needed to reproduce: =P
tar -xvjf php5-*
cd php5-<tab>
./configure #i normally use only --enable-maintainer-zts
make && make install
------------------------------------------------------------------------
[2005-04-18 08:28:30] derick@php.net
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 to avoid embedding huge scripts into the report.
------------------------------------------------------------------------
[2005-04-18 05:36:26] dev at stalkerbox dot net
Description:
------------
see #30490, closed
signal 11 on <code>make install-pear-installer</code>, in function
xml_parse. reproducible on fresh cygwin on other hosts.
i still have this problem in php5-200504180030,
php5-STABLE-200504180037, and php-5.0.4; using cygwin on windows xp
sp2.
this seems to be a php/xml bug. should this be in pear bugs anyway?
signal 11 at line 802 of /pear/PEAR/Common.php:
<code>if (!xml_parse($xp, $data, 1)) {</code>
does NOT crash (but install doesnt work) if you comment out line 786 of
pear/PEAR/Common.php:
<code>xml_set_element_handler($xp, '_element_start',
'_element_end');</code>
however it doesnt crash within the functions _element_start or
_element_end
Actual result:
--------------
$ make install-pear-installer
Signal 11
make: *** [install-pear-installer] Error 139
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32740&edit=1