ID: 21548
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: Solaris 2.7
PHP Version: 4.3.0
New Comment:
I did:
gdb php core
bt full
Below is the output:
#0 0xfebb6a7c in strcmp () from /usr/lib/libc.so.1
No symbol table info available.
#1 0xfef6a5e0 in obj_name_cmp () from /usr/local/pgsql/lib/libpq.so.2
No symbol table info available.
#2 0xfef687f8 in getrn () from /usr/local/pgsql/lib/libpq.so.2
No symbol table info available.
#3 0xfef68460 in lh_insert () from /usr/local/pgsql/lib/libpq.so.2
No symbol table info available.
#4 0xfef6a188 in OBJ_NAME_add () from /usr/local/pgsql/lib/libpq.so.2
No symbol table info available.
#5 0xfef6d35c in EVP_add_digest () from
/usr/local/pgsql/lib/libpq.so.2
No symbol table info available.
#6 0xfed764a8 in OpenSSL_add_all_digests () from
/usr/local/lib/libcrypto.so.0.9.6
No symbol table info available.
#7 0x0005e2c4 in zm_startup_openssl (type=1, module_number=9) at
/opt/install/source/php-4.3.0/ext/openssl/openssl.c:538
config_filename = 0x1c9f18 ""
#8 0x00130ee4 in zend_startup_module (module=0x1adc04) at
/opt/install/source/php-4.3.0/Zend/zend_API.c:1008
No locals.
#9 0x00100668 in php_startup_extensions (ptr=0x1b9424, count=1807420)
at /opt/install/source/php-4.3.0/main/main.c:986
end = (zend_module_entry **) 0x1b943c
#10 0x0014a03c in php_startup_internal_extensions () at
main/internal_functions_cli.c:79
No locals.
#11 0x00100c30 in php_module_startup (sf=0xffbefb88,
additional_modules=0x0, num_additional_modules=0)
at /opt/install/source/php-4.3.0/main/main.c:1151
zuf = {error_function = 0xff3e4 <php_error_cb>, printf_function
= 0xfee94 <php_printf>,
write_function = 0x100620 <php_body_write_wrapper>, fopen_function =
0xffa3c <php_fopen_wrapper_for_zend>,
message_handler = 0xffaac <php_message_handler_for_zend>,
block_interruptions = 0, unblock_interruptions = 0,
get_configuration_directive = 0xffa70
<php_get_configuration_directive_for_zend>,
ticks_function = 0x10abd8 <php_run_ticks>, on_timeout = 0xffc68
<php_on_timeout>}
zuv = {import_use_extension = 0x161e28 ".php",
import_use_extension_length = 0, html_errors = 0 '\0'}
php_os = 0x161da8 "SunOS"
i = 1449632
#12 0x00148f20 in main (argc=2, argv=0xffbefd4c) at
/opt/install/source/php-4.3.0/sapi/cli/php_cli.c:481
exit_status = 0
c = -4260984
file_handle = {type = 255 '�', filename = 0x2dd90
"@\004p�\001", opened_path = 0x3 <Address 0x3 out of bounds>,
handle = {fd = -4260532, fp = 0xffbefd4c}, free_filename = 0 '\0'}
behavior = 1
orig_optind = 1
orig_optarg = 0x0
arg_free = 0x1 <Address 0x1 out of bounds>
script_file = 0x0
global_vars = {head = 0x0, tail = 0x0, size = 0, count =
1352040, dtor = 0xfec382b8 <exitfns_lock>,
persistent = 254 '�', traverse_ptr = 0x0}
interactive = 0
module_started = 0
exec_direct = 0x0
param_error = 0x0
Previous Comments:
------------------------------------------------------------------------
[2003-01-09 08:29:45] [EMAIL PROTECTED]
please run :
gdb sapi/cli/php core
then under gdb type:
bt full
Don't forget the gdb at the beginning please.
Thank you.
------------------------------------------------------------------------
[2003-01-09 08:21:50] [EMAIL PROTECTED]
nippur:/opt/install/source/php-4.3.0/sapi/cli # ./php core
Segmentation Fault (core dumped)
What is the second command?
------------------------------------------------------------------------
[2003-01-09 08:09:14] [EMAIL PROTECTED]
Can you run the following commands:
$gdb sapi/cli/php core
$bt full
and add the output here?
------------------------------------------------------------------------
[2003-01-09 08:05:42] [EMAIL PROTECTED]
Apache 2.0.43
php 4.3.0
Configure options:
./configure --prefix=/usr/local/php-4.3.0 \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-openssl=/usr/local/ssl \
--with-informix=/services/informix \
--with-gd \
--with-curl \
--enable-gd-native-ttf \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-pgsql=/usr/local/pgsql \
--with-mysql=/services/mysql
Configure and make do the job just fine (I had problems with make due
to the non-GNU sed, but that is settled now).
But make install cracks with the following output:
Installing PHP CLI binary: /usr/local/php-4.3.0/bin/
Installing PHP SAPI module
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.so /usr/local/apache2/modules/libphp4.so
chmod +x /usr/local/apache2/modules/libphp4.so
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/opt/install/source/php-4.3.0/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
Installing shared extensions:
/usr/local/php-4.3.0/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment: /usr/local/php-4.3.0/lib/php/
Segmentation Fault - core dumped
make[1]: *** [install-pear-installer] Error 139
make: *** [install-pear] Error 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21548&edit=1