php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25384 When Php compiled with support for openssl it broke the SIHUP of apache
Submitted: 2003-09-03 12:30 UTC Modified: 2003-09-03 16:59 UTC
From: sysadmin at destination dot ca Assigned:
Status: Not a bug Package: GD related
PHP Version: 4CVS-2003-09-03 (stable) OS: Linux Redhat 9.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sysadmin at destination dot ca
New email:
PHP Version: OS:

 

 [2003-09-03 12:30 UTC] sysadmin at destination dot ca
Description:
------------
When Php compilled with gd and truetype it give a segmentation fault (11) and the page stop loading.

There is the configuration line :
'./configure' '--with-mysql=/usr/local/mysql' '--with-gd=/usr/local/gd2' '--with-jpeg-dir=/usr/src/jpeg-6b' '--with-freetype-dir=/usr/local/freetype2' '--with-png-dir=/usr/local/libpng' '--with-zlib' '--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/usr/local/apache/conf' '--with-dom=/usr/local/libxml' '--enable-calendar' '--enable-gettext' '--enable-ftp' '--enable-bcmath' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-debug' '--with-gettext' '--with-mm=/usr/lib' '--with-zlib-dir=/usr/lib' '--with-mcrypt=/usr/local/libmcrypt' '--with-snmp=/usr/local/snmp' '--enable-ucd-snmp-hack' '--with-kerberos' '--with-imap=/usr/src/imap-2002c1' '--with-imap-ssl=/usr/local/ssl' '--prefix=/usr/local/php'

If i remove everything about gd,jpeg,gif,freetype it all work fine else it randonly crash.

If i use Gd 1.8.4 it work fine but i need gd 2.0.15 since with gd 1.8.4 you can't use truecolor and add text to a existing image and get a good display like you get in 2.0.15.

there the GDB debug :
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1074459264 (LWP 24649)]
0x404ceabb in gdCacheDelete (head=0x878c6c8) at gdcache.c:90
90            (*(head->gdCacheRelease)) (elem->userdata);
(gdb) bt
#0  0x404ceabb in gdCacheDelete (head=0x878c6c8) at gdcache.c:90
#1  0x404cf6c5 in gdFreeFontCache () at gdft.c:772
#2  0x4010e7f9 in zm_deactivate_gd (type=1, module_number=13) at /usr/src/php4-STABLE-200309031130/ext/gd/gd.c:382
#3  0x4021eab7 in module_registry_cleanup (module=0x8268bf8) at /usr/src/php4-STABLE-200309031130/Zend/zend_API.c:1167
#4  0x4022195d in zend_hash_apply (ht=0x40322d80, apply_func=0x4021ea77 <module_registry_cleanup>)
    at /usr/src/php4-STABLE-200309031130/Zend/zend_hash.c:698
#5  0x4021b30a in zend_deactivate_modules () at /usr/src/php4-STABLE-200309031130/Zend/zend.c:650
#6  0x401e431b in php_request_shutdown (dummy=0x0) at /usr/src/php4-STABLE-200309031130/main/main.c:984
#7  0x40232306 in apache_php_module_main (r=0x8249514, display_source_mode=0)
    at /usr/src/php4-STABLE-200309031130/sapi/apache/sapi_apache.c:60
#8  0x4023323c in send_php (r=0x8249514, display_source_mode=0,
    filename=0x824b274 "/usr/local/www/intranet2/gestion/portail/bannieres/bannieres.php")
    at /usr/src/php4-STABLE-200309031130/sapi/apache/mod_php4.c:620
#9  0x402332b5 in send_parsed_php (r=0x8249514) at /usr/src/php4-STABLE-200309031130/sapi/apache/mod_php4.c:635
#10 0x080a8183 in ap_invoke_handler ()
#11 0x080bcf42 in process_request_internal ()
#12 0x080bcfa1 in ap_process_request ()
#13 0x080b414c in child_main ()
#14 0x080b4312 in make_child ()
#15 0x080b4478 in startup_children ()
#16 0x080b4b15 in standalone_main ()
#17 0x080b534d in main ()
#18 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-03 13:48 UTC] sniper@php.net
We only support bundled GD. Use --with-gd (without path).
Our bundled GD library has several bug fixes and some enhancements too. Based on GD 2.0.15.
 [2003-09-03 14:16 UTC] sysadmin at destination dot ca
Is your lastest bundle support gif format ?
 [2003-09-03 16:59 UTC] sniper@php.net
No, GIF is not supported as long as it's not totally free to use for everyone. Now leave this bogus.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 23:01:31 2024 UTC