php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42018 Zero Sized Reply
Submitted: 2007-07-17 11:21 UTC Modified: 2007-07-20 23:18 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: shabeel at poornam dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.4.7 OS: Apache/1.3.37
Private report: No CVE-ID: None
 [2007-07-17 11:21 UTC] shabeel at poornam dot com
Description:
------------
Hi
Im getting this apache in logs as 
Ouch!  malloc(5723244) failed in malloc_block()
and in front end as Zero Sized Reply

Our developer said it worked in previous server , the problem started when our application moved to new server

This is the configuration command.
'./configure' '--prefix=/usr/local' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-zend-multibyte' '--enable-bcmath' '--with-bz2' '--enable-calendar' '--with-curl' '--enable-dbase' '--with-dom' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--with-gmp' '--with-iconv' '--enable-mbstring' '--with-mcrypt' '--enable-memory-limit' '--with-mhash' '--with-ming' '--with-ncurses' '--with-openssl' '--with-openssl-dir=/usr' '--enable-pcntl' '--with-pgsql' '--with-pspell' '--enable-shmop' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-xmlrpc' '--with-zlib' '--disable-debug' '--enable-dba' '--with-cdb' '--with-db4' '--with-flatfile' '--with-gdbm' '--with-inifile' '--enable-dbx' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--enable-gd-jis-conv' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--with-imap=' '--with-imap-ssl' '--with-mysql=/usr' '--with-unixODBC=/usr' '--with-iodbc=/usr' '--with-readline' '--enable-xslt' '--with-xslt-sablot' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-mm' '--enable-mbstr-enc-trans' '--enable-mbregex' '--enable-magic-quotes' '--with-mysqli' '--enable-discard-path' '--with-pdflib' '--with-pear' '--enable-safe-mode' '--enable-track-vars' '--with-ttf' '--with-zip'


Could you please figure out ?

This is the link of the application.
http://foreverasoldier.com/MyPet/index.php?option=com_staticxt&staticfile=index.php
login : bug/testing

Create a card with charachaters + background and publish , here occurs the problem.

and here are the phpinfo of new and old server
http://foreverasoldier.com/info.php (New Server)
http://substormmedia.com/~segull/info.php (Old Server)



 

Regards
Shabeel


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-17 12:39 UTC] johannes@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.
 [2007-07-17 13:46 UTC] shabeel at poornam dot com
As I said it works in old server but not in old .
So is there any relevance in checking the codes ?
 [2007-07-18 15:40 UTC] shabeel at poornam dot com
The issue is solved after recomplied php with falsh support module :)
 [2007-07-20 23:18 UTC] jani@php.net
So no bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC