Sablot / XSLT stability (httpd segfault?)
| From: | Dan Hardiker | Date: | Wed, 28 Aug 2002 11:31:58 +0000 |
| Subject: | Sablot / XSLT stability (httpd segfault?) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87561@lists.php.net to get a copy of this message | ||
Hi all,
After finally getting Sablot to compile itself in (silly mistake), I find
that the following code causes the line in /var/log/messages:
[..] /kernel: pid 15070 (httpd), uid 65534: exited on signal 11
repeated numerous times. The script Im running is as follows:
$xslt = new stdClass;
$xslt->processor = xslt_create();
$xslt->xsl = implode("\n",file($xsl));
echo "Begin Processing";
$xslt->output = xslt_process($xslt->processor, $xslt->xsl, $xml, &$err);
echo "Processed Successfully";
xslt_free($xslt->processor);
The xslt_create command is executed fine, returning a Resource ID #5, the
$xslt->xsl contains a valid XSL document (correctly parsed by IE6), $xml
contains the XML document to transform (correctly parsed by IE6). The line
that is dying is the xslt_process line.
I have no clue how to debug this, Ive heard of doing a "backtrace" but am
unsure of how to do this. Im running FreeBSD v4.6 with PHP v4.3.0-dev
(from CVS) - a URL to info on how to provide more accurate bug information
would help (or a set of instructions).
Thanks.
--
Dan Hardiker [dhardiker@staff.firstcreative.net]
ADAM Software & Systems Engineer
First Creative Ltd