php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3518 mysql_connect crashes
Submitted: 2000-02-17 15:22 UTC Modified: 2000-07-22 19:55 UTC
From: yannis at pathfinder dot gr Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.14 OS: Linux 2.2.14
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yannis at pathfinder dot gr
New email:
PHP Version: OS:

 

 [2000-02-17 15:22 UTC] yannis at pathfinder dot gr
Hello,
I have a php script in which mysql_connect seems to crash.
By saying 'crash' I mean that the execution of the script
is stopped while executing mysql_connect, leaving no chance to catch any exception (using 'or die()..' for example).
mysql_connect does not return at all.
the same mysql_connect statement has been used many many
times in many many scripts, only in this specific one
I experience the problem.
The other strange thing in this case is that if I press
the "reload" button of the browser, there is a (small)
possibility that the bug will not occure (!?)
I can say that in most times I load the page, I get
mysql_connect crashed, but I believe that which of the
two will happen is random.
I was using php4.0b3. I tried php3.0.14 (I compiled php and apache) but nothing changed.
I have check the 'bad' script again and again and again
but I can't find something that makes it different from
all the others (which work fine!).
I have not logical explanation.. if someone has, please
let me know...

--Yannis Tsakiris
yannis@pathfinder.gr


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-22 19:42 UTC] mrobinso at cvs dot php dot net
Please upgrade to a newer version of php, and reopen if
the problem persists. If so, please include versions
of php/mysql in use, the configure line for php, and the
shortest possible snippet of code that reproduces the
problem.
 [2000-07-22 19:55 UTC] eschmid at cvs dot php dot net
Mike forgot to close
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 10:01:32 2024 UTC