#32266 [NEW]: Apache with PHP as module crashes
| From: | ew at telecom dot by | Date: | Thu, 10 Mar 2005 16:49:02 +0000 |
| Subject: | #32266 [NEW]: Apache with PHP as module crashes | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-75215@lists.php.net to get a copy of this message | ||
From: ew at telecom dot by
Operating system: windows
PHP version: Irrelevant
PHP Bug Type: XML related
Bug description: Apache with PHP as module crashes
Description:
------------
Apache CRASHES (PHP is used as Apache module) when trying to parse simple
XML document (few xml tags, generally, it does not depends on XML document
size or/and structure) using xml_parser_create() / xml_parse() functions.
This bug is not stable - on some machines it happens, on others - not.
Main condition for bug to happen is to use handlers
xml_set_element_handler().
Sometimes it's possible to avoid the bug by placing some operators or
lines of code like: $a = 'gfdhfghdfgh';
in start_element_handler.
I was trying to play PHP settings, to disconnect different extensions
and/or Zend Optimizer and so on. This gave no effect.
Both PHP 4.3.x and 5.0.0.x are bug-liable.
Reproduce code:
---------------
It's impossible to make reproduction code because of bug appearance
instability.
--
Edit bug report at http://bugs.php.net/?id=32266&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32266&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32266&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32266&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32266&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32266&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32266&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32266&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32266&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32266&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32266&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32266&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32266&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32266&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32266&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32266&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32266&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32266&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32266&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32266&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32266&r=mysqlcfg