#23308 [Opn->Fbk]: PHP Interpreter dies with Bus Error (Signal 10) (HP-UX 64bit/Vendor cc)
| From: | sniper@php.net | Date: | Thu, 24 Apr 2003 08:28:35 +0000 |
| Subject: | #23308 [Opn->Fbk]: PHP Interpreter dies with Bus Error (Signal 10) (HP-UX 64bit/Vendor cc) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-38270@lists.php.net to get a copy of this message | ||
ID: 23308
Updated by: sniper@php.net
Reported By: pavel dot may at csun dot edu
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: HP-UX 11i (11.11)
PHP Version: 4.3.1
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-04-23 18:10:59] pavel dot may at csun dot edu
More accurate summary
------------------------------------------------------------------------
[2003-04-23 18:09:15] pavel dot may at csun dot edu
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
OpenSSL private key functions [ext/openssl/tests/001.phpt]
Bug #21131: fopen($filename, "a+") has broken position
[ext/standard/tests/file/bug21131.phpt]
Various pow() tests [ext/standard/tests/math/pow.phpt]
Test strtoupper on non-ASCII characters
[ext/standard/tests/strings/strtoupper.phpt]
strtotime() function [ext/standard/tests/time/002.phpt]
Check for mktime with out-of-range parameters
[ext/standard/tests/time/003.phpt]
=====================================================================
Configure parameters:
--prefix=/opt/php-4.3.1 --bindir=/opt/php-4.3.1/bin/pa11_32
--libdir=/opt/php-4.3.1/bin/pa11_32
--sbindir=/opt/php-4.3.1/sbin/pa11_32 --enable-sigchild
--with-openssl=/opt/openssl-0.9.7b/pa_1.1 --with-zlib --with-flatfile
--disable-cgi --without-mysql
The bundled MySQL stuff fails rather spectacularly under my setup, if
there is interest as to how (even under HPPA 1.1 32bit build rules),
I'll be more then glad to respond / file a different bug.
------------------------------------------------------------------------
[2003-04-23 11:33:12] pavel dot may at csun dot edu
Most excellent. I'll see what I can find out on my end by
experimenting, too.b
------------------------------------------------------------------------
[2003-04-22 21:53:01] rasmus@php.net
There are quite a few 64-bit fixes/changes that have gone into CVS
since 4.3.1. A lot of them by an HP engineer in Cupertino. I'll see
if I can poke him to take a look at this bug report.
------------------------------------------------------------------------
[2003-04-22 21:45:12] pavel dot may at csun dot edu
Re: GetTimeOfDay and UniqID:
From the 4.3.2-RC config.log:
configure:20209: checking for gettimeofday
configure:20259: cc -o conftest +DD64 +z -I/usr/local/include
-I/usr/include -I/usr/ccs/include -I/opt/include +DD64 +z
-I/usr/local/include -I/usr/include -I/usr/ccs/include -I/opt/include
+s +z +DD64 -L/lib/pa20_64 -L/opt/lib/pa20_64 -L/usr/local/lib
-L/usr/ccs/lib -L/usr/lib
-L/opt/local/appdev/software/oracle/product/8.1.7/lib64
-L/opt/local/appdev/software/oracle/product/8.1.7/lib conftes
t.c -lm -lpthread -lcl -lnsl -lnm -ldld -lm -lc -lsec >&5
cc: warning 422: Unknown option "s" ignored.
cc: "configure", line 20317: warning 573: Parameter list is
inconsistent for "gettimeofday".
cc: "configure", line 20317: error 1584: Inconsistent type declaration:
"gettimeofday".
cc: "configure", line 20324: warning 604: Pointers are not
assignment-compatible.
cc: "configure", line 20333: warning 605: Illegal pointer combination
for !=.
configure:20262: $? = 1
configure: failed program was:
| #line 20214 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define YYTEXT_POINTER 1
| #define PHP_APACHE_HAVE_CLIENT_FD 1
| #define MISSING_LOCALTIME_R_DECL 1
| #define MISSING_GMTIME_R_DECL 1
| #define MISSING_ASCTIME_R_DECL 1
| #define MISSING_CTIME_R_DECL 1
| #define MISSING_STRTOK_R_DECL 1
| #define HAVE_SENDMAIL 1
| #define HAVE_SOCKET 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_YP_GET_DEFAULT_DOMAIN 1
| #define HAVE_DLOPEN 1
| #define HAVE_LIBDL 1
| #define HAVE_LIBM 1
| #define HAVE_RES_SEARCH 1
| #define HAVE_INET_ATON 1
| #define HAVE_DN_SKIPNAME 1
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define MISSING_FCLOSE_DECL 0
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ARPA_NAMESER_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CRYPT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LANGINFO_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MONETARY_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_PWD_H 1
| #define HAVE_RESOLV_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_SYSEXITS_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_SYS_RESOURCE_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_IPC_H 1
| #define HAVE_BROKEN_GLIBC_FOPEN_APPEND 1
| #define HAVE_TZNAME 1
| #define HAVE_STRUCT_FLOCK 1
| #define HAVE_SOCKLEN_T 1
| #define SIZEOF_LONG 8
| #define SIZEOF_INT 4
| #define HAVE_VPRINTF 1
| #define HAVE_DOPRNT 1
| #define HAVE_ALPHASORT 1
| #define HAVE_ASCTIME_R 1
| #define HAVE_CHROOT 1
| #define HAVE_CTIME_R 1
| #define HAVE_CUSERID 1
| #define HAVE_CRYPT 1
| #define HAVE_FTOK 1
| #define HAVE_GCVT 1
| #define HAVE_GETLOGIN 1
| #define HAVE_GETPROTOBYNAME 1
| #define HAVE_GETPROTOBYNUMBER 1
| #define HAVE_GETSERVBYNAME 1
| #define HAVE_GETSERVBYPORT 1
| #define HAVE_GETRUSAGE 1
| /* end confdefs.h. */
| /* System header to define __stub macros and hopefully few
prototypes,
| which can conflict with char gettimeofday (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char gettimeofday ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_gettimeofday) || defined (__stub___gettimeofday)
| choke me
| #else
| char (*f) () = gettimeofday;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != gettimeofday;
| ;
| return 0;
| }
configure:20279: result: no
Oddly enough, in 4.3.1 under 'you will compile HPPA 1.1/32bit targets'
regime, config.log has:
configure:13876: checking for gettimeofday
configure:13904: cc -o conftest +DA1.1 +z -I/usr/local/include
-I/usr/include -I/usr/ccs/include +DA1.1 +z -I/usr/local/include
-I/usr/include -I/usr/ccs/include +s -L/usr/local/lib -L/usr/ccs/lib
-L/usr/lib -L/opt/local/appdev/software/oracle/product/8.1.7/lib64
-L/opt/local/appdev/software/oracle/product/8.1.7/lib conftest.c -lm
-lcl -lpthread -lnsl -lnm -ldld -lm -lc -lcrypt -lsec 1>&5
cc: warning 422: Unknown option "s" ignored.
------------------------------------------------------------------------
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/23308
--
Edit this bug report at http://bugs.php.net/?id=23308&edit=1