Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77839 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30020 invoked from network); 10 Oct 2014 08:39:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Oct 2014 08:39:36 -0000 Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 217.70.183.196 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 217.70.183.196 relay4-d.mail.gandi.net Received: from [217.70.183.196] ([217.70.183.196:51125] helo=relay4-d.mail.gandi.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/10-29144-54B97345 for ; Fri, 10 Oct 2014 04:39:35 -0400 Received: from mfilter35-d.gandi.net (mfilter35-d.gandi.net [217.70.178.166]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id AFEE117207C for ; Fri, 10 Oct 2014 10:39:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter35-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter35-d.gandi.net (mfilter35-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id XFPff-cZuglk for ; Fri, 10 Oct 2014 10:39:29 +0200 (CEST) X-Originating-IP: 82.241.130.121 Received: from schrodingerscat.famillecollet.com (pom51-2-82-241-130-121.fbx.proxad.net [82.241.130.121]) (Authenticated sender: contact@ll-experts.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 5432A1720BC for ; Fri, 10 Oct 2014 10:39:29 +0200 (CEST) Message-ID: <54379B40.6020403@fedoraproject.org> Date: Fri, 10 Oct 2014 10:39:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: GMP memory allocator, various issues From: remi@fedoraproject.org (Remi Collet) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 =3D> segfaults - - apache + mod_php + mod_gnutls + gmp =3D> segfaults - - php + gmp + odbc + freetds =3D> se'gfaults The simple proposal will be to drop the mp_set_memory_functions call. Any other (better) idea ? Remi -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlQ3m0AACgkQYUppBSnxahjmJgCbBXum9FXacENC+Gwf/DDgDNvF vxAAoOyywFiAqFK4ykqAB4gz8OZFFHQi =3DuKGJ -----END PGP SIGNATURE-----