php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75676 Segmentation fault in sapi-> php handler
Submitted: 2017-12-13 15:09 UTC Modified: 2017-12-15 14:07 UTC
From: zala dot lucian at gmail dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 7.0.26 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zala dot lucian at gmail dot com
New email:
PHP Version: OS:

 

 [2017-12-13 15:09 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-12-15 14:07 UTC] zala dot lucian at gmail dot com
-Status: Open +Status: Closed
 [2017-12-15 14:07 UTC] zala dot lucian at gmail dot com
Fixed by upgrading to apache 2.4
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC