From:             [EMAIL PROTECTED]
Operating system: Windows XP
PHP version:      4.3.0
PHP Bug Type:     XSLT related
Bug description:  PHP crashes when processing XSLT files

Here's the information reported by Windows:

AppName: php.exe
AppVer: 4.3.0.0
ModName: msvcrt.dll
ModVer: 7.0.2600.1106
Offset: 00033e05

I have reproduced the crash on two machines - one Intel, one AMD, both
running XP Pro.

I have a tarball which reproduces the crash.  Happy to make it available
to a PHP maintainer.  Also happy to install a debugging build of PHP, if
someone can make one available, to capture more information.

Crash only happens when all the following circumstances are true:

1) Passing XML/XSL as strings through $args array into xslt_process

If Sablotron is told to process files on disk instead, no crash occurs.

2) The same running instance of PHP has been used to process a large
number of XML/XSL files.

Number varies from a few hundred to a few thousand.

You can take the individual XML/XSL pair being processed at the time of
the crash, and Sablotron can process them just fine on their own.

3) Using Sablotron to perform XSL processing.

Calling a command-line processor, or driving one via the Java Extension,
results in no crash at all.

Best regards,
Stu
-- 
Edit bug report at http://bugs.php.net/?id=22147&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22147&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22147&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22147&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22147&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22147&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22147&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22147&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22147&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22147&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22147&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22147&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22147&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22147&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22147&r=gnused

Reply via email to