For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2005 > php 5.0.5 / Apache 1.3.34 - seg fault + erealloc errors msgs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php 5.0.5 / Apache 1.3.34 - seg fault + erealloc errors msgs
Brian C. Hill

2005-11-23, 6:57 pm

Setup:

php 5.0.5
apache 1.3.34
squirrelmail 1.5.1 (dev only)

gcc 3.3.4 (64-bit)
SunOS 5.8/64

I am seeing these in the apache logs.

FATAL: erealloc(): Unable to allocate 32160319743 bytes
FATAL: erealloc(): Unable to allocate 32160316803 bytes
FATAL: erealloc(): Unable to allocate 32160317088 bytes
[Wed Nov 23 10:22:19 2005] [notice] child pid 9293 exit signal Segmentation Fault (11)
[Wed Nov 23 10:23:30 2005] [notice] child pid 11033 exit signal Segmentation Fault (11)

This happened with various combination of apache 1.3.27, gcc
3.3.2, squirrelmail 1.4.6, and different php build options as well.

I tried even the simplest php configure line:

./configure \
--prefix=/usr/pkg/php \
--with-config-file-path=/etc/php \
--with-apxs

I am guessing this is a 64bit-related botch, since php is
trying to allocate 30 GB of memory, but it is a guess.

I saw the earlier reports about SEGV's with php 4.X, but
indication of what the resolution was. Of course, I did NOT have
problem with php 4.X.

Any clues?

Brian
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com