|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35457 mysqli_report() crashes when there is an error in the query
Submitted: 2005-11-28 18:45 UTC Modified: 2005-12-07 01:00 UTC
From: David_Canos at ono dot com Assigned: georg (profile)
Status: No Feedback Package: MySQLi related
PHP Version: 5.1.1 OS: Windows 2000
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.
Block user comment
Status: Assign to:
Bug Type:
From: David_Canos at ono dot com
New email:
PHP Version: OS:


 [2005-11-28 18:45 UTC] David_Canos at ono dot com
using: apache 2.0.49, mysql 5.0.16, php 5.1.1
When using mysqli->report() with the flags MYSQLI_REPORT_ALL or MYSQLI_REPORT_ERROR
Apache crashes if ocurres an error in the query.

It seems to be very close to that bug

Reproduce code:

$mysqli = new mysqli("correctHost", "correctUsername", "correctPasswd", "correctSchema");

/* apache crashes if a query is not right, ie:*/
$result=$mysqli->query("SELECT * FROM IncorrectTable");


Expected result:
some error message.

Actual result:
Windows shows an error message and shutdown Apache. And order you to restart Apache.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-28 18:53 UTC]
Are you able to reproduce it on a *nix OS and get the GDB backtrace ?
 [2005-11-29 16:14 UTC] David_Canos at ono dot com
is not possible for me to reproduce the bug on a *nix OS until next week. sorry
 [2005-11-29 16:22 UTC]
Assigned to the maintainer.
 [2005-11-29 18:50 UTC]
When error occurs exception is triggered and leads to immidiate termination of the script since it is left uncaught.
I do not see a bug on Linux.
 [2005-12-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 15 05:01:29 2024 UTC