Bug #80418 [Opn]: pecl install mongodb dumps core at end
| From: | derick@php.net | Date: | Thu, 26 Nov 2020 10:52:54 +0000 |
| Subject: | Bug #80418 [Opn]: pecl install mongodb dumps core at end | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-17066@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80418&edit=1
ID: 80418
Updated by: derick@php.net
Reported by: jwoehr at softwoehr dot com
Summary: pecl install mongodb dumps core at end
Status: Open
Type: Bug
Package: mongodb
Operating System: Linux
PHP Version: 7.4.12
Block user comment: N
Private report: N
New Comment:
FWIW, I see the same with Xdebug.
Previous Comments:
------------------------------------------------------------------------
[2020-11-25 23:26:12] cmb@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] sixd@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] remi@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