php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43303 IIS7 - function mysql_connect() PHP has encountered an Access Violation at
Submitted: 2007-11-15 04:31 UTC Modified: 2007-11-24 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: fcuadrado at estudioquadra dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 5.2.5 OS: Windows Vista (Windows 6.0.6000)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-11-15 04:31 UTC] fcuadrado at estudioquadra dot com
Description:
------------
I Have this error when I try to connect with MySQL (v.5.1) (php 5.2, IIS 7, Windows Vista)

PHP has encountered an Access Violation at 038FAB4A

Obviusly, I don't think that this number means something. It's a very original mem address, I can't find it in Google-yahoo. =)

Here the code to reproduce this error:

===========
<?
$link = mysql_connect('localhost', 'root', 'password');
?>
===========

Important: Recently I uninstall MySQL Server, and I get the same error.


Reproduce code:
---------------
===========
<?
$link = mysql_connect('localhost', 'root', 'password');
?>
===========

Expected result:
----------------
Connect to mysql.

Actual result:
--------------
Only: "PHP has encountered an Access Violation at 038FAB4A"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-15 22:49 UTC] jani@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


 [2007-11-16 03:01 UTC] fcuadrado at estudioquadra dot com
Well, I can't get the debbug trace because when I execute the crass.php script from the cmd (shell) php don't crash. Works fine.

When I go to browser and execute the same code, process "php.exe" don't show in the "process view" and I can't create a rule on Dbgsvc.

- What process I need to follow in order to find the crash?

Thanks.
 [2007-11-16 12:40 UTC] jani@php.net
Are you by any chance using ISAPI module with IIS? Are you aware that there is much better FastCGI support for it nowadays? (And that's preferred, any ISAPI related bugs will never get fixed..)
 [2007-11-24 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: Wed May 08 04:01:31 2024 UTC