#39625 [NoF->Opn]: Apache crashes on importStylesheet call
| From: | eugen dot shvatsky at gmail dot com | Date: | Mon, 04 Dec 2006 09:23:57 +0000 |
| Subject: | #39625 [NoF->Opn]: Apache crashes on importStylesheet call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105846@lists.php.net to get a copy of this message | ||
ID: 39625
User updated by: eugen dot shvatsky at gmail dot com
Reported By: eugen dot shvatsky at gmail dot com
-Status: No Feedback
+Status: Open
Bug Type: XSLT related
Operating System: suse 10
PHP Version: 5.2.0
New Comment:
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as
"i586-suse-linux".../usr/local/apache/sbin/httpd: No such file or
directory.
(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Core was generated by `/usr/local/php/bin/php -e do.php'.
Program terminated with signal 11, Segmentation fault.
#0 0x402fcb18 in ?? ()
Previous Comments:
------------------------------------------------------------------------
[2006-12-02 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-11-24 21:07:46] tony2001@php.net
Cannot reproduce with the code provided.
------------------------------------------------------------------------
[2006-11-24 21:03:42] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2006-11-24 19:18:30] eugen dot shvatsky at gmail dot com
Description:
------------
I'm trying to start the XSLT transformation
but apache has gone down!
Apache/2.0.54 (Suse10) PHP/5.2.0
Reproduce code:
---------------
$xsl = new DomDocument();
$xsl->load("file.xsl");
$proc = new XsltProcessor();
$xsl = $proc->importStylesheet($xsl); // on this line apache has gone
...
--------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" ...
>
<xsl:template match="/">
<xsl:value-of select="document('some_xml.xml')" />
</xsl:template>
</xsl:stylesheet>
--------------------------------------
1. file some_xml.xml - dos't exist! but no error, only apache gone
down.
--------------------------------------
2. when I try to use diferent quotes in xsl or xml code!
--------------------------------------
3. if i try $proc->setParameter(null,"name","value");
and "value" have different quotes, i get error.
Expected result:
----------------
normal error in log!!! or exception
Actual result:
--------------
Apache GONE DOWN
NO ERROR MESSAGE
TRY CATCH DOEN'T WORK
MESSAGE "0 answer length by SQUID"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39625&edit=1