#28411 [NEW]: php crash when php timeout and mysql not exit

From: Date: Sun, 16 May 2004 05:07:27 +0000
Subject: #28411 [NEW]: php crash when php timeout and mysql not exit
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-59665@lists.php.net to get a copy of this message
From: sanry at now dot net dot cn Operating system: redhat9 PHP version: 4.3.6 PHP Bug Type: Unknown/Other Function Bug description: php crash when php timeout and mysql not exit Description: ------------ php crash when php timeout and mysql not exit We use php4.3.6 and apache2 mpm=worker this version of php is much stable than php4.3.5 but still crash when php timeout and mysql not exit and other ocassions . We are a hosting company so I can tell the the exact scripts , but seems like CGI relate or system("....") or exec("") , something like this . ( apache2 never crash when mpm=prefork) Reproduce code: --------------- Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/"C++ <-- HERE "/ at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/"C++ <-- HERE "/ at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/"C++ <-- HERE "/ at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE / at search.cgi line 250, <DB> line 5059. Unmatched ( in regex; marked by <-- HERE in m/( <-- HERE XP/ at search.cgi line 250, <DB> line 5059. Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. Nested quantifiers in regex; marked by <-- HERE in m/vc++ <-- HERE / at search.cgi line 250, <DB> line 5059. Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. [Wed May 05 18:19:01 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Wed May 05 18:19:01 2004] [notice] Apache/2.0.49 (Unix) mod_jk/1.2.5 PHP/4.3.6 configured -- resuming normal operations [Wed May 05 18:19:06 2004] [notice] child pid 4237 exit signal Bus error (7) Nested quantifiers in regex; marked by <-- HERE in m/c++ <-- HERE / at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/c++ <-- HERE / at search.cgi line 250, <DB> line 5059. [Thu May 06 18:18:44 2004] [notice] child pid 22850 exit signal Bus error (7) Trailing \ in regex m/®ð¥\/ at search.cgi line 250, <DB> line 5059. Trailing \ in regex m/®ð¥\/ at search.cgi line 250, <DB> line 5059. [Sat May 08 15:34:46 2004] [notice] child pid 30255 exit signal Bus error (7) Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. [Sun May 09 08:07:09 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sun May 09 08:07:10 2004] [notice] Apache/2.0.49 (Unix) mod_jk/1.2.5 PHP/4.3.6 configured -- resuming normal operations Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE .iso/ at search.cgi line 250, <DB> line 5059. Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed. Trailing \ in regex m/¤E¤E¯«¥\/ at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/C++ <-- HERE BuilderX/ at search.cgi line 250, <DB> line 5059. Nested quantifiers in regex; marked by <-- HERE in m/c++ <-- HERE / at search.cgi line 250, <DB> line 5059. chown: `fowoocom.1000': invalid user chown: `fowoocom.1000': invalid user [Sun May 16 12:33:30 2004] [notice] child pid 2667 exit signal Bus error (7) [Sun May 16 13:00:36 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Sun May 16 13:00:36 2004] [notice] Apache/2.0.49 (Unix) mod_jk/1.2.5 PHP/4.3.6 configured -- resuming normal operations -- Edit bug report at http://bugs.php.net/?id=28411&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28411&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28411&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28411&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28411&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28411&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28411&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28411&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28411&r=support Expected behavior: http://bugs.php.net/fix.php?id=28411&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28411&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28411&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28411&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28411&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28411&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28411&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28411&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28411&r=float

« previous php.bugs (#59665) next »