php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21548 make install breaks with core dump
Submitted: 2003-01-09 08:05 UTC Modified: 2003-02-07 23:44 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: mario dot pranjic at irb dot hr Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.3.0 OS: Solaris 2.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mario dot pranjic at irb dot hr
New email:
PHP Version: OS:

 

 [2003-01-09 08:05 UTC] mario dot pranjic at irb dot hr
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-09 08:09 UTC] derick@php.net
Can you run the following commands:

$gdb sapi/cli/php core

$bt full

and add the output here?
 [2003-01-09 08:21 UTC] mario dot pranjic at irb dot hr
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:29 UTC] nicos@php.net
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 09:14 UTC] mario dot pranjic at irb dot hr
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
 [2003-01-23 10:33 UTC] sniper@php.net
Are you sure you're using same openssl libs as are
used for Curl?
 [2003-02-07 23:44 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 10:01:28 2024 UTC