php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30212 apache crash when mysql_close() more than one time
Submitted: 2004-09-23 17:24 UTC Modified: 2004-09-28 22:45 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: sanry at now dot net dot cn Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.9RC3 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: sanry at now dot net dot cn
New email:
PHP Version: OS:

 

 [2004-09-23 17:24 UTC] sanry at now dot net dot cn
Description:
------------
I use php4.3.8 with every thing ok ,
but when I upgrade to php4.3.9 
it will crash with no error in log.
so it change the loglevel to errors instead of crit 
,but still no thing .

it seems apache crash when mysql_close() more than one time.



Reproduce code:
---------------
[Thu Sep 23 23:08:10 2004] [notice] Apache/2.0.50 (Unix) mod_ssl/2.0.50 OpenSSL/0.9.7d mod_jk2/2.0.4 PHP/4.3.9 configured -- resuming normal operations
[Thu Sep 23 23:08:11 2004] [notice] caught SIGTERM, shutting down
[Thu Sep 23 23:08:14 2004] [notice] Apache/2.0.50 (Unix) mod_ssl/2.0.50 OpenSSL/0.9.7d mod_jk2/2.0.4 PHP/4.3.9 configured -- resuming normal operations
[Thu Sep 23 23:09:45 2004] [error] shm.create(): error creating shm 2 No such file or directory
[Thu Sep 23 23:09:45 2004] [error] shm.create(): error creating shm /usr/local/apache2/logs/shm.file
[Thu Sep 23 23:09:45 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Sep 23 23:09:45 2004] [notice] Apache/2.0.50 (Unix) mod_ssl/2.0.50 OpenSSL/0.9.7d mod_jk2/2.0.4 PHP/4.3.9 configured -- resuming normal operations
[Thu Sep 23 23:09:45 2004] [error] [client 220.128.3.2] File does not exist: /liusra2/todayisp.com/web/scp/banner, referer: http://www.jst.idv.tw/six-new.htm
[Thu Sep 23 23:09:45 2004] [error] [client 211.98.28.108] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:09:45 2004] [error] [client 139.175.57.116] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:09:46 2004] [error] [client 61.51.135.94] File does not exist: /liusra2/now.net.cn/web/www/images/ie.css, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:09:46 2004] [error] [client 220.128.3.3] File does not exist: /liusra2/todayisp.com/web/scp/banner, referer: http://www.jst.idv.tw/six-new.htm
[Thu Sep 23 23:09:46 2004] [error] [client 220.128.3.2] File does not exist: /liusra2/todayisp.com/web/scp/banner, referer: http://www.jst.idv.tw/six-new.htm
[Thu Sep 23 23:09:46 2004] [error] [client 61.51.135.94] File does not exist: /liusra2/now.net.cn/web/www/share/v6_header_spirits.gif, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:09:46 2004] [error] [client 219.133.190.49] File does not exist: /liusra2/now.net.cn/web/www/fjt/&nbsp
[Thu Sep 23 23:09:47 2004] [error] [client 61.51.135.94] File does not exist: /liusra2/now.net.cn/web/www/share/bar_bg.jpg, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:09:47 2004] [error] [client 61.51.135.94] File does not exist: /liusra2/now.net.cn/web/www/images/fron.jpg, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:09:47 2004] [error] [client 61.51.135.94] File does not exist: /liusra2/now.net.cn/web/www/share/v6_foot_bg.gif, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:09:47 2004] [error] [client 61.51.135.94] File does not exist: /liusra2/now.net.cn/web/www/share/v6_foot_logo.gif, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:09:57 2004] [error] [client 202.108.1.14] File does not exist: /liusra2/todayisp.com/web/www/share/fjt.css
[Thu Sep 23 23:09:57 2004] [error] [client 202.108.1.14] File does not exist: /liusra2/todayisp.com/web/www/share/fjt.css
[Thu Sep 23 23:10:03 2004] [error] [client 65.54.188.133] File does not exist: /liusra2/todayisp.com/web/scp/robots.txt
[Thu Sep 23 23:10:07 2004] [error] [client 211.75.91.83] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:10:10 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/net.cn/web/now/favicon.ico
[Thu Sep 23 23:10:10 2004] [error] [client 219.130.184.100] File does not exist: /liusra2/now.net.cn/web/www/news/images/space.gif, referer: http://www.now.net.cn/news/MessView.net?IDMessage=10256
[Thu Sep 23 23:10:18 2004] [error] [client 211.75.91.83] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:10:19 2004] [error] [client 220.184.133.85] File does not exist: /liusra2/todayisp.com/web/scp/gif, referer: http://www2.tianyaclub.com/new/TechForum/Content.asp?idWriter=0&Key=0&idItem=16&idArticle=540922
[Thu Sep 23 23:10:23 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/net.cn/web/now/favicon.ico
[Thu Sep 23 23:10:25 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/images/space.gif, referer: http://www.todaynic.com/admin/?PHPSESSID=80ff0ea257cb2029a103bb0f0cafef43
[Thu Sep 23 23:10:25 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/favicon.ico
[Thu Sep 23 23:12:34 2004] [error] shm.create(): error creating shm 2 No such file or directory
[Thu Sep 23 23:12:34 2004] [error] shm.create(): error creating shm /usr/local/apache2/logs/shm.file
[Thu Sep 23 23:12:34 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Sep 23 23:12:34 2004] [notice] Apache/2.0.50 (Unix) mod_ssl/2.0.50 OpenSSL/0.9.7d mod_jk2/2.0.4 PHP/4.3.8 configured -- resuming normal operations
[Thu Sep 23 23:12:38 2004] [error] [client 139.175.57.116] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/
[Thu Sep 23 23:12:39 2004] [error] [client 163.17.64.123] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:12:39 2004] [error] [client 61.145.112.44] File does not exist: /liusra2/com/web/todaynic/favicon.ico
[Thu Sep 23 23:12:40 2004] [error] [client 220.128.3.3] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php?sid=vcShSH6D
[Thu Sep 23 23:12:41 2004] [error] [client 220.128.3.85] File does not exist: /liusra2/todayisp.com/web/scp/banner, referer: http://www.jst.idv.tw/six-new.htm
[Thu Sep 23 23:12:42 2004] [error] [client 220.128.3.82] File does not exist: /liusra2/todayisp.com/web/scp/banner, referer: http://www.jst.idv.tw/six-new.htm
[Thu Sep 23 23:12:47 2004] [error] [client 61.145.112.44] File does not exist: /liusra2/com/web/todaynic/favicon.ico
[Thu Sep 23 23:12:48 2004] [error] [client 220.128.3.3] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:12:58 2004] [error] [client 220.128.3.85] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:12:58 2004] [error] [client 220.128.3.83] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:12:59 2004] [error] [client 219.139.248.169] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.shuijunyi.com/gb/Soft/Index.asp
[Thu Sep 23 23:13:04 2004] [error] [client 209.237.238.182] File does not exist: /liusra2/com/web/bytescn/robots.txt
[Thu Sep 23 23:13:05 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/image, referer: http://www.todaynic.com/admin/product.net?pageNo=10
[Thu Sep 23 23:13:05 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/images/space.gif, referer: http://www.todaynic.com/admin/product.net?pageNo=10
[Thu Sep 23 23:13:05 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/favicon.ico
[Thu Sep 23 23:13:13 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/image, referer: http://www.todaynic.com/admin/product.net?KEY=1@0
[Thu Sep 23 23:13:13 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/images/space.gif, referer: http://www.todaynic.com/admin/product.net?KEY=1@0
[Thu Sep 23 23:13:13 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/favicon.ico
[Thu Sep 23 23:13:15 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/images/ie.css, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:13:15 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/v6_header_spirits.gif, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:13:15 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/images/fron.jpg, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:13:16 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/v6_foot_logo.gif, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:13:16 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/image, referer: http://www.todaynic.com/admin/product.net?KEY=
[Thu Sep 23 23:13:16 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/images/space.gif, referer: http://www.todaynic.com/admin/product.net?KEY=
[Thu Sep 23 23:13:16 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/favicon.ico
[Thu Sep 23 23:13:16 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/bar_bg.jpg, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:13:16 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/v6_foot_bg.gif, referer: http://www.now.net.cn/free.net
[Thu Sep 23 23:13:19 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/image, referer: http://www.todaynic.com/admin/product.net?pageNo=10
[Thu Sep 23 23:13:19 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/images/space.gif, referer: http://www.todaynic.com/admin/product.net?pageNo=10
[Thu Sep 23 23:13:19 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/favicon.ico
[Thu Sep 23 23:13:23 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/images/ie.css, referer: http://cache.baidu.com/c?word=%C3%E2%B7%D1%3B%BF%D5%BC%E4%3B%C9%EA%C7%EB&url=http%3A//www%2Enow%2Enet%2Ecn/free%2Enet&b=4&user=baidu
[Thu Sep 23 23:13:23 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/v6_header_spirits.gif, referer: http://cache.baidu.com/c?word=%C3%E2%B7%D1%3B%BF%D5%BC%E4%3B%C9%EA%C7%EB&url=http%3A//www%2Enow%2Enet%2Ecn/free%2Enet&b=4&user=baidu
[Thu Sep 23 23:13:24 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/v6_foot_logo.gif, referer: http://cache.baidu.com/c?word=%C3%E2%B7%D1%3B%BF%D5%BC%E4%3B%C9%EA%C7%EB&url=http%3A//www%2Enow%2Enet%2Ecn/free%2Enet&b=4&user=baidu
[Thu Sep 23 23:13:24 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/images/fron.jpg, referer: http://cache.baidu.com/c?word=%C3%E2%B7%D1%3B%BF%D5%BC%E4%3B%C9%EA%C7%EB&url=http%3A//www%2Enow%2Enet%2Ecn/free%2Enet&b=4&user=baidu
[Thu Sep 23 23:13:24 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/bar_bg.jpg, referer: http://cache.baidu.com/c?word=%C3%E2%B7%D1%3B%BF%D5%BC%E4%3B%C9%EA%C7%EB&url=http%3A//www%2Enow%2Enet%2Ecn/free%2Enet&b=4&user=baidu
[Thu Sep 23 23:13:24 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/image, referer: http://www.todaynic.com/admin/product.net?orderby=idHostP&ord=DESC&pageNo=10
[Thu Sep 23 23:13:24 2004] [error] [client 221.194.245.131] File does not exist: /liusra2/now.net.cn/web/www/share/v6_foot_bg.gif, referer: http://cache.baidu.com/c?word=%C3%E2%B7%D1%3B%BF%D5%BC%E4%3B%C9%EA%C7%EB&url=http%3A//www%2Enow%2Enet%2Ecn/free%2Enet&b=4&user=baidu
[Thu Sep 23 23:13:24 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/images/space.gif, referer: http://www.todaynic.com/admin/product.net?orderby=idHostP&ord=DESC&pageNo=10
[Thu Sep 23 23:13:24 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/favicon.ico
[Thu Sep 23 23:13:30 2004] [error] [client 220.128.3.85] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:13:30 2004] [error] [client 220.128.3.82] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:13:31 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/admin/images/space.gif, referer: http://www.todaynic.com/admin/product.net?pageNo=8&orderby=idHostP&ord=DESC
[Thu Sep 23 23:13:31 2004] [error] [client 218.14.141.117] File does not exist: /liusra2/todaynic.com/web/www/favicon.ico
[Thu Sep 23 23:13:36 2004] [error] [client 220.128.3.85] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:13:36 2004] [error] [client 220.128.3.82] File does not exist: /liusra2/pro.net.cn/web/www/admin, referer: http://www.ftpower.net/Discuz!/index.php
[Thu Sep 23 23:13:42 2004] [error] [client 61.145.112.44] File does not exist: /liusra2/com/web/todaynic/favicon.ico
[Thu Sep 23 23:14:01 2004] [warn] pid file /usr/local/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Sep 23 23:14:01 2004] [notice] Apache/2.0.50 (Unix) mod_ssl/2.0.50 OpenSSL/0.9.7d mod_jk2/2.0.4 PHP/4.3.8 configured -- resuming normal operations



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-28 22:45 UTC] sniper@php.net
Come up with something solid and reliable. Your bug report is absolutely useless as it is.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 02:00:02 2025 UTC