Edit report at https://bugs.php.net/bug.php?id=80418&edit=1
ID: 80418 Updated by: c...@php.net Reported by: jwoehr at softwoehr dot com Summary: pecl install mongodb dumps core at end -Status: Open +Status: Not a bug Type: Bug Package: mongodb Operating System: Linux PHP Version: 7.4.12 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: This is not a PHP issue (see my comment above). Previous Comments: ------------------------------------------------------------------------ [2020-11-26 10:52:54] der...@php.net FWIW, I see the same with Xdebug. ------------------------------------------------------------------------ [2020-11-25 23:26:12] c...@php.net To my knowledge, replacing a .so which is in use is supposed to cause issues. It may work to `rm` the .so first. Anyway, this likely should be reported against the PEAR bug tracker[1], although I don't know whether this could be successful. Probably better to provide a PR to the PEAR repo[2]. [1] <https://pear.php.net/bugs/> [2] <https://github.com/pear/pear-core> ------------------------------------------------------------------------ [2020-11-25 22:42:35] s...@php.net Also seen with OCI8 on Oracle Linux, presumably for the same reason. The testcase was building PHP with OCI8 as a shared extension, then immediately doing 'pecl install oci8-3.0.0.tgz'. This seg faulted. Any later 'pecl uninstall oci8' followed with 'pecl install oci8-3.0.0.tgz' did not dump. ------------------------------------------------------------------------ [2020-11-25 15:42:07] r...@php.net Use the distribution package https://bodhi.fedoraproject.org/updates/FEDORA-2020-50162549b6 ------------------------------------------------------------------------ [2020-11-25 15:11:26] jwoehr at softwoehr dot com Description: ------------ At the end of pecl install mongodb the install dumps core. E.g., on Fedora 33 Server: ``` Build process completed successfully Installing '/usr/lib64/php/modules/mongodb.so' upgrade ok: channel://pecl.php.net/mongodb-1.9.0 configuration option "php_ini" is not set to php.ini location You should add "extension=mongodb.so" to php.ini Segmentation fault (core dumped) ``` The package is, however, correctly installed thereafter. One of Mongodb architects says it comes from changing the .so when it has already been loaded by PHP. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80418&edit=1 -- PECL development discussion Mailing List (https://pecl.php.net/) To unsubscribe, visit: https://www.php.net/unsub.php