Bug #71764 [Com]: LDAP and PDO_OCI causing segfault in Apache
| From: | sking at psc dot ac dot uk | Date: | Tue, 25 Apr 2017 07:42:56 +0000 |
| Subject: | Bug #71764 [Com]: LDAP and PDO_OCI causing segfault in Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208772@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71764&edit=1
ID: 71764
Comment by: sking at psc dot ac dot uk
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:
And the annoying thing is that I've been running a server with PHP compiled with debug mode
enabled for a few weeks now and it won't crash. As soon as I disable debug mode, it will crash
within a day or two.
It's proving tricky to get more information on this bug.
Previous Comments:
------------------------------------------------------------------------
[2017-04-24 17:57:59] perske at uni-muenster dot de
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.
------------------------------------------------------------------------
[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);
------------------------------------------------------------------------
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