Bug #71764 [Com]: LDAP and PDO_OCI causing segfault in Apache
Edit report at https://bugs.php.net/bug.php?id=71764&edit=1
ID: 71764
Comment by: perske at uni-muenster dot de
Reported by: sking at psc dot ac dot uk
Summary: LDAP and PDO_OCI causing segfault in Apache
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: SLES 11
PHP Version: 7.0.4
Block user comment: N
Private report: N
New Comment:
I am hit by the same bug (same stack trace) with PHP 7.1.4, Oracle Instant Client 12.1 on CentOS 7
with OpenLDAP 2.4.40.
Previous Comments:
------------------------------------------------------------------------
[2016-08-10 10:49:52] ere dot maijala at helsinki dot fi
@requinix: sorry, I thought it would be quite related since both involve PDO_OCI.
------------------------------------------------------------------------
[2016-08-10 10:47:39] ere dot maijala at helsinki dot fi
It may be related that after a graceful restart of Apache, phpinfo() reports a different zlib
version being linked. In my case before graceful restart:
Compiled Version => 1.2.7
Linked Version => 1.2.7
After graceful restart:
Compiled Version => 1.2.7
Linked Version => 1.2.3.f-ora-v2
------------------------------------------------------------------------
[2016-08-10 09:18:21] requinix@php.net
@ere: That code has nothing to do with this. If you are getting a crash then you need to open a new
bug report. https://bugs.php.net/how-to-report.php
------------------------------------------------------------------------
[2016-08-10 09:02:18] ere dot maijala at helsinki dot fi
Happens also with using GD functions to create a PNG. I can reproduce on CentOS 7 with PHP 7.0.9 and
Apache 2.4.6 with the following script:
-----------------
<?php
header('Content-Type: image/png');
$img = imagecreatetruecolor(100, 100);
imagepng($img);
------------------------------------------------------------------------
[2016-03-10 12:15:06] sking at psc dot ac dot uk
I have upgraded my OpenLDAP libraries from the version that comes with my distro (2.4.26) to the
latest version (2.4.44). This seems to fix things (fingers crossed!)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71764
--
Edit this bug report at https://bugs.php.net/bug.php?id=71764&edit=1
Thread (8 messages)