php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48943 Connection Reset
Submitted: 2009-07-16 12:49 UTC Modified: 2009-07-17 12:17 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: guillermog at tricuspide dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.3.0 OS: Windows 7 RC
Private report: No CVE-ID: None
 [2009-07-16 12:49 UTC] guillermog at tricuspide dot com
Description:
------------
I have a web page with several iframes and iterations on rows from a mysql database.

The problem is that when I load the page the iframes will show "Connection Reset" in Firefox like if the server was overloaded.

Besides, in Apache's error.log the following error is shown:
Parent: child process exited with status 255

The same happens in 1 of 2 times if I load the page alone (not as an iframe). The Iframe prints several rows (maybe 1000, from a mysql table) but just after finishing the Connection is Reset

The system works perfectly up to 5.2.9 but doesnt works with 5.3.0 nor 5.3.1-dev, this is why I thing is a php5.3-related problem.

I'm sorry but i could not reproduce this problem in a short script.

Windows 7 RC
Apache 2.2.11

Expected result:
----------------
Page loaded

Actual result:
--------------
Connection Reset by server

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-07-16 13:01 UTC] jani@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.



 [2009-07-16 13:22 UTC] guillermog at tricuspide dot com
I really privided all the information I have. I think this is a real 
problem.

Do you need anything else in specific?

I really want to help to have this solved!
 [2009-07-16 13:28 UTC] jani@php.net
You need to come up with a simple script that shows the problem. Most likely it has to do with mysql stuff. Search this bug db for mysql* related issues for PHP 5.3 and you'll propably find the real problem.
 [2009-07-16 13:56 UTC] guillermog at tricuspide dot com
Thanks Jani,

I debugged my script trying to find if there's any command that could 
make this happen. I could isolated the problem so the code that 
reproduces the error is:

<?
	$dbh=mysql_connect ("localhost", "root", "mysqluser") or die 
('I cannot connect to the database because');
	mysql_select_db ("bbbac_globaldata") or die( "Unable to select 
database");
	
	
	mysql_close();

?>

Comment out mysql_close() and no error will happen.

Guillermo
 [2009-07-16 14:13 UTC] guillermog at tricuspide dot com
In brief, if no link Identifier is given to mysql_close() the function 
makes apache crash.

regards,
Guillermo
 [2009-07-17 12:17 UTC] jani@php.net
So this is same bug as bug #48754 -> bogus.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 00:01:26 2025 UTC