[Bug 239837] lang/php7x core dumped when openssl extension installed

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 239837] lang/php7x core dumped when openssl extension installed

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239837

            Bug ID: 239837
           Summary: lang/php7x core dumped when openssl extension
                    installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]

$ uname -rv
12.0-RELEASE-p8 FreeBSD 12.0-RELEASE-p8 GENERIC
$ pkg info | grep php
nextcloud-php72-16.0.1         Personal cloud which runs on your own server
php72-7.2.21                   PHP Scripting Language
php72-bz2-7.2.21               The bz2 shared extension for php
php72-ctype-7.2.21             The ctype shared extension for php
php72-curl-7.2.21              The curl shared extension for php
php72-dom-7.2.21               The dom shared extension for php
php72-exif-7.2.21              The exif shared extension for php
php72-fileinfo-7.2.21          The fileinfo shared extension for php
php72-filter-7.2.21            The filter shared extension for php
php72-gd-7.2.21                The gd shared extension for php
php72-hash-7.2.21              The hash shared extension for php
php72-iconv-7.2.21             The iconv shared extension for php
php72-intl-7.2.21              The intl shared extension for php
php72-json-7.2.21              The json shared extension for php
php72-ldap-7.2.21              The ldap shared extension for php
php72-mbstring-7.2.21          The mbstring shared extension for php
php72-opcache-7.2.21           The opcache shared extension for php
php72-openssl-7.2.21           The openssl shared extension for php
php72-pcntl-7.2.21             The pcntl shared extension for php
php72-pdo-7.2.21               The pdo shared extension for php
php72-pdo_mysql-7.2.21         The pdo_mysql shared extension for php
php72-pdo_sqlite-7.2.21        The pdo_sqlite shared extension for php
php72-pecl-APCu-5.1.17         APC User Caching
php72-phar-7.2.21              The phar shared extension for php
php72-posix-7.2.21             The posix shared extension for php
php72-session-7.2.21           The session shared extension for php
php72-simplexml-7.2.21         The simplexml shared extension for php
php72-sqlite3-7.2.21           The sqlite3 shared extension for php
php72-tokenizer-7.2.21         The tokenizer shared extension for php
php72-wddx-7.2.21              The wddx shared extension for php
php72-xml-7.2.21               The xml shared extension for php
php72-xmlreader-7.2.21         The xmlreader shared extension for php
php72-xmlwriter-7.2.21         The xmlwriter shared extension for php
php72-xsl-7.2.21               The xsl shared extension for php
php72-zip-7.2.21               The zip shared extension for php
php72-zlib-7.2.21              The zlib shared extension for php
roundcube-php72-1.3.9,1        Fully skinnable XHTML/CSS webmail written in PHP

$ pkg info | grep openssl
openssl-1.0.2s,1               SSL and crypto library
php72-openssl-7.2.21           The openssl shared extension for php
py27-openssl-18.0.0            Python interface to the OpenSSL library
py36-openssl-18.0.0            Python interface to the OpenSSL library

$ gdb php
GNU gdb (GDB) 8.3 [GDB v8.3 for FreeBSD]
Copyright (C) 2019 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 "x86_64-portbld-freebsd12.0".
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 php...
(gdb) run php -v
Starting program: /usr/local/bin/php php -v

Program received signal SIGSEGV, Segmentation fault.
0x0000000800ad390c in strcmp () from /lib/libc.so.7
(gdb) bt
#0  0x0000000800ad390c in strcmp () from /lib/libc.so.7
#1  0x0000000801a449ad in lh_insert () from /usr/local/lib/libcrypto.so.9
#2  0x0000000801961b8e in OBJ_NAME_add () from /usr/local/lib/libcrypto.so.9
#3  0x00000008034c4c4d in ?? () from /lib/libcrypto.so.111
#4  0x00000008034c4579 in ?? () from /lib/libcrypto.so.111
#5  0x0000000800739e28 in pthread_once () from /lib/libthr.so.3
#6  0x00000008034c3c29 in CRYPTO_THREAD_run_once () from /lib/libcrypto.so.111
#7  0x00000008034c4027 in OPENSSL_init_crypto () from /lib/libcrypto.so.111
#8  0x000000080323bb7d in OPENSSL_init_ssl () from /usr/lib/libssl.so.111
#9  0x000000080373b88c in zm_startup_openssl () from
/usr/local/lib/php/20170718/openssl.so
#10 0x00000000004e0751 in zend_startup_module_ex ()
#11 0x00000000004e0bec in zend_startup_module_zval ()
#12 0x00000000004efbd2 in zend_hash_apply ()
#13 0x00000000004e0a7f in zend_startup_modules ()
#14 0x00000000004703c7 in php_module_startup ()
#15 0x00000000005b8add in php_cli_startup ()
#16 0x00000000005b77bd in main ()



Disabling the openssl extension will allow php to at least run, but then any
calls to cryptographic functions will cause it to fail.

I've tried building from ports, or installing from pkg, but nothing seems to
help.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 239837] lang/php7x core dumped when openssl extension installed

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239837

Mark Linimon <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[hidden email]      |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"