Bug #75676 [Opn->Csd]: Segmentation fault in sapi-> php handler
| From: | zala dot lucian at gmail dot com | Date: | Fri, 15 Dec 2017 14:07:59 +0000 |
| Subject: | Bug #75676 [Opn->Csd]: Segmentation fault in sapi-> php handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-213116@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75676&edit=1
ID: 75676
User updated by: zala dot lucian at gmail dot com
Reported by: zala dot lucian at gmail dot com
Summary: Segmentation fault in sapi-> php handler
-Status: Open
+Status: Closed
Type: Bug
Package: Apache2 related
Operating System: linux
PHP Version: 7.0.26
Block user comment: N
Private report: N
New Comment:
Fixed by upgrading to apache 2.4
Previous Comments:
------------------------------------------------------------------------
[2017-12-13 15:09:47] zala dot lucian at gmail dot com
Description:
------------
Cross-compiled for ARM architecture
(php 5,3.6 works - we need to upgrade to php7)
Apache version: 2.2.32
PHP version: 7.0.9 and 7.0.27
OpenSSL versio: 1.0.0u-dev
we can't use php > 7.1 because of openSSL version constrain
Logs:
[Wed Dec 13 15:44:00 2017] [info] mod_ssl/2.2.32 compiled against Server: Apache/2.2.32, Library:
OpenSSL/1.0.0u-dev
[Wed Dec 13 15:44:03 2017] [notice] Apache/2.2.32 (Unix) mod_ssl/2.2.32 OpenSSL/1.0.0u-dev PHP/7.0.9
configured -- resuming normal operations
[Wed Dec 13 15:44:03 2017] [info] Server built: May 11 2017 14:00:39
[Wed Dec 13 15:44:07 2017] [notice] child pid 25632 exit signal Segmentation fault (11)
[Wed Dec 13 15:44:42 2017] [notice] child pid 25633 exit signal Segmentation fault (11)
[Wed Dec 13 15:44:42 2017] [notice] child pid 25661 exit signal Segmentation fault (11)
[Wed Dec 13 15:44:44 2017] [notice] child pid 25700 exit signal Segmentation fault (11)
#0 php_handler (r=0x0) at /home/user/build/php
7.0.9/sapi/apache2handler/sapi_apache2.c:559
#1 0x0003de8c in ap_run_handler (r=0x25a518) at config.c:157
#2 0x00040d90 in ap_invoke_handler (r=0x25a518) at config.c:376
#3 0x0006bdbc in ap_process_request (r=0x25a518) at http_request.c:298
#4 0x00068eac in ap_process_http_connection (c=0x254698) at http_core.c:190
#5 0x00044778 in ap_run_process_connection (c=0x254698) at connection.c:43
#6 0x00083bf8 in child_main (child_num_arg=<optimized out>) at prefork.c:667
#7 0x00083f0c in make_child (s=0xbb758, slot=3) at prefork.c:768
#8 0x0008482c in ap_mpm_run (_pconf=<optimized out>, plog=<optimized out>,
s=<optimized out>) at prefork.c:903
#9 0x0002a678 in main (argc=-1096094684, argv=0xbeaaec44) at main.c:753
Issue seems to be corrupted request_rec (r) in php_handler.
Any idea what can lead to this kind of issue?
Thanks,
Lucian
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75676&edit=1