#20487 [Com]: mod_php crashes under Apache 1.3.27 & MaxRequestsPerChild=infinite

From: Date: Thu, 21 Nov 2002 12:14:18 +0000
Subject: #20487 [Com]: mod_php crashes under Apache 1.3.27 & MaxRequestsPerChild=infinite
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25414@lists.php.net to get a copy of this message
ID: 20487 Comment by: DeathmasterIII@aon.at Reported By: dmitry@koteroff.ru Status: Open Bug Type: Reproducible crash Operating System: Windows 2000 PHP Version: 4.3.0RC1 New Comment: The more frames you load the earlier the bug occours!!!!! I've tried with 4 frames -> 2xReload and it crashes!!!!! Previous Comments: ------------------------------------------------------------------------ [2002-11-20 22:51:00] gambier.olivier@free.fr Seems to be Apache version independent. Same crashes on same test cases reproduced with: Apache 1.3.27, 2.0.42 and 2.0.43. Windows 2000 SP3 Mozilla 1.1 Standart php.ini and httpd.conf. Also I do had the same problems whatever the value of MaxRequestsPerChild in httpd.conf. This is new to 4.3.0RC1. Never had such things with 4.2.3. Thanks. ------------------------------------------------------------------------ [2002-11-20 08:03:19] dmitry@koteroff.ru Sorry, maybe this bug is hard-reproducible in other machines. Well, then you may use the following script: /index.html: ------------ <frameset rows="*,*"> <frame src=/test.php> <frame src=/test.php> </frameset> /test.php: ---------- <?sleep(1)?> Apache 1.3.27, Windows 2000 SP2, 4.3.0RC1. Load http://localhost/index.html, then press Reload button. You will see GP Fault message immediately. See that you need at least TWO frames in frameset to emulate simultaneous requests. NEXT (!) Reload will kick ass. ------------------------------------------------------------------------ [2002-11-20 07:39:28] dmitry@koteroff.ru Just get Apache 1.2.27, install PHP as Apache module, open http://localhost and press Reload button 20 times quickly (you may also hold Ctrl+R, it crashes too). You will see GP Fault message. No extensions are loaded in php.ini, no Apache module used instead of mod_php. How can I say more? ------------------------------------------------------------------------ [2002-11-19 20:00:55] nicos@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-11-18 14:54:33] dmitry@koteroff.ru When I use MaxRequestsPerChild 0 (e.g. infinite) in httpd.conf, sometimes Apache crashes. I have tested this bug on framed page (it is phpMyAdmin, two frames in frameset). When I use only one page (without frames), I have to press Reload button (F5 in Internet Explorer) many times (I rather hold it) to produce crash. I think something's wrong in multithreaded code in php4apache.dll: it crashes when two requests occurs at the SAME TIME (often, but not always). Tere is no bug in 4.2.3, but I cannot use php4apache.dll from 4.2.3 for 4.3.0 - it crashes immediately. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20487&edit=1

« previous php.bugs (#25414) next »