php74 dumps core

Luciano Mannucci luciano at vespaperitivo.it
Fri Jul 17 14:51:00 UTC 2020


php 7.4.8 dumps core on my freebsd ppc64 machine.

uname -a says:

FreeBSD Saguaro 11.3-RELEASE-p10 FreeBSD 11.3-RELEASE-p10 #7 r362386: Mon Jun
22 10:27:06 CEST 2020     root at Saguaro:/usr/obj/usr/src/sys/GENERIC64  powerpc

running "php --version" I get:

root at Saguaro:/usr/ports/lang/php74 # php --version
PHP 7.4.8 (cli) (built: Jul 17 2020 16:29:49) ( ZTS DEBUG )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
Segmentation fault (core dumped)

gdb gives me:

root at Saguaro:/usr/ports/lang/php74 # dbg -c /var/spool/zz_corefiles/php.4426.core  /usr/local/bin/php
GNU gdb (GDB) 9.2 [GDB v9.2 for FreeBSD]
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "powerpc64-portbld-freebsd11.3".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/php...
[New LWP 100218]
Core was generated by `php --version'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000051a35e20 in ?? () from /usr/local/lib/libcrypto.so.11
(gdb) bt
#0  0x0000000051a35e20 in ?? () from /usr/local/lib/libcrypto.so.11
#1  0x0000000051a42e80 in ?? () from /usr/local/lib/libcrypto.so.11
#2  0x0000000051a352b0 in ?? () from /usr/local/lib/libcrypto.so.11
#3  0x0000000051a35970 in .OPENSSL_LH_delete () from /usr/local/lib/libcrypto.so.11
#4  0x0000000051a4395c in .OBJ_NAME_remove () from /usr/local/lib/libcrypto.so.11
#5  0x0000000051a43a58 in ?? () from /usr/local/lib/libcrypto.so.11
#6  0x0000000051a35cd0 in .OPENSSL_LH_doall () from /usr/local/lib/libcrypto.so.11
#7  0x0000000051a43d00 in .OBJ_NAME_cleanup () from /usr/local/lib/libcrypto.so.11
#8  0x0000000051a259e0 in ?? () from /usr/local/lib/libcrypto.so.11
#9  0x0000000051a320b8 in .OPENSSL_cleanup () from /usr/local/lib/libcrypto.so.11
#10 0x0000000050c9db48 in __cxa_finalize (dso=0x0) at /usr/src/lib/libc/stdlib/atexit.c:238
#11 0x0000000050c26620 in exit (status=0) at /usr/src/lib/libc/stdlib/exit.c:72
#12 0x000000001062d048 in main (argc=2, argv=0xffffffffffffdb10) at /usr/ports/lang/php74/work/php-7.4.8/sapi/cli/php_cli.c:1397
(gdb) quit

Am I missing something?

Thanks for any help,

Luciano.
-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/


More information about the freebsd-ppc mailing list