Re: GMP memory allocator, various issues
| From: | Remi Collet | Date: | Tue, 21 Oct 2014 06:01:21 +0000 |
| Subject: | Re: GMP memory allocator, various issues | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78173@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le 10/10/2014 10:39, Remi Collet a écrit :
> Hi,
>
> See https://bugs.php.net/63595
>
>
> Short, changing gmp memory allocator can cause segfaults in
> various case where gnutls is used and initialized "before" gmp.
>
> - php + gmp + curl => segfaults - apache + mod_php + mod_gnutls +
> gmp => segfaults - php + gmp + odbc + freetds => segfaults
>
>
> The simple proposal will be to drop the mp_set_memory_functions
> call.
As this seems to be the only sane solution,
I plan to fix 5.5+ in the next days (before next RC).
Remi.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlRF9rEACgkQYUppBSnxahi89QCg0qIhYjcgL8JeIuLap52zeuHl
COgAoO/8tWvamKVqktZWYh5h0Dhwd5Wr
=W5g2
-----END PGP SIGNATURE-----