#30153 [NEW]: FATAL erealloc() error
From: OvdSpek at LIACS dot NL
Operating system: Windows XP
PHP version: 4.3.9RC3
PHP Bug Type: Reproducible crash
Bug description: FATAL erealloc() error
Description:
------------
The following PHP script appears to cause a full crash/restart of my
Apache/2.0.50 (Win32) PHP/4.3.9RC3 Server at localhost Port 80 server on
Windows XP.
http://213.46.64.114/temp/php_crash.bin
http://62.216.18.38/temp/php_crash.bin
Reproduce code:
---------------
<?php
$s = file_get_contents('f:/temp/php_crash.bin');
gzinflate(substr($s, 10));
?>
Expected result:
----------------
No errors.
Actual result:
--------------
FATAL: erealloc(): Unable to allocate 603602944 bytes
[Sun Sep 19 16:11:16 2004] [notice] Parent: child process exited with
status 1 -- Restarting.
[Sun Sep 19 16:11:16 2004] [notice] Parent: Created child process 3908
[Sun Sep 19 16:11:16 2004] [notice] Child 3908: Child process is running
[Sun Sep 19 16:11:16 2004] [notice] Child 3908: Acquired the start mutex.
[Sun Sep 19 16:11:16 2004] [notice] Child 3908: Starting 250 worker
threads.
--
Edit bug report at http://bugs.php.net/?id=30153&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30153&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30153&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30153&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30153&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30153&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30153&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30153&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30153&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30153&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30153&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30153&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30153&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30153&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30153&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30153&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30153&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30153&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30153&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30153&r=mysqlcfg
Thread (20 messages)
- OvdSpek at LIACS dot NL
- OvdSpek at LIACS dot NL#30153 [Opn]: FATAL erealloc() error
- sniper@php.net#30153 [Opn->Ver]: FATAL erealloc() error
- iliaa@php.net#30153 [Ver->Bgs]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Bgs->Opn]: FATAL erealloc() error when using gzinflate()
- sniper@php.net#30153 [Opn->Bgs]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Bgs->Opn]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Opn]: FATAL erealloc() error when using gzinflate()
- derick@php.net#30153 [Opn->Bgs]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Bgs->Opn]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Opn]: FATAL erealloc() error when using gzinflate()
- derick@php.net#30153 [Opn->Bgs]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Bgs]: FATAL erealloc() error when using gzinflate()
- sniper@php.net#30153 [Bgs]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Bgs]: FATAL erealloc() error when using gzinflate()
- OvdSpek at LIACS dot NL#30153 [Bgs]: FATAL erealloc() error when using gzinflate()
- rasmus@php.net#30153 [Bgs->Sus]: FATAL erealloc() error when using gzinflate()
- itsmeaf at gmail dot com#30153 [Com]: FATAL erealloc() error when using gzinflate()
- design at intermost dot ru#30153 [Com]: FATAL erealloc() error when using gzinflate()
- lbarnaud@php.net#30153 [Sus->Fbk]: FATAL erealloc() error when using gzinflate()