ID:               48943
 User updated by:  guillermog at tricuspide dot com
 Reported By:      guillermog at tricuspide dot com
 Status:           Open
 Bug Type:         *General Issues
 Operating System: Windows 7 RC
 PHP Version:      5.3.0
 New Comment:

In brief, if no link Identifier is given to mysql_close() the function

makes apache crash.

regards,
Guillermo


Previous Comments:
------------------------------------------------------------------------

[2009-07-16 13:56:17] 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 13:28:03] j...@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:22:00] 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:01:44] j...@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 12:49:07] 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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48943&edit=1

Reply via email to