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