php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8412 transformations hang
Submitted: 2000-12-25 03:56 UTC Modified: 2001-07-30 18:35 UTC
From: norny at geocities dot com Assigned: sterling (profile)
Status: Closed Package: Sablotron XSL
PHP Version: 4.0.4, 4.0.5 OS: Linux 2.2.17, 2.4.5
Private report: No CVE-ID: None
 [2000-12-25 03:56 UTC] norny at geocities dot com
My install hangs when hitting reload a lot and my httpd processes suck up my resources until the script times out. It takes between 5-15 quick reloads before it hangs. This seems to only happen when I grab stuff from MySQL in the same script as when I'm doing a transformation.

' ./configure' '--with-mysql' '--enable-track-vars' '--with-mcrypt' '--enable-ftp' '--enable-sockets' '--with-sablot' '--enable-sablot-errors-descriptive' '--with-apache=../apache_1.3.14' '--with-zlib'

I'm using Sablotron 0.44.1 and Expat 1.1.2.

A script with just MySQL works fine, and a script with just a transformation works fine.

I don't see anything additionally descriptive about  --enable-sablot-errors-descriptive either

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-05 14:29 UTC] sterling@php.net
try this with the newest sablotron and php and let me know
what happens...
 [2001-04-09 19:42 UTC] norny at geocities dot com
I don't have that machine available anymore to help test if it works or not... at least not in a reasonable amount of time before 4.0.5 gets out.
 [2001-04-24 17:50 UTC] sterling@php.net
Ok, try it and re-open the report if it happens.  I've used
MySQL and Sablotron together fine...
 [2001-05-29 05:37 UTC] norny at geocities dot com
There is still a problem, but I've narrowed it down a bit. I'm using the newest Sablotron as you suggested. The problem still occurs when MySQL and XSL transformations are in the same script, but my httpd process only hangs when I do mysql stuff like this:

$xsl_resource = xslt_create();

// insert mysql stuff here

xslt_output_begintransform($xslfile);
xslt_process($xsl, $xml, $outcome);
xslt_free($xsl_resource);

If I do all the MySQL stuff before I call xslt_create(), it doesn't seem to hang.
 [2001-07-30 18:35 UTC] sterling@php.net
please upgrade to the new XSLT extension (--enable-xslt 
--with-xslt-sablot) as all new development is focused 
there.

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Jul 05 14:01:39 2020 UTC