php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6422 PHP Crashing with 4.0.2
Submitted: 2000-08-29 18:57 UTC Modified: 2000-10-20 17:14 UTC
From: brad at youreshop dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.1pl2 OS: Windows 2000 Pro
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: brad at youreshop dot com
New email:
PHP Version: OS:

 

 [2000-08-29 18:57 UTC] brad at youreshop dot com
Running Win2k with PHP 4.0.2 and MS SQL 7.0 I get the following error:

The instruction at "0x78002d15" referenced memory at "0x00000000". The memory could not be "read".

I try and debug it, but VC++ crashes.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-09 18:41 UTC] brad@php.net
The problem now only occurs when there is an error returned from the mssql_* functions.

If I do something like:

mssql_connect("SOME_WRONG_HOST","WRONG_USER","WRONG_PASS");

it won't connect, and PHP will crash.

but if I do:

@mssql_connect("SOME_WRONG_HOST","WRONG_USER","WRONG_PASS");

It just doesn't display the error, but PHP doesn't crash.
 [2000-10-20 17:14 UTC] fmk@php.net
Some errors was fixet in php 4.0.3. Please update an try again.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 17 07:03:34 2022 UTC