php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20671 make install failure
Submitted: 2002-11-27 06:03 UTC Modified: 2003-01-17 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: pat dot finnerty at hp dot com Assigned:
Status: No Feedback Package: PEAR related
PHP Version: 4.2.3 OS: TRU64 v5.1a
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: pat dot finnerty at hp dot com
New email:
PHP Version: OS:

 

 [2002-11-27 06:03 UTC] pat dot finnerty at hp dot com
This bug was logged previously as id 20408 but no feedback was provided by the submitter so the bug was closed. I figured its best to open a new one rather than try to get the previous one reopened.

Compiler used: gcc v2.97-tru64-010710
make: GNU Make version 3.79.1

Also compiled with native compiler with same results.

./configure  --prefix=/usr/local/testphp --with-apxs=/usr/local/apache/bin/apxs --with-bz2   --with-png --with-png-dir=/usr/local/lib  --with-zlib --with-layout=GNU --with-pgsql --with-ldap

gmake
.
( a few warnings here )
.
.
gmake install
Installing PHP SAPI module
[activating module `php4' in /usr/internet/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/internet/httpd/libexec_test/libphp4.so
chmod 755 /usr/internet/httpd/libexec_test/libphp4.so
cp /usr/internet/httpd/conf/httpd.conf /usr/internet/httpd/conf/httpd.conf.bak
cp /usr/internet/httpd/conf/httpd.conf.new /usr/internet/httpd/conf/httpd.conf
rm /usr/internet/httpd/conf/httpd.conf.new
Installing shared extensions:     /usr/local/testphp/lib/php/20020429/
Installing PHP CLI binary:        /usr/local/testphp/bin/
Installing PEAR environment:      /usr/local/testphp/share/pear/
Unaligned access pid=826049 <php> va=0x140055d2c pc=0x120168658 ra=0x120167bb0 inst=0xb4290000
Unaligned access pid=826049 <php> va=0x140057434 pc=0x120168658 ra=0x120167bb0 inst=0xb4290000
Unaligned access pid=826049 <php> va=0x140055fbc pc=0x120168658 ra=0x12002d7b0 inst=0xb4290000
/bin/sh: 826049 Memory fault - core dumped
gmake[1]: *** [install-pear-installer] Error 139
gmake: *** [install-pear] Error 2



gdb sapi/cli/php core
GNU gdb 5.0-tru64-010710
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alphaev56-dec-osf5.1"...

warning: big endian file does not match little endian target.
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /sbin/loader...done.
Loaded symbols for /sbin/loader
Reading symbols from /usr/local/pgsql/lib/libpq.so.2.2...done.
Loaded symbols for /usr/local/pgsql/lib/libpq.so.2.2
Reading symbols from /usr/local/lib/libldap.so...done.
Loaded symbols for /usr/local/lib/libldap.so
Reading symbols from /usr/local/lib/liblber.so...done.
Loaded symbols for /usr/local/lib/liblber.so
Reading symbols from /usr/local/lib/libz.so...done.
Loaded symbols for /usr/local/lib/libz.so
Reading symbols from /usr/shlib/libcrypt.so...done.
Loaded symbols for /usr/shlib/libcrypt.so
Reading symbols from /usr/shlib/libm.so...done.
Loaded symbols for /usr/shlib/libm.so
Reading symbols from /usr/shlib/libc.so...done.
Loaded symbols for /usr/shlib/libc.so
Reading symbols from /usr/shlib/libbasecrypt.so...done.
Loaded symbols for /usr/shlib/libbasecrypt.so
Reading symbols from /usr/shlib/librt.so...done.
Loaded symbols for /usr/shlib/librt.so
Reading symbols from /usr/shlib/libcxx.so...done.
Loaded symbols for /usr/shlib/libcxx.so
Reading symbols from /usr/shlib/libpthread.so...done.
Loaded symbols for /usr/shlib/libpthread.so
Reading symbols from /usr/shlib/libexc.so...done.
Loaded symbols for /usr/shlib/libexc.so
#0  0x3ff8057d728 in __nxm_thread_kill () from /usr/shlib/libpthread.so
(gdb) bt
#0  0x3ff8057d728 in __nxm_thread_kill () from /usr/shlib/libpthread.so
#1  0x3ff80576564 in pthread_kill () from /usr/shlib/libpthread.so
#2  0x3ff80581aec in __excInit () from /usr/shlib/libpthread.so
#3  0x3ff807e3aa4 in exc_unwind_rfp () from /usr/shlib/libexc.so
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x11ffe4730
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
(gdb) set heuristic-fence-post 0
(gdb) bt
#0  0x3ff8057d728 in __nxm_thread_kill () from /usr/shlib/libpthread.so
#1  0x3ff80576564 in pthread_kill () from /usr/shlib/libpthread.so
#2  0x3ff80581aec in __excInit () from /usr/shlib/libpthread.so
#3  0x3ff807e3aa4 in exc_unwind_rfp () from /usr/shlib/libexc.so
warning: Hit beginning of text section without finding
warning: enclosing function for address 0x11ffe4730
(gdb)

Thats it.

Pat.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-28 22:07 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

If you still experience the problem, try doing 'make test', this will run the PHP testsuite and hopefuly produce a better coredump as well as provide a sample script that can be used to repliocate the problem.
 [2002-12-03 07:59 UTC] pat dot finnerty at hp dot com
I tried the latest build but results were the same.

I ran make test and emailed results to the php-qa address.
This is the summary:
=====================================================================
TIME END 2002-12-03 12:39:17
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :   77
Exts tested     :   13
---------------------------------------------------------------------
Number of tests :  432
Tests skipped   :  220 (50.9%)
Tests failed    :   15 ( 3.5%)
Tests passed    :  197 (45.6%)
---------------------------------------------------------------------
Time taken      :   62 seconds
=====================================================================


The core file that was produced didn't show any different info when I ran gdb on it.

Where should the sample script to replicate the problem be located?

- Pat.
 [2003-01-01 16:38 UTC] mj@php.net
Could you please try PHP 4.3.0?
 [2003-01-17 01:00 UTC] pear-dev at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC