php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76799 apache server crached and restarted
Submitted: 2018-08-27 08:21 UTC Modified: 2018-11-18 22:34 UTC
From: hubaishan at outlook dot com Assigned: cmb (profile)
Status: Not a bug Package: Apache related
PHP Version: 7.1.21 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hubaishan at outlook dot com
New email:
PHP Version: OS:

 

 [2018-08-27 08:21 UTC] hubaishan at outlook dot com
Description:
------------
When running phpBB installer (phpBB3/install/app.php) version 3.2.2 with Apache server ( tested in 2.4.33 x64 and 2.4.34 x64 Haus Windows builds) and php 7.1.x or 7.2.x Apache server restarted for 10 times this is the Apache error log:

[Mon Aug 27 10:21:03.071171 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:03.071171 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:03.071171 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:03.071171 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 6684
[Mon Aug 27 10:21:03.477443 2018] [mpm_winnt:notice] [pid 6684:tid 540] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:15.868748 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 6684 exited with status 255 -- Restarting.
[Mon Aug 27 10:21:15.962502 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:15.962502 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:15.962502 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:15.962502 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 4960
[Mon Aug 27 10:21:16.337522 2018] [mpm_winnt:notice] [pid 4960:tid 620] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:21.728410 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 4960 exited with status 255 -- Restarting.
[Mon Aug 27 10:21:21.806537 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:21.806537 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:21.806537 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:21.806537 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 19068
[Mon Aug 27 10:21:22.181560 2018] [mpm_winnt:notice] [pid 19068:tid 556] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:36.604140 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 19068 exited with status 3221225725 -- Restarting.
[Mon Aug 27 10:21:36.697892 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:36.697892 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:36.697892 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:36.697892 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 16084
[Mon Aug 27 10:21:37.088536 2018] [mpm_winnt:notice] [pid 16084:tid 544] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:39.807421 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 16084 exited with status 3221225725 -- Restarting.
[Mon Aug 27 10:21:39.885548 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:39.885548 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:39.885548 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:39.901174 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 3680
[Mon Aug 27 10:21:40.276194 2018] [mpm_winnt:notice] [pid 3680:tid 612] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:43.541981 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 3680 exited with status 3221225725 -- Restarting.
[Mon Aug 27 10:21:43.635733 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:43.635733 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:43.635733 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:43.651357 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 17820
[Mon Aug 27 10:21:44.042004 2018] [mpm_winnt:notice] [pid 17820:tid 564] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:47.182786 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 17820 exited with status 3221225725 -- Restarting.
[Mon Aug 27 10:21:47.339043 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:47.339043 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:47.339043 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:47.339043 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 17388
[Mon Aug 27 10:21:47.745315 2018] [mpm_winnt:notice] [pid 17388:tid 592] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:50.729831 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 17388 exited with status 3221225725 -- Restarting.
[Mon Aug 27 10:21:50.823584 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:50.823584 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:50.823584 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:50.823584 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 3532
[Mon Aug 27 10:21:51.198603 2018] [mpm_winnt:notice] [pid 3532:tid 152] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:56.558242 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 3532 exited with status 3221225725 -- Restarting.
[Mon Aug 27 10:21:56.636369 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:56.636369 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:56.636369 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:56.636369 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 12792
[Mon Aug 27 10:21:56.982836 2018] [mpm_winnt:notice] [pid 12792:tid 576] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:21:59.904854 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 12792 exited with status 255 -- Restarting.
[Mon Aug 27 10:21:59.982982 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:21:59.982982 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:21:59.982982 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:21:59.982982 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 15072
[Mon Aug 27 10:22:00.404880 2018] [mpm_winnt:notice] [pid 15072:tid 560] AH00354: Child: Starting 64 worker threads.
[Mon Aug 27 10:22:05.764516 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00428: Parent: child process 15072 exited with status 3221225725 -- Restarting.
[Mon Aug 27 10:22:05.858270 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00455: Apache/2.4.34 (Win64) PHP/7.2.9 configured -- resuming normal operations
[Mon Aug 27 10:22:05.858270 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00456: Server built: Jul 10 2018 09:37:36
[Mon Aug 27 10:22:05.858270 2018] [core:notice] [pid 8176:tid 536] AH00094: Command line: 'bin\\Apache24\\bin\\httpd.exe -d D:/web_server/bin/Apache24 -f D:\\web_server\\bin\\confs\\httpd_php72.conf'
[Mon Aug 27 10:22:05.858270 2018] [mpm_winnt:notice] [pid 8176:tid 536] AH00418: Parent: Created child process 5212
[Mon Aug 27 10:22:06.233290 2018] [mpm_winnt:notice] [pid 5212:tid 556] AH00354: Child: Starting 64 worker threads.
 
This error does not occur in PHP built-in server or nginx with fastCGI, occurs only in Apache with php7apache24 module

the script crashes before line 36 in (phpBB3/vendor/composer/autoload_real.php) 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-27 20:54 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2018-08-27 20:54 UTC] ab@php.net
Thanks for the report. Please check whether you reproduce same failures with 7.2, as there was some substantial thread safety fixes there. If there are still failures with 7.2, please post a backtrace and/or preferrably a reproduce case.

Thanks.
 [2018-10-03 14:25 UTC] hubaishan at outlook dot com
The bug was solved by upgrading composer to 1.7.2, phpBB used composer 1.0.0beta2 after upgrading composer and regenerate autload files every thing run ok
 [2018-11-18 22:34 UTC] cmb@php.net
-Status: Feedback +Status: Not a bug -Assigned To: +Assigned To: cmb
 [2018-11-18 22:34 UTC] cmb@php.net
Thanks. Closing as not a bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 01:01:28 2024 UTC