#24079 [NEW]: Apache child process segfaults or bus error whil trying to use graph functions
| From: | devel at interactiva-solutions dot com | Date: | Sun, 08 Jun 2003 10:20:25 +0000 |
| Subject: | #24079 [NEW]: Apache child process segfaults or bus error whil trying to use graph functions | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-41444@lists.php.net to get a copy of this message | ||
From: devel at interactiva-solutions dot com
Operating system: Solaris 8 & 9
PHP version: 4.3.2
PHP Bug Type: *Graphics related
Bug description: Apache child process segfaults or bus error whil trying to use graph functions
I've tried this on both Solaris 8 & 9 and with different
compilers and apache/php versions.
Apache is installed following options(v 2.0.46),
I have tried 2.x and 1.3.x apache versions with same result.
./configure --prefix=/opt/www-prod --enable-so
--with-ssl=/usr/local/openssl --enable-ssl ... and some other
options/modules are enabled too.
Php 4.3.2 (And all others versions which I have tried) :
./configure --with-apxs2=/opt/www-prod/bin/apxs --with-mhash=/usr/local
--with-png-dir=/usr/local --with-zlib-dir=/usr/local
--with-jpeg-dir=/usr/local --with-ldap=/opt/openldap --with-gd=/usr/local
--with-java=/usr/j2se --enable-sysvmsg --enable-sysvsem --enable-sysvshm
--with-freetype-dir=/usr/local/ --with-openssl=/usr/local/openssl
--with-mysql=/usr/local/mysql --with-apxs2filter=/opt/www-prod/bin/apxs
--with-db4=/usr/local
Here's lib-versions:
PNG: libpng-1.2.4
Freetype: 2.0
Db4:db-4.1.25
GD:gd-2.0.15
JPEG: 6B
Okay, everything compiles without errors and php_module
installs into apache configuration. Everything works fine
but if I try to use createfrompng() function then
nothing works and there's following errors into apache
error_log:
Sun Jun 08 13:02:20 2003] [notice] child pid 9825 exit signal Bus error
(10)
[Sun Jun 08 13:02:20 2003] [notice] child pid 9814 exit signal
Segmentation fault (11)
[Sun Jun 08 13:02:20 2003] [notice] child pid 9829 exit signal Bus error
(10)
[Sun Jun 08 13:02:20 2003] [notice] child pid 9830 exit signal Bus error
(10)
[Sun Jun 08 13:02:20 2003] [notice] child pid 9828 exit signal Bus error
(10)
I tried to do same install in Linux RH8 and RH 9 and everything works fine
but what could be wrong with Solaris?
Same errors occurs with ALL versions of apache no matter if
2.x or 1.3.x and i have tried latest php and older versions
too.
--
Edit bug report at http://bugs.php.net/?id=24079&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24079&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24079&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24079&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24079&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24079&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24079&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24079&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24079&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24079&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24079&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24079&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24079&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24079&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24079&r=gnused