Bug #75676 [NEW]: Segmentation fault in sapi-> php handler
| From: | zala dot lucian at gmail dot com | Date: | Wed, 13 Dec 2017 15:09:50 +0000 |
| Subject: | Bug #75676 [NEW]: Segmentation fault in sapi-> php handler | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-213084@lists.php.net to get a copy of this message | ||
From: zala dot lucian at gmail dot com
Operating system: linux
PHP version: 7.0.26
Package: Apache2 related
Bug Type: Bug
Bug description:Segmentation fault in sapi-> php handler
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 bug report at https://bugs.php.net/bug.php?id=75676&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75676&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75676&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75676&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75676&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75676&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75676&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75676&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75676&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75676&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75676&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75676&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75676&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75676&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75676&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75676&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75676&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75676&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75676&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75676&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75676&r=mysqlcfg