ID:               26264
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Joerg dot Dieter dot Friedrich at uni-konstanz dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         *General Issues
 Operating System: Solaris 9
 PHP Version:      4.3.4
 New Comment:

Remove the '--with-gettext' and try again.



Previous Comments:
------------------------------------------------------------------------

[2003-11-25 10:12:50] Joerg dot Dieter dot Friedrich at uni-konstanz
dot de

<[EMAIL PROTECTED]:/usr/local/src/php-4.3.4>$ php -i  | head -20
phpinfo()
PHP Version => 4.3.4
 
System => SunOS thurn 5.9 Generic_112233-08 sun4u
Build Date => Nov 24 2003 13:49:46
Configure Command =>  './configure' '--prefix=/opt/php4'
'--with-apxs=/opt/apache/bin/apxs' '--sysconfdir=/opt/etc/php4'
'--with-config-file-path=/opt/etc/php4' '--disable-debug' '--with-gd'
'--with-jpeg-dir=/usr/sfw' '--with-png-dir=/usr/sfw' '--with-zlib'
'--with-imap=/usr/local/src/imap-2002e' '--with-mysql=/opt/mysql'
'--with-mysql-sock=/var/run/mysql/sock' '--enable-dba'
'--with-db4=/usr/local' '--with-ndbm' '--with-ldap=/usr/local'
'--with-gettext' '--with-pear' '--enable-safe-mode' '--enable-bcmath'
'--enable-calendar' '--enable-ftp' '--enable-sysvmsg'
'--enable-sysvsem' '--enable-sysvshm' '--with-mcrypt=/usr/local'
'--with-xml' '--with-dom' '--with-dom-xslt' '--with-dom-exsl'
'--enable-mime-magic=/opt/etc/apache/magic' '--with-iconv'
'--enable-mbstring=all' '--with-expat-dir=/usr/local'
'--with-openssl=/usr/local/ssl'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /opt/etc/php4/php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => disabled
Registered PHP Streams => php, http, ftp, https, ftps, compress.zlib
 
 
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
 
<[EMAIL PROTECTED]:/usr/local/src/php-4.3.4>$ grep '\-O' Makefile
CFLAGS_CLEAN = -g -O2

------------------------------------------------------------------------

[2003-11-25 02:58:23] [EMAIL PROTECTED]

What was the optimizing option (-Ox where x is some number) for gcc for
this last build? And are you absolutely sure none of those shared
extensions are not loaded in any php.ini files anymore?


------------------------------------------------------------------------

[2003-11-24 08:06:42] Joerg dot Dieter dot Friedrich at uni-konstanz
dot de

It's me again.
I just compiled everything static.
running the script form commandline doesn't segfault anymore, but the
apache1 module still segfaults!
gdb showed:
(gdb) run -X
Starting program: /opt/apache/bin/httpd -X
warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 00000074
warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 00000074
 
Program received signal SIGSEGV, Segmentation fault.
0xfddb4624 in shutdown_memory_manager (silent=1, clean_cache=18432) at
/usr/local/src/php-4.3.4/Zend/zend_alloc.c:531
531                             REMOVE_POINTER_FROM_LIST(t);
(gdb) bt
#0  0xfddb4624 in shutdown_memory_manager (silent=1, clean_cache=18432)
at /usr/local/src/php-4.3.4/Zend/zend_alloc.c:531
#1  0xfdd94980 in php_request_shutdown (dummy=0x0) at
/usr/local/src/php-4.3.4/main/main.c:1005
#2  0xfddd577c in apache_php_module_main (r=0x0,
display_source_mode=-35825944) at
/usr/local/src/php-4.3.4/sapi/apache/sapi_apache.c:60

------------------------------------------------------------------------

[2003-11-24 01:04:07] Joerg dot Dieter dot Friedrich at uni-konstanz
dot de

No, I only compiled iconv and mbstring static, but I'll test today.
And yes I always remove the old buildtree and unpack a new one.

------------------------------------------------------------------------

[2003-11-23 21:09:28] [EMAIL PROTECTED]

Every extension compiled as 'static' ?? And you're using clean
sources?


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/26264

-- 
Edit this bug report at http://bugs.php.net/?id=26264&edit=1

Reply via email to