php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24079 Apache child process segfaults or bus error whil trying to use graph functions
Submitted: 2003-06-08 05:20 UTC Modified: 2003-06-08 06:02 UTC
From: devel at interactiva-solutions dot com Assigned:
Status: Closed Package: *Graphics related
PHP Version: 4.3.2 OS: Solaris 9
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: devel at interactiva-solutions dot com
New email:
PHP Version: OS:

 

 [2003-06-08 05:20 UTC] devel at interactiva-solutions dot com
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.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-08 05:25 UTC] derick@php.net
Can you please try with the bundled GD library (--with-gd (without any path)) and if that doesn't help, try using an older libpng (1.x series) as there might be some incompabilities with newer versions.
 [2003-06-08 05:26 UTC] devel at interactiva-solutions dot com
This is only solaris 9 related, not both 8 & 9 , sorry about
mistyping.
 [2003-06-08 06:00 UTC] devel at interactiva-solutions dot com
Ok, that worked. I used built-in GD and no more errors
occured. Thank you!
 [2003-06-08 06:02 UTC] derick@php.net
Great, closing then
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 12:01:27 2024 UTC