Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2019 22:50:44 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        Kurt Jaeger <pi@freebsd.org>, Marcel Bonnet <marcelbonnet@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: PHP 7.2: SIGSEGV in OpenSSL
Message-ID:  <20190424205044.ll3rsu3hhfwxrxof@atuin.in.mat.cc>
In-Reply-To: <0D187548-4221-4DA5-9A22-8478D9FB32F3@lassitu.de>
References:  <67841009-B4BC-4F0A-BB53-77487EE19CBD@lassitu.de> <CAPe0dBk7DAq9cWSzjwcKGzadjeDtjcmz3KmQq2hD=sYf-JOgKQ@mail.gmail.com> <20190423160110.GS72200@home.opsec.eu> <0D187548-4221-4DA5-9A22-8478D9FB32F3@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--zj5rbwgmj3kfz3pc
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 24, 2019 at 06:34:06PM +0200, Stefan Bethke wrote:
> > Am 23.04.2019 um 18:01 schrieb Kurt Jaeger <pi@freebsd.org>:
> >=20
> > Hi!
> >=20
> >> Did you find a solution? Please let me know.
> >=20
> > There's a well-known problem in the sequence in which php modules
> > are loaded. I don't know if this is the case here as well,
> > but that's what we do:
> >=20
> > fetch -o fixphpextorder \
> >        https://people.freebsd.org/~ohauer/scripts/fixphpextorder.sh
> > chmod 755 fixphpextorder
> >=20
> > cd /usr/local/etc/php
> > cat ext-*ini > extensions.ini
> > fixphpextorder
> > mv extensions.ini.new extensions.ini
> > rm ext-*ini
> >=20
> > Please test and report if it fixes the problem.
>=20
> Thanks Kurt, it appears to fix (or at least work around) the problem.
>=20
> Why is the default load order broken? Why does it not affect everyone?
>=20
> I moved all the individual inis into a bak subdir, and now only have an e=
xtensions.ini.
>=20
> If I understand correctly, mod_php/PHP reads the individual inis in order=
=2E Why aren=E2=80=99t they in the right order? Can this be fixed in the po=
rts for the PHP modules?

Could you give the order that works for you, so that we can try to
figure out which module is making it break ?

Because there is no "right" order, there is an order that can work for
most people, and from time to time, two libs have conflicting symbols,
but it is not possible to detect that.  So I made up an order that
should be ok, but some time is not.

--=20
Mathieu Arnold

--zj5rbwgmj3kfz3pc
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlzAzCRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB
QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD
zkh63A//e4rTfHBAsnbi8ZXbPhHIpzqKJGPodkrqof+bky3XsMsdaq6dY+Vu2ohZ
gp93doVdxEWu6bl3rwbBVupLt4Yu3QsjQFiApScsiL+EDkVtLpXtaFAFyamrz5PF
/nLTX6MLS0xt50K5jHAsNSQzgKOzufXoZo8Exor1OUmTNIguQ7sqt7X8Fq5QtZlY
L1/wigsLPFWWD5fd+C1JOUrqGC97iw5RfXmrfd/OCt8T9pX/CUlwc3+WAT5xkVux
6F6823Lznhq/BeEYof3REKGMThbozqYqJYugZrEXG3AQPmG7PeTX4fX1Hmy6WMnK
eyNekAIdZPgjeco/wbcO2/fN6MNdUi5+d5Vqt7QwYTFnzeFZfy5lHhGzuxYyhIfs
1JOij2cHq3w7iKNPJUaTCc5MStntNDVJZc0bb6yXR07EDo9bnQgmT24AtWc1Gb71
6xUyHF1OE+Bxd6DlcEwTNFcB0PDO/bzvkBX4GgqqEw2tYdt8y40f419joERwUD10
afULhcxzw5P/Ohq5DQn+W6tWQF3MdJAHfAlbVxJEK64NeJNpibRy3YIU9HxsbBqU
tfqT2LtWKPoVVU3yHQoiVfoiQ7qDsW090hf9ogD2PImx0rzJv7PAaoL3oBHv83Gs
+AW79wc0a7OCXNjWRbXhhC7PJmx9VUwLTxAdB8kV9l61n6UtMoM=
=8Obc
-----END PGP SIGNATURE-----

--zj5rbwgmj3kfz3pc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190424205044.ll3rsu3hhfwxrxof>